US 12,354,110 B2
User-friendly smart contract authoring on distributed ledger
Abhinav Kumar, Bengaluru (IN); and Vikas Rohatgi, Bengaluru (IN)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Oct. 27, 2023, as Appl. No. 18/496,552.
Prior Publication US 2025/0139633 A1, May 1, 2025
Int. Cl. H04L 9/00 (2022.01); G06Q 20/36 (2012.01); G06Q 20/40 (2012.01)
CPC G06Q 20/405 (2013.01) [G06Q 20/36 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer implemented method of modeling and generating smart contracts on a distributed ledger, the method being implemented by a computer system having a processor and a memory, the method comprising:
receiving, by the computer system, a first user input including a plurality of rules, wherein the plurality of rules includes a plurality of if-then statements, and wherein the plurality of rules models a plurality of contract terms;
receiving, by the computer system, a second user input that configures a plurality of configuration parameters for the plurality of rules that models the plurality of contract terms; and
executing, by the computer system, a rules compiler, wherein executing the rules compiler includes reading the plurality of rules and the plurality of configuration parameters, and wherein executing the rules compiler includes:
generating, by the rules compiler, a first computer program representing a rule façade program, wherein the rule façade program provides a plurality of public interfaces to a smart contract on the distributed ledger;
generating, by the rules compiler, a second computer program representing a multi-sign wallet program, wherein the multi-sign wallet program includes a list of approvers for the smart contract, and wherein the rule façade program provides functional access to the multi-sign wallet program; and
generating, by the rules compiler, a third computer program representing a rules contract program, wherein the rules contract program includes the plurality of rules that models the plurality of contract terms, and wherein the rules façade program provides functional access to the rules contract program:
wherein the smart contract comprises the first computer program, the second computer program and the third computer program.