Composable Non-Fungible Tokens (cNFTs)
An implementation and documentation repo for the ERC-998 standard extension to ERC-721 on the Ethereum blockchain. The purpose of this repo is to see the theory in action, to gather insights and feedback on the ERC-998 standard and to provide a working implementation of ERC998 that people can use.
Draft EIP 998: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-998.md
Here is a high-level overview of the ERC-998 standard:
Original Medium Post (code outdated):
Some follow-on Medium posts describing progress on the project:
https://medium.com/coinmonks/crypto-composables-erc-998-update-6-in-the-wild-6ece410d263d https://medium.com/coinmonks/crypto-composables-erc-998-update-5-eb0a748a9889 https://hackernoon.com/crypto-composables-erc-998-update-4-the-namening-7a05d28f3401
Clone the repo and run
npm i then
truffle test. You should see a number of tests passing.
The repo activity is mainly in
Architecture and Design
cNFTs is intended to be a standard extension to ERC-721, the Non-Fungible Token standard for Ethereum.
As an extension, Composables are Non-Fungible Tokens (ERC-721) that can inherit from a standard interface the ability to own and manage other Non-Fungible Tokens (ERC-721) or Fungible Tokens (ERC-20), or both.
The flexibility of choosing specifically what token type you will need to own and manage with your tokens is intended to keep the contract size minimal and Application Binary Interface (ABI) clean and simple.
Go to our Discord and Discourse community: NFTy Magicians. See above for links.
Matt Lockyer started the ERC998 standard and developed the initial ideas and the initial implementation of ERC998. Matt Lockyer https://medium.com/@mattdlockyer
The current implementation of ERC998 was written by Nick Mudge
People who have helped with the standard and/or implementation: