Working With the Sample Token Specification Files

You can use the sample token specification files that come with Blockchain App Builder to investigate the complete life cycle of a token.

To get the Blockchain App Builder samples, in the service console open the Developer Tools tab and then select the Blockchain App Builder pane. Click Download Specification Samples and Related Code and then extract the downloaded archive file (obp-app-builder-samples.zip). The archive file includes token specification files for the Fiat Money Token, Loyalty Token, NFT Art Collection Marketplace, and Fractional NFT in Real Estate samples.

For the Fiat Money Token and Loyalty Token samples, the archive file also includes scaffolded token chaincode in Go and a corresponding Postman collection file (specific to Go), which you can use to test token life cycle operations on an Oracle Blockchain Platform network.

The NFT Art Collection Marketplace and Fractional NFT in Real Estate samples includes specification files that are designed for development in TypeScript. The NFT Art Collection Marketplace sample includes scaffolded token chaincode in Typescript and a corresponding Postman collection file (specific to Typescript), which you can use to test token life cycle operations for a non-fungible token on an Oracle Blockchain Platform network. There are two NFT Art Collection Marketplace samples: one for the ERC-721 standard and one for the ERC-1155 standard.

The token asset name is specified in the sample specification file. A token is defined by behaviors, which are also in the specification file. The sample token assets also include custom properties.

For more information about using the token samples, see the readme.md file in the sample archive file.

For more information about creating specification files in Blockchain App Builder, see the following topics:

For more information about deploying and testing chaincode projects, see Deploying and Testing Token Chaincode.