0

I am learing about Ethereum Smart Contract, NFT and ECR721 tokens with external Metadata. I know that you can updload a JSON file using IPFS and _setTokerURI to keep this URI.

My question is how to create that JSON File on the fly in the App.js and how to decode to send it to IPFS.

Could you guys give me some direction of what to google to leard this? Thanks :)

1
  • It depends, what do you want to store in said json file?
    – Julissa DC
    Apr 18, 2023 at 13:43

1 Answer 1

0

You could use Pinata SDK to interact with IPFS https://github.com/PinataCloud/Pinata-SDK#pinjsontoipfs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.