Use the quick deployment option to perform a one-step chaincode deployment. This option is recommended for chaincode testing.
The process to deploy sample chaincodes is different than the process described in this topic. See Explore Oracle Blockchain Platform Using Samples.
You can use the advanced deployment option to put your chaincode into production on the network. See Use Advanced Deployment.
You can’t delete a chaincode from the network.
- Go to the console and select the Chaincodes tab.
- In the Chaincodes tab, click Deploy a New Chaincode.The Deploy Chaincode page is displayed.
- Click Quick Deployment.The Deploy Chaincode (Quick) page is displayed.
- In the Chaincode Name field, enter a unique name for the chaincode. In the Version field enter a string value to specify the chaincode’s version number.The Oracle Blockchain Platform chaincode name and version requirements are different than the Hyperledger Fabric requirements. You must use the Oracle Blockchain Platform naming requirements. Use these guidelines when naming the chaincode:
- Use ASCII alphanumeric characters, ('') quotes, dashes (-), and underscores (_).
- The name must start and end only with ASCII alphanumeric characters. For example, you can't use names like _mychaincode or mychaincode_.
- Dashes (-) and underscores (_) must be followed with ASCII alphanumeric characters. For example, you can't use names like my--chaincode or my-_chaincode.
- The name must be 1 to 64 characters long.
- A chaincode version can contain a period (.).
- A chaincode version can contain a plus (+).
- Review the other default settings and modify them as needed.
- Click the Chaincode Source field and browse for the chaincode ZIP file to upload and deploy.
- Click Submit.The chaincode is installed on the channel’s peers, instantiated, and enabled in the REST proxy. The deployed chaincode’s name is displayed in the Chaincode tab’s table.