Note:

Develop a Blockchain application using Oracle Blockchain Platform

Introduction

Blockchain technology is revolutionizing the way businesses and organizations operate, and it has given rise to a new era of applications that can bring about unprecedented levels of transparency, security, and decentralization.

Oracle Blockchain Platform gives you a pre-assembled platform for building and running smart contracts and maintaining a tamper-proof distributed ledger. With Oracle Blockchain Platform, you complete some simple instance creation steps, and then Oracle takes care of service management, patching, backup and restore, and other service lifecycle tasks.

Objective

To help you get started with developing a Blockchain application using Oracle Blockchain Platform, this tutorial provides a high-level overview of the key concepts and steps involved.

Prerequisites

Task 1: Create an Oracle Blockchain Platform instance

  1. Log in to the OCI Console.

  2. Select the compartment where you have appropriate privileges to create an instance.

  3. Provide a Display name for your instance, select the Platform Role, version and the required Edition.

  4. Click Create.

    Create an OBP instance

  5. For each member organization participating in your Blockchain network, create an Oracle Blockchain Platform instance. For more information, see Create an OBP instance.

At the end of this step, you will have all the infrastructure ready to run a Blockchain application.

Task 2: Set up your development environment

The Blockchain App Builder supports the full development lifecycle either from a command line interface or as an extension for Visual Studio Code. Blockchain App Builder for Oracle Blockchain Platform is a tool set that assists with rapid development, testing, and deployment of chaincode on Oracle Blockchain Platform. You can download the Visual Studio Code extension for App Builder from the Samples tab in the Oracle Blockchain Platform Console.

For more information, see Install App Builder.

Task 3: Create a Data Model for your Blockchain application

Task 4. Create a specification file using the Data Model

Create a specification file

Task 5. Generate the chaincode file

Generate Chaincode

Now you are ready to deploy the chaincode on Oracle Blockchain Platform.

Task 6. Deploy and test the chaincode

Task 7: Use SDKs and REST APIs to develop the application

Tip: Read the Key Concepts and Tutorials sections before you write your own application.

Acknowledgments

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.