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

NFT implementation (mint on sale + generate custom file) #211

Open
7 tasks
Tirodem opened this issue Jun 23, 2023 · 3 comments
Open
7 tasks

NFT implementation (mint on sale + generate custom file) #211

Tirodem opened this issue Jun 23, 2023 · 3 comments

Comments

@Tirodem
Copy link
Contributor

Tirodem commented Jun 23, 2023

TBD

(for now only for products with PDF digital file)

2 step process :

Mint NFT on "collectible" product sale

When I buy a digital file with "collectible" flag, on /order, I have to fill one of my BTC wallet public address for NFT mint purpose.
Once the order is paid, I can download my generic digital file (in all case).
I'll be notified by my wallet once the NFT is minted.

When I go to /claim/{product-id} instead of /product/{product-id} :

On "Claim your collectible" form, I can :

Check the signature :

Once the collectible order is paid :

  • Manage custom collectible digital file #222
    • generate QR Code with NFT address
    • generate a 1-page collectible PDF with the same format as the original product digital file
      • with the NFT QR Code
      • with the signature message filed earlier
    • merge the 1-page collectible PDF with original product digital file
    • make the file available for download on /order/{order-id}
      • display a message saying the file will be available up to a certain timestamp (order paid timestamp + 48h)
      • purge the file after 48h
@Tirodem Tirodem self-assigned this Jun 23, 2023
@Tirodem
Copy link
Contributor Author

Tirodem commented Jun 23, 2023

As seen on Discord, a RGB implementation on Nodl in on its way.
We'll discuss the topic with Michel Laurent Olga & the other and follow their progress as a symbiotic parasite to make RGB integration on Bootik easier and cheaper.

@Tirodem
Copy link
Contributor Author

Tirodem commented Jun 23, 2023

To consider : a v1 testnet on Ordinal or Counterparty (depending of the maturity and availability of nodeJS existing packages) to tease the feature and make a PoC before a v2 on test/mainnet with RGB once it's properly assimilated to Nodl hosting

@coyotte508
Copy link
Collaborator

3-5 days

@coyotte508 coyotte508 removed their assignment Oct 26, 2023
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

2 participants