# US 2025/0165969 A1 · Nomadic smart contracts migrated across blockchain ledgers

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0165969 A1
- Document ID: US20250165969A1
- Status: Published application
- Kind: A1
- Application number: 18/517,669
- Filed: 2023-11-22
- Published: 2025-05-22
- Earliest claimed: 2023-11-22
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Luis Angel Bathen; Marc Henri Coq; Eric Kevin Butler
- Web page: https://patentgrep.com/patent/US20250165969A1

## CPC

- G06Q 20/401: {Transaction verification}
- G06Q 20/405: {Establishing or using transaction specific rules}
- G06Q 20/065: {using e-cash}
- G06Q 20/381: {Currency conversion}
- G06Q 20/389: {Keeping log of transactions for guaranteeing non-repudiation of a transaction}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Migration of smart contracts across blockchain ledgers is described herein. Different decentralized ledgers are first cross-compiled. A verifiable smart contract is employed that will adhere to the rules of the ledger being targeted from the decentralized ledgers, and each of the smart contracts can be modeled as a state machine. Each of the smart contracts can be verified for correctness. At least one smart contracts that completes the verification process is installed across the different decentralized ledgers. At least one smart contract is approved with a verification process for confirming equivalency to deploy across the decentralized ledgers. The smart contracts are deployed across the decentralized ledgers.

## Claims

### Claim 1

A computer implemented method for managing smart contracts comprising:
cross-compiling different decentralized ledgers;
generating at least one smart contract that adheres to rules of a ledger being targeted from the different decentralized ledgers;
modeling the at least one smart contract as a state machine;
verifying each of the at least one smart contract according to a verification process illustrating each of the decentralized ledgers have an equivalent to the state machine that runs to achieve consensus;
installing the at least one smart contracts that achieve the consensus across the different decentralized ledgers;
approving the at least one smart contract with a verification process for confirming equivalency to deploy across the decentralized ledgers; and
deploying the at least one smart contract across the decentralized ledgers.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, wherein the decentralized ledgers have a compatible plugin.

### Claim 3 (depends on 1)

The computer implemented method of claim 1, wherein the verifying each of the at least one smart contract includes checking the at least one smart contract for correctness and equivalency.

### Claim 4 (depends on 1)

The computer implemented method of claim 1, wherein data migration includes an architecture including at least one relay that is an entity that operate ledger specific drivers to route cross network requests and responses between different ledgers.

### Claim 5 (depends on 4)

The computer implemented method of claim 4, wherein the at least one relay includes a enterprise system of record that provides transaction provenance between ledgers.

### Claim 6 (depends on 1)

The computer implemented method of claim 1, wherein the at least one smart contract interact with off-chain external data sources via oracles to collect data as input for the at least one smart contract.

### Claim 7 (depends on 1)

The computer implemented method of claim 1, wherein the deploying the smart contracts across the decentralized ledgers comprises migration across the decentralized ledgers based upon a triggering event.

### Claim 8 (depends on 7)

The computer implemented method of claim 7, wherein the triggering event is when a cost to invoke the smart contract exceeds a preset threshold value.

### Claim 9 (depends on 7)

The computer implemented method of claim 7, wherein the triggering event is selected from the group consisting of size of memory pool, hash rate and combinations thereof.

### Claim 10

A system for managing smart contracts including a hardware processor; and a memory that stores a computer program product, the computer program product of the system includes instructions comprising:
cross-compile, using the hardware processor, different decentralized ledgers;
generate, using the hardware processor, at least one smart contract that adheres to rules of a ledger being targeted from the different decentralized ledgers;
model, using the hardware processor, the at least one smart contract as a state machine;
verify, using the hardware processor, each of the at least one smart contract according to a verification process illustrating each of the decentralized ledgers have an equivalent to the state machine that runs to achieve consensus;
install, using the hardware processor, the at least one smart contracts that achieve the consensus across the different decentralized ledgers;
approve, using the hardware processor, the at least one smart contract with a verification process for confirming equivalency to deploy across the decentralized ledgers; and
deploy, using the hardware processor, the at least one smart contract across the decentralized ledgers.

### Claim 11 (depends on 10)

The system of claim 10, wherein the decentralized ledgers have a compatible plugin.

### Claim 12 (depends on 10)

The system of claim 10, wherein the verifying each of the at least one smart contract includes checking the at least one smart contract for correctness and equivalency.

### Claim 13 (depends on 10)

The system of claim 10, wherein data migration includes an architecture including at least one relay that is an entity that operate ledger specific drivers to route cross network requests and responses between different ledgers.

### Claim 14 (depends on 13)

The system of claim 13, wherein the at least one relay includes a enterprise system of record that provides transaction provenance between ledgers.

### Claim 15 (depends on 10)

The system of claim 10, wherein the at least one smart contract interact with off-chain external data sources via oracles to collect data as input for the at least one smart contract.

### Claim 16 (depends on 10)

The system of claim 10, wherein the deploying the smart contracts across the decentralized ledgers comprises migration across the decentralized ledgers based upon a triggering event.

### Claim 17 (depends on 16)

The system of claim 16, wherein the triggering event is when a cost to invoke the smart contract exceeds a preset threshold value.

### Claim 18 (depends on 16)

The system of claim 16, wherein the triggering event is selected from the group consisting of size of memory pool, hash rate and combinations thereof.

### Claim 19

A computer program product for managing smart contracts, the computer program product including a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code executable by a processor to cause the processor to:
cross-compile different decentralized ledgers;
generate at least one smart contract that adheres to rules of a ledger being targeted from the different decentralized ledgers;
model the at least one smart contract as a state machine;
verify each of the at least one smart contract according to a verification process illustrating each of the decentralized ledgers have an equivalent to the state machine that runs to achieve consensus;
install the at least one smart contracts that achieve the consensus across the different decentralized ledgers;
approve the at least one smart contract with a verification process for confirming equivalency to deploy across the decentralized ledgers; and
deploy the at least one smart contract across the decentralized ledgers.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein to deploy the smart contracts across the decentralized ledgers comprises migration across the decentralized ledgers based upon a triggering event.
