NFT
Deploy your first NFT
Last updated
Was this helpful?
Deploy your first NFT
Last updated
Was this helpful?
Ref:
This support material can be used as inspiration also:
We will accomplish the following here under:
Structuring your ERC721 contract
Structuring you off-chain metadata
View your items on OpenSea
testing out the auction flow for your items.
Next, we'll want to mint new assets to our newly-deployed ERC721 contracts! We'll mint these assets into an account that we control so that we can test the OpenSea auction flow for our items.
Enter there the Address ot your NFT-Contract
You can now see your NFT objects:
Then put in sales the NFT with the owner address
Buy it with another address
At this point, we've deployed our first smart contract on the Rinkeby network and minted some new OpenSea creatures on our contract. You should be able to visit rinkeby.opensea.io and view your new creatures as NFTs inside your wallet!
This is where off-chain metadata comes in to play! Each token identifier in your ERC721 contract will have corresponding metadata URI that returns additional important information about the item, such as the item's name, image, description, etc
So to change your MetaData of your NFT, change the creature.sol and use another URL corresponding to your API
Step3: Embed on your Web Site a NFT
is the latest standard in non-fungible tokens. ERC-721 defines a minimum interface a smart contract must implement to allow unique tokens to be managed, owned, and traded.
// ! you need to have a special version of node.js to make their script work: See here to change to v12.18.4 of node.js supported:
Project Git: (as illustration on OpenSea NFT platform integration)
To see NFT on OpenSea testnet:
Then Visit a Market place to add you NFT Inside of it:
Look at the transaction:
Creature attribute are defined in
That URL is defined on the Creature.sol:
The default metadata for the creatures is provided by https://opensea-creatures-api.herokuapp.com/api/creature/{token_id}
, which is set . Next, you'll need create your custom metadata API.
Pallet named Unique that Gavin is developping: