A non-fungible token (NFT) is a unique token that has an identifier which distinguishes itself from other tokens within the same token contract. At its core, there is nothing inherently special or unique with this implementation of an NFT besides the token ID. While it is commonly associated with artwork / collectibles, there are many greater utilities beyond that which have yet to be written for the Fuel Network.
Note This application implements the NFT Library and inherits its specification.
More information can be found in the NFT Library specification.
The project consists of a smart contract.
NFT
├── project
│ ├── contracts
│ │ └── NFT-contract
│ │ ├── src/main.sw
│ │ └── tests/harness.rs
│ ├── README.md
│ └── SPECIFICATION.md
├── ui
│ ├── README.md
│ └── SPECIFICATION.md
└── README.md
TODO: The user interface does not currently exist therefore its README.md and SPECIFICATION.md are empty.
In order to run the subsequent commands change into the following directory /path/to/NFT/project/<here>
.
forc build --locked
Before running the tests the programs must be compiled with the command above.
cargo test --locked