WRC-721
Overview
WRC-721 is standard for creating smart contracts on the Waterfall network, 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
Getting started
- Connect Wallet - Metamask
- Open Metamask and select Waterfall Network
- Go to the Remix Ide
Create Project
- Create new
Blank Workspace
onFile explorer
page - Create contracts file
WRC721.sol
- 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, checkedAuto Increment Ids
. Copy the code and paste it into the contract file.
Compile
- Select
WRC721.sol
and go to theSolidity compiler
page - Click on
Compile WRC721.sol
button
Deploy to Waterfall Network
- Go to the
Deploy & run transactions
page - Select
Injected Provider - MetaMask
inEnvironment
field - Click on
Deploy
button - Confirm transaction in Metamask
Testing
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