Skip to content

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

  1. Connect Wallet - Metamask
  2. Open Metamask and select Waterfall Network
  3. Go to the Remix Ide

Create Project

  1. Create new Blank Workspace on File explorer page
  2. Create contracts file WRC721.sol
  3. 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.

Compile

  1. Select WRC721.sol and go to the Solidity compiler page
  2. Click on Compile WRC721.sol button

Deploy to Waterfall Network

  1. Go to the Deploy & run transactions page
  2. Select Injected Provider - MetaMask in Environment field
  3. Click on Deploy button
  4. 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.

  1. Information about contract
  2. Mint a new token
  3. Check balance