CPC G06Q 20/3825 (2013.01) [G06Q 20/065 (2013.01); G06Q 20/38215 (2013.01); H04L 9/3213 (2013.01); H04L 9/50 (2022.05); H04L 2209/56 (2013.01)] | 20 Claims |
1. A method implemented at a database system, the method comprising:
providing, by a database processor, computing services to a plurality of tenants of the database system via the internet;
receiving, by the database processor, from a client machine a request to execute an action related to a smart contract owned by a synthetic public trust ledger party and recorded on a public trust ledger external to the database system;
identifying, by the database processor, a database system account associated with the requested action and linked with a tenant of the plurality of tenants;
retrieving, by the database processor, from a table within the database system one or more synthetic public trust ledger party rules authorizing a plurality of database system accounts to perform a plurality of actions related to the smart contract;
determining, by the database processor, that the database system account is authorized to perform the action based on the one or more rules;
retrieving, by the database processor, one or more private keys for the synthetic public trust ledger account from the database system;
transmitting, by a ledger API, to a replica node of a public trust ledger external to the database system a ledger request to perform the action, the request authenticating the synthetic public trust ledger account to the replica node via the one or more private keys;
receiving, by the ledger API, from the replica node a ledger response indicating that the public trust ledger has been updated to reflect successful execution of the action;
updating, by the database processor, one or more records within the database system to reflect successful execution of the action; and
transmitting, by the database processor, to the client machine a response message indicating that the action has been performed.
|