Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: init arweave uploader using turbo sdk and ar.io bundling infrastructure #152

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

fedellen
Copy link

@fedellen fedellen commented Oct 3, 2024

The current bundling and uploading implementation shows that support for Arweave is deprecated. This PR adds a more future proof Arweave compatible uploader using Turbo SDK and relying on AR.IO bundling infrastructure

Copy link

changeset-bot bot commented Oct 3, 2024

🦋 Changeset detected

Latest commit: 4ab10fc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@metaplex-foundation/umi-uploader-arweave-via-turbo Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Oct 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
umi-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 7:12pm

@fedellen fedellen changed the title feat: init arweave uploader using turbo sdk and ar.io bundling infrastrucure feat: init arweave uploader using turbo sdk and ar.io bundling infrastructure Oct 3, 2024
@fedellen
Copy link
Author

fedellen commented Nov 4, 2024

Updated this to utilize recently available Turbo Credit Sharing in order to reduce web signing requests. On upload, an ephemeral key will be created to sign each ANS-104 data item. When the upload is not free and after funding the wallet with a SOL top-up, a shareCredits action is called to give the credits to the ephemeral key -- allowing an instant approval for using the payer wallet's balance. This flow can now sign up to 2 times. Once for funding the wallet with SOL if the payer wallet does not have balance, and once for sharing credits to the ephemeral key if the upload is not free

@fedellen
Copy link
Author

Updated the arweave dev gateway here for optimistic devnet retrieval. Previous gateway (arweave.dev) has had its CDN configuration changed due to over-use. turbo.ardrive.dev will now support the optimistic data retrieval for dev-net data items.

Note: Data sent to Turbo devnet will be temporarily retrievable in the Turbo devnet gateway, but in the future they may not resolve after some allotted time -- and they should not be expected to make it to the main Arweave network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant