Wholesale CBDC Sample Application Prerequisites
Before importing the Oracle Visual Builder sample application package, it is essential to complete several prerequisites, including the creation of all required Oracle Cloud Infrastructure (OCI) resources and Oracle Identity Cloud Service (IDCS) groups as outlined below.
Visual Builder Cloud Service
The Wholesale CBDC application sample is built using Oracle Visual Builder Cloud Service. The package needs to be imported into Visual Builder to use it.
For more information on Visual Builder, see Visual Builder.
Provision Autonomous Database
All account transaction data is stored in and fetched from the rich history database. To use the rich history database, you must create an Oracle Autonomous Database.
Provision Oracle Blockchain Platform Digital Assets Edition
You must have an Oracle Blockchain Platform Digital Assets Edition instance provisioned for the sample application to use.
Users can create Oracle Blockchain Platform Digital Assets Edition instances with any name; however, the application supports one Central Bank as the founder of the Oracle Blockchain Platform network and six Financial Institutions (FI1, FI2, FI3, FI4, FI5, and FI6) as participant organizations within the network.
To ensure proper configuration, users must update the details of the founder organization in the Central Bank (CB) section and the participant organizations in the Financial Institution (FI) section. It is essential to maintain a fixed order for the participant organizations: FI1 corresponds to Participant 1, FI2 to Participant 2, and so on. The same details should be used to update the respective FI details accordingly.
Create Users and User Groups with Oracle Identity Cloud Service
The CBDC application supports 11 personas, and the corresponding 11 application roles have already been created in the Visual Builder package. These roles are necessary to define the permissions and access levels for each persona in the application.
For a complete list of the roles and their operations, see Wholesale CBDC Application Workflow.
Application roles in Visual Builder are created to:
- Define Access Levels: Each persona (example, Central Bank Admin, Participant User) has specific permissions and access requirements in the application. Application roles ensure that users only see and interact with the features relevant to their role.
- Enable Role-Based Access Control (RBAC): By mapping IDCS groups to these roles, you can control who has access to what within the application.
- Simplify User Management: Instead of assigning permissions to individual users, you assign them to roles, and users inherit these permissions through their IDCS group membership.
Overview
The IDCS groups for 1 Central Bank (CB) and 6 Participants have already been mapped to these application roles in Visual Builder. This means you only need to create IDCS groups and add users to those groups as listed in the table below. The IDCS groups are already mapped to the corresponding application roles in Visual Builder. Once users are added to the groups, they will automatically get the correct access to the application.
You'll create the groups described in the table below, and add users to them. By creating the IDCS groups with the exact names provided and adding users to these groups, you can easily enable role-based access to the application. The mapping between IDCS groups and Visual Builder roles is already configured, so no further setup is required.
For additional informing on creating IDCS groups and managing users, see: Manage Oracle Identity Cloud Service Users and Manage Oracle Identity Cloud Service Groups.
Table 3-1 Application Roles and their IDCS Groups and Bank Names
S NO | Application Role | IDCS User Groups | Bank Name |
---|---|---|---|
1 | CBDC_ADMINS | CB_CBDC_ADMINS | CB |
2 | CBDC_AUDITORS | CB_CBDC_AUDITORS | CB |
3 | CBDC_CREATORS | CB_CBDC_CREATORS | CB |
4 | CBDC_ESCROW | CB_CBDC_MANAGERS | CB |
5 | CBDC_ISSUERS | CB_CBDC_ISSUERS | CB |
6 | CBDC_RETIRERS | CB_CBDC_RETIRERS | CB |
7 | FI_ADMINS | FI1_CBDC_ADMINS (repeat this pattern for remaining participant orgs like <org>_CBDC_ADMINS) | FI1, FI2, FI3, FI4, FI5 and FI6 |
8 | FI_CBDC_USERS | FI1_CBDC_USERS (repeat this pattern for remaining participant orgs like <org>_CBDC_USERS) | FI1, FI2, FI3, FI4, FI5 and FI6 |
9 | FI_CBDC_OFFICERS | FI1_CBDC_OFFICERS (repeat this pattern for remaining participant orgs like <org>_CBDC_OFFICERS) | FI1, FI2, FI3, FI4, FI5 and FI6 |
10 | FI_CBDC_MANAGERS | FI1_CBDC_MANAGERS (repeat this pattern for remaining participant orgs like <org>_CBDC_MANAGERS) | FI1, FI2, FI3, FI4, FI5 and FI6 |
11 | FI_CBDC_AUDITORS | FI1_CBDC_AUDITORS (repeat this pattern for remaining participant orgs like <org>_CBDC_AUDITORS) | FI1, FI2, FI3, FI4, FI5 and FI6 |
Create Groups
- Sign in to your Oracle Cloud Infrastructure account. Ensure you're in the correct compartment where you'll deploy the sample application.
- In the Console, click the Navigation menu in the top-left corner. Click Identity & Security. Under Identity select Domains.
- On the Domains page, click Oracle Identity Cloud Service to open the Domains Overview page.
- Click Groups. Click Create Group.
- Name: Enter a unique name for the group (example
CB_CBDC_ADMINS
). - Description: Provide a brief description of the group's purpose.
- To allow users to request access to this group, select the option User can request access.
- Name: Enter a unique name for the group (example
Create Users and Assign Them to Groups
- On the Domains Overview page, click Users.
- Click Create User.
- First Name: Enter the user's first name.
- Last Name: Enter the user's last name.
- User Name / Email: Enter a valid email address or username for login.
- Email: Enter the email address for communication and account activation.
- On the Assign Group page, you will see a list of existing groups.
- Select the checkbox next to each group you want to assign this user to. Ensure you select the appropriate group that aligns with their role (example CB_CBDC_ADMINS).
- After selecting the desired groups, click Finish to complete user creation.
Verifying Users and Groups
- After creating groups and adding users, return to the Groups section in the IDCS Console.
- Verify that all created groups and added users are listed correctly.