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

Mint a new image into your collection without leaving the page #52

Open
xylophonez opened this issue Oct 20, 2022 · 0 comments
Open

Mint a new image into your collection without leaving the page #52

xylophonez opened this issue Oct 20, 2022 · 0 comments

Comments

@xylophonez
Copy link
Contributor

The Collectibles tab is currently populated with images uploaded to img.arweave.dev by the user who owns the profile.

To avoid making users go to img.arweave.dev to post a new image, we should add that functionality directly to ar.page.

The code for img.arweave.dev is open sourced here.

img works by posting an image and compliant metadata to an Arweave contract. The relevant img code for inspiration is here, where you can find the contract ID and required metadata structure:

https://github.com/twilson63/permaweb-img-app/blob/atomic-tx/src/lib/deploy-path.js

Vision for the UI: a "Mint image" button on the page which triggers a modal.

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

No branches or pull requests

1 participant