Stablecoin Analytics
Oracle Blockchain Platform Digital Assets Edition includes a sample Oracle Analytics workbook for the stablecoin scenario.
To use the sample Oracle Analytics workbook, you must run the Oracle REST Data Services (ORDS) script to set up the database view definitions, and then import the workbook files to configure Oracle Analytics Cloud.
Oracle Database View Definitions for Stablecoin
You must set up the database view definitions before you can use the Oracle Analytics workbook in the stablecoin scenario.
Configure Oracle Analytics Cloud for Stablecoin
Complete the following steps to configure Oracle Analytics Cloud and use the analytics workbook for the stablecoin scenario.
- Create an instance of Oracle Autonomous Database.
- Set up the database view definitions. For information on how to set up the database view definitions for the stablecoin sample, see Oracle Database View Definitions for Stablecoin.
- Create an instance of Oracle Analytics Cloud in Oracle Cloud Infrastructure (OCI).
- Log on to the OCI console.
- Click Analytics & AI > Oracle Analytics Cloud.
- Select Create Instance and then add the required information.
- Select Create and then wait for the instance creation to complete.
- Under Sample Stablecoin Analytics Workbook on the Digital Assets page in Oracle Blockchain
Platform Digital Assets Edition, select Download sample Analytics package. The
StablecoinAnalyticsPackage.zipfile, which contains the sample application, is downloaded to your computer. - Extract the
StablecoinAnalyticsPackage.zipfile, which contains theStablecoinAnalyticsPackagedirectory. The workbook (.dva) files are in theStablecoinAnalyticsPackagedirectory - Back up both workbook files,
System Owner Dashboard.dvaandParticipating Org Dashboard.dva. - Navigate to Oracle Analytics Cloud in the OCI console, and then select Analytics Home Page.
- Select Import Workbook/Flow and import both workbook files. Select Include all permissions if exists. Enter OraAnalytic@2025 as the password. For more information, see Import a Workbook File.
- Update the data source connection details for the
Analytics_Connectiondataset.- Go to the Data page in Oracle Analytics Cloud.
- Find the
Analytics_Connectiondataset and then select Inspect/Edit > Update database connection. - Map the database views.
- Select Save.
- Set up roles and permissions for the system owner and participant organization dashboards.
- In Oracle Analytics Cloud, select Console.
- Select Roles and Permissions, then select Application Roles.
- Select Create Application Role and create the SystemOwnerRole application role.
- Under Members, select Groups and then select Add Groups.
- Assign groups to the
SystemOwnerRoleand theBI Dataload Authorroles. TheBI Dataload Authorrole is required for embedding Oracle Analytics Cloud data into Oracle Visual Builder. The Oracle Identity Cloud Service (IDCS) groups that are associated with the sample application must be mapped to theBI Dataload Authorrole. If theSystemOwnerRoleand theBI Dataload Authorroles are not mapped, the analytics data will not be shown in the sample application, even if Oracle Analytics Cloud is integrated with Oracle Visual Builder. Map all relevant IDCS groups from the sample application to these roles. For example, map the following groups.SYSTEM_ADMINSSYSTEM_AUDITORSSYSTEM_CREATORSSYSTEM_MANAGERSSYSTEM_ISSUERSSYSTEM_RETIRERS
- Create roles for the participant organizations: ParticipantOrg1Role, ParticipantOrg2Role, and so on.
- Assign groups to the participant organization roles and to the
BI Dataload Authorrole. You can create groups with any names, such as the following example groups. In the following example groups, change the number of the participant organization in the group name to match the corresponding organization role.ORG1_ADMINSORG1_AUDITORSORG1_MANAGERSORG1_OFFICERS
- Update the instance name parameters for the system owner and participant organization dashboards.
- Log in as an adminstrator and open the system owner dashboard.
- Select Edit.
- Under Parameters, right-click to edit the parameter for the system owner instance name.
- Enter the system owner instance name or the membership service provider (MSP) ID. For example, enter CB.
- Repeat the previous steps to update the system owner instance name in the participant organization dashboard.
- Update the roles in the participant organization dashboard.
- Open the participant organization dashboard, and then select Edit Dashboard.
- Select the Data tab, and then select the System_Owner_Account_Trans_Mod-Participating_Org view.
- Select Join Diagram.
- Add roles and filters for each participant.
- Select the add button next to Role filters.
- Add a filter expression that includes a query. For example, add the following SQL query to the ParticipantOrg1Role role, which mentions Org1 and Org2 as participant organizations.
You must add roles and filter expressions sequentially, before proceeding to the next role.FROM_ORG_ID = 'Org1' AND TO_ORG_ID = 'Org2' - Repeat this process for the ParticipantOrg2Role, ParticipantOrg3Role roles, and so on.
- Move the dashboards to shared folders in Oracle Analytics Cloud.
- Navigate to Catalog > My Folders.
- Create a folder named
Sharedin theShared Foldersdirectory. - Move the dashboards from the
My Foldersdirectory to theSharedfolder inside the Shared Folders directory.
- Test thoroughly to ensure that all visualizations, data connections, user access, and other functions are working as expected.