CPC G06F 16/2379 (2019.01) [G06F 9/30 (2013.01); H04L 9/088 (2013.01); H04L 9/30 (2013.01)] | 20 Claims |
1. A method comprising:
receiving a request via a communication interface at an on-demand database system to execute a designated smart contract to transfer a token included in the designated smart contract from a first entity to a second entity, the on-demand database system storing customer relations management data for a plurality of tenants, the first entity or the second entity being represented in the customer relations management data for a designated tenant of the plurality of tenants, the designated smart contract being recorded in a public trust ledger accessible outside the on-demand database system;
determining via a hardware processor a first transaction price based on the request, the first transaction price being transferred from the first entity to the on-demand database system in exchange for transferring the token, the on-demand database system providing a ledger interface through which the database system access the public trust ledger on behalf of the designated tenant via a digital asset modeling language (DAML) server;
transmitting to a remote computing device via the DAML server a second transaction price in exchange for recording a transaction in the public trust ledger that reflects the requested transfer, the first transaction price being different from the second transaction price;
communicating with the remote computing device via the DAML server to record the requested transfer in the public trust ledger;
updating one or more entries in the on-demand database system to reflect the transaction in the public trust ledger, the on-demand database system maintaining a first correspondence between database system accounts and public trust ledger wallets, the on-demand database system maintaining a second correspondence between products represented in the database system and digital assets represented on the public trust ledger, the token being a digital asset corresponding with a designated product represented in the database system; and
transmitting a response message to the first entity indicating that the requested transfer is recorded.
|