Skip to content

Use Object Contract ​

This contract is a test fixture, not a deployed demo contract under src/contracts.

View the code on Github ​
View other test-fixture contracts on Github ​

This contract is an example of associating a particular ability with ownership of a non-fungible token (NFT). In this case, ownership of a particular pixel NFT gives the user the ability to color that pixel. Note that the NFT must be escrowed at the time for the coloring to succeed.