Before You Begin
This 10-minute tutorial shows you how to manually create an Oracle Blockchain Platform founder instance and access the Oracle Blockchain Platform console.
Background
Oracle Blockchain Platform is a network consisting of validating nodes (peers) that update the ledger and respond to queries by executing smart contract code (also known as chaincode) - the business logic that runs on the blockchain. External applications invoke transactions or run queries through client SDKs or REST API calls, which prompts selected peers to run the chaincode.
Oracle Blockchain Platform uses an Oracle Cloud Infrastructure Compute Virtual Machine instance to deploy and run the Oracle Blockchain Platform instance and all other required applications such as:
- Oracle Cloud Infrastructure Object Storage
- Oracle Identity Cloud Service
- Oracle Cloud Infrastructure Load Balancing
When you create your instance all of these objects are created for you and managed for you by Oracle.
Note that you'll be charged the minimum charge of 500 transactions per hour for a Developer instance even if your instance isn't in use. The instance can't be stopped, and should be deleted if not in use.
What Do You Need?
- You need an Oracle Cloud account. If you don't already have one, you can sign up for free credits: Sign Up for the Free Oracle Cloud Promotion
Create
an Oracle Blockchain Platform Instance
Create a complete founder blockchain network using the Developer configuration. This will create a Kafka orderer blockchain network with a minimum 500 transactions per hour. Creating your blockchain network takes approximately 15 minutes. When it's complete, an email is sent containing information about your instance.
- Sign in to Oracle Cloud My Services.
- On the Oracle Cloud My Services page search for Oracle
Blockchain Platform, and click it to open the Service Console.
If Oracle Blockchain Platform isn't listed on the My Services page, click Customize Dashboard, search for Oracle Blockchain Platform under the Application Development category, and click Show. Once the Blockchain pane is added to the dashboard, expand its Action menu and select Open Service Console.
- Click Create Instance.
- On the provisioning page, enter the information for your
service:
- Instance Name:
bcs - Description: Leave blank.
- Notification Email: Contains your registered email account, or enter an alternate account for Oracle Blockchain Platform.
- Region: Select the geographic region closest to your own.
- Tags: Leave blank.
- Create a New Network: Select this option to create a complete founder blockchain network.
- Configuration:
Developer. - Peers: Enter
2to create two peers for this exercise.
Description of the illustration create-instance.png - Instance Name:
- Click Next. Review the summary of your service information and if it's correct, click Confirm.
Confirm
that Your Instance Was Created Successfully
- After receiving an email stating that your instance was created, sign in to Oracle Cloud My Services, browse to the Oracle Blockchain Platform, and open the Instances page.
- Your instance should now be listed. Click the instance name
bcsto see additional information about the instance.
Access
the Oracle Blockchain Platform Console
To design and administer your Oracle Blockchain Platform network and deploy chaincodes, you need to sign in to the Oracle Blockchain Platform console. To the right of your instance name in My Services, there is a Manage Instance menu. Expand this menu and click Blockchain Console to launch the Oracle Blockchain Platform console.
Create
an Oracle Blockchain Platform Instance