Combined Token Framework Contract Package

The combined token framework uses the extended ERC-1155 standard that is supported by Blockchain App Builder.

The NFT art collection marketplace sample illustrates the use of the combined token generic framework. The sample includes a contract to represent a marketplace for buying and selling non-fungible tokens (NFTs) associated with works of art. In this sample, the NFT platform provider onboards museums who can mint (create) NFTs for artworks in the blockchain network. Consumers can then buy NFTs from the museums using Eth or ERC-20 coins. When consumers purchase NFTs, museums award loyalty tokens to their fungible token accounts. Consumers can also resell NFTs. The contract implements the methods that are required for managing token life cycles, including token initialization, account operations, role assignments, minting, transfers, and burning. It also provides notary accounts for approving minting, transfer, and burning operations, and supports compliance through daily limits and auditing procedures.

The combined token framework contract package is downloadable from the service console, and includes the following components.
  • CombinedTokenSmartContract.zip, an archive file that contains the packaged contract for deployment. You can deploy the contract from the CLI or by using the Blockchain App Builder extension for Visual Studio Code.
  • CombinedTokenWrapperAPI.zip, a Postman collection that you can use to test the APIs in the contract.
  • README.md, a step-by-step guide for working with the contract. The README.md file is included in the CombinedTokenSmartContract.zip archive file.

To get the combined token framework contract package, in the Oracle Blockchain Platform Enterprise Edition console select the Digital Assets tab and then select Combined Token Framework.