Minting NFTs

MembershipNFT.json

Contract ABI: MembershipNFT.json

Testing contract address: 0x60C4420EF2FfC2DbfeD57e6D8c15E233E0f841a4

Chain Id: 5

Function name: mintNFT(recipientAddress, metadataUri)

Production Integration

How to get MetadataUri?

We are using IPNS URLs for the upgradability of minted token metadata. We’re currently maintaining a database of IPNS keys to manage the same which is centralized for now. We will make the key access decentralized in the near future.

IPNS is similar to Proxy contracts for Ethereum or domain names for websites. IPNS points to an IPFS file. When we want to update the data, we publish a new IPFS file and update the IPNS with the new IPFS address.

To get the metadata uri, you’ll have to call our backend api.

Staging curl