Combined Token Framework
The combined token framework uses the extended ERC-1155 standard that is supported by Blockchain App Builder.
The combined token framework supports both fungible and non-fungible tokens (NFTs) in a single smart contract, so that developers can manage multiple token types efficiently, reducing complexity and improving scalability. Blockchain App Builder extends the ERC-1155 standard to facilitate the development of applications that require a mix of token functionalities. The combined token framework also supports fractional NFTs.
- Gaming Platforms
- Issuing in-game currencies (fungible tokens) and unique items such as weapons or skins (NFTs) in the same system.
- Event Ticketing and Loyalty Points
- Creating event tickets as NFTs with verifiable ownership and streamlining reward accumulation and redemption with fungible tokens.
- Real Estate
- Managing properties as fractional NFTs to enable shared ownership, liquidity, and transparent transactions on the blockchain.
The enhanced version of Blockchain App Builder that is included with Oracle Blockchain Platform Digital Assets Edition supports the following functions.
- Multiple fungible tokens: Create multiple fungible token types in a single smart contract.
- Multiple token types: Create and manage fungible and non-fungible token types in a single smart contract, streamlining deployment and interaction. One user can have multiple accounts for each fungible token type but only one NFT account.
- Batch operations: Complete multiple token transfers or actions in a single transaction, enhancing efficiency.
- Locking: Lock an NFT in a vault so that it cannot be transferred to or burned by any user.
- Role operations: Assign and enforce roles such as minter, burner to provide specific privileges to any user account.
Oracle Blockchain Platform Digital Assets Edition includes a chaincode package and a wrapper API package for the combined (fungible and non-fungible) token scenario. The chaincode package includes the NFT Art Collection Marketplace sample, which illustrates use of the framework. The wrapper API package extends the REST API to support operations specific to the NFT Art Collection Marketplace scenario.