Skip to content

Latest commit

 

History

History

nft-master

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Open in Gitpod Docs

This smart contract serves as a generic router for standardized gNFT (gRC-721) contracts on the blockchain network. Its main function is to provide an approved list of addresses for gNFT smart contracts that have been uploaded to Gear-powered networks. Only smart contract operators can change the approved address list.

In general, this smart contract allows for the modification of an entire gNFT contract logic, the addition of new features, and the creation of new collections without sacrificing the backward compatibility. This enables a web application to dynamically load the necessary gNFTs with all updates, without requiring any additional frontend code or redeployment.

🏗️ Building

cargo b -p "nft-master*"

✅ Testing

Run all tests, except gclient ones:

cargo t -p "nft-master*" -- --skip gclient

Run all tests:

# Download the node binary.
cargo xtask node
cargo t -p "nft-master*"