WRC-721 is standard for creating smart contracts on the Waterfall, but it is focused on the creation of unique, non-fungible tokens (NFTs). WRC-721 stands for Waterfall Request for Comment 721.
Unlike WRC-20 tokens, which are fungible (interchangeable with one another), each WRC-721 token is unique and has its own distinct attributes and characteristics. This makes them ideal for representing one-of-a-kind assets, such as digital art, collectibles, and other rare or unique items.
WRC-721 smart contracts provide a set of rules and standards that ensure the interoperability and compatibility of NFTs across different platforms and applications. Some of the key features of WRC-721 smart contracts include:
- The ability to create and manage unique, non-fungible tokens
- The ability to transfer ownership of a token to another address
- The ability to retrieve information about a token's ownership and attributes
- The ability to track and verify the authenticity and provenance of a token
- The ability to create and implement custom rules and logic for token ownership and transfer
By using WRC-721 smart contracts, developers can create NFTs that are unique, verifiable, and easily traded and exchanged across different platforms and applications. This has opened up new possibilities for digital art, collectibles, and other unique assets that were previously difficult to manage and transfer on a global scale.
Deploy using Remix
- Connect Wallet - Metamask
- Open Metamask and select Waterfall Network
- Go to the Remix Ide
- Create new
- Create contracts file
- Go to https://wizard.openzeppelin.com/#erc721 page. In the Settings section, change:
Name- the name of the token,
Symbol- the symbol of the token,
Base URI- where the token metadata will be stored, checked
Auto Increment Ids. Copy the code and paste it into the contract file.
WRC721.soland go to the
- Click on
Deploy to Waterfall Network
- Go to the
Deploy & run transactionspage
Injected Provider - MetaMaskin
- Click on
- Confirm transaction in Metamask
After the contract is deployed, you can see the address of the contract and call the methods of the contract.
- Information about contract
- Mint a new token
- Check balance