Deploy and Test Confidential Wholesale CBDC Chaincode
You can deploy the chaincode directly from the console or by using Blockchain App Builder.
Deploying the Chaincode
Before you deploy the chaincode, create enrollment IDs for each token user and then map the token users to their respective enrollment IDs. Specify only one user for each enrollment. For more information about adding enrollments, see Add Enrollments to a REST Proxy in Using .
When you deploy the token chaincode, you must call the init method and pass the organization ID and user ID of the Token Admin user.
For information about deploying from the console, see Use Advanced Deployment in Using .
To deploy using Blockchain App Builder, complete the following steps.
- Extract the
WholesaleCBDC-Confidential.ziparchive file. - Import the
WholesaleCBDC-Confidentialchaincode to the Blockchain App Builder extension in Visual Studio Code. - Edit the
.ochain.jsonfile to update the value of theconfigFileLocationkey to the path of theWholesaleCBDC-Confidential.ymlspecification file. - Open a terminal window and navigate to the chaincode folder, and then run the following command.
npm install
For more details about using Postman collections, see the following topics in Blockchain App Builder for Oracle Blockchain Platform.