Hey folks,
I'm working on this NFT whose traits are decided by the chainlink VRF response.

So, vrf responds with a random number, I generate attributes to mint a nft, now these attributes are present only on chain.

But since opensea only wants off chain metadata, is there a way to bring the on chain metadata to ipfs automatically and set the correct token URIs?

Jan 4, 2022, 10:59 AM
Yes. To do it manually after minting whole collection
Jan 4, 2022, 11:01 AM
Set NFT after the minting is done
^this
Jan 4, 2022, 11:02 AM
This collection will be minted over time, so that means detecting a mint and filling data over time by the admin side?
Jan 4, 2022, 11:02 AM
I don’t think it’s possible using ipfs. U can use your own server. And after minting whole collection move metadata to ipfs
Jan 4, 2022, 11:03 AM
Contracts rarely store metadata onchain
When the NFT count is low, in the hundreds range
Jan 4, 2022, 11:11 AM
You cannot frontrun every transaction, you need to see how the price is going to change, asses the gain minus the tx fee and other fees , and then if you're at a profit then you go ahead.
Jan 4, 2022, 11:19 AM
Only advantage is immutability is guaranteed
Mint -> emit event -> listen on event -> rpc call
@abcoathup Thanks to you for the tutorial :)
Jan 4, 2022, 11:30 AM

© 2024 Draquery.com All rights reserved.