# US 2020/0402025 A1 · Escrowing system for cross-blockchain third-party settlement and method thereof

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

- Number: US 2020/0402025 A1
- Document ID: US20200402025A1
- Status: Published application
- Kind: A1
- Application number: 16/789,465
- Filed: 2020-02-13
- Published: 2020-12-24
- Earliest claimed: 2019-06-21
- Assignees: Skychain CO., LTD.
- Applicants: Skychain CO., LTD.
- Inventors: Chen-Hsuan WANG; Jiann-Min YANG; Scott MIAU
- Web page: https://patentgrep.com/patent/US20200402025A1

## CPC

- G06Q 20/0655: {e-cash managed centrally}
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06Q 10/10: Office automation; Time management
- G06Q 20/02: involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
- G06Q 20/36: using electronic wallets or electronic money safes
- G06Q 20/389: {Keeping log of transactions for guaranteeing non-repudiation of a transaction}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 63/123: {received data contents, e.g. message integrity}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06Q 20/023: {the neutral party being a clearing house}
- G06Q 20/065: {using e-cash}
- G06Q 20/3829: {involving key management}
- G06Q 2220/00: Business processing using cryptography
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An escrowing system for cross-blockchain third-party settlement and a method thereof are disclosed. In the escrowing system, an initiating-end host and an accepting-end host escrow digital assets in smart contracts in different blockchains, respectively, and based on a result of delivery of trading entities outside the blockchain, the digital assets escrowed by the smart contracts are transferred or returned, and the arbitration host is permitted to perform trading arbitration, without managing the trading entities, to determine whether the delivery outside the blockchain succeeds. When the arbitration host determines that the delivery outside the blockchain succeeds, the arbitration host can transfer the digital assets escrowed by the initiating-end host and the accepting-end host without consent of the initiating-end host, so as to achieve a technical effect of improving reliability of escrow.

## Claims

### Claim 1

An escrowing system for cross-blockchain third-party settlement, comprising:
a first blockchain configured to execute a first smart contract deployed therein, and provide a first wallet address associated with an initiating end and a first wallet address associated with an accepting end;
a second blockchain configured to execute a second smart contract deployed therein, and provide a second wallet address associated with the initiating end and a second wallet address associated with the accepting end, wherein the second smart contract comprises a second withdraw function to receive an unlock secret and hash the unlock secret, and compare a hashed result with an initiating-end hash value or an arbitration-end hash value of the second smart contract, and when the hashed result is matched with the initiating-end hash value or the arbitration-end hash value of the second smart contract, a second digital asset escrowed by the second smart contract is transferred to the second wallet address associated with the initiating end, and the unlock secret is stored in the second smart contract;
an arbitration host connected to the first blockchain and the second blockchain at the same time, and configured to set an arbitration-end hash value in the first smart contract, wherein when detecting that a delivery outside the blockchain succeeds, the arbitration host executes the second withdraw function of the second smart contract to transmit the unlock secret;
an initiating-end host connected to the first blockchain and the second blockchain at the same time, and comprising:
an initiating-end deploy module configured to deploy the first smart contract in the first blockchain, and set an initiating-end hash value in the first smart contract, and transfer the first digital asset to the first smart contract for escrow; and
an initiating-end detection module configured to execute the second withdraw function of the second smart contract to transmit the unlock secret when detecting that the delivery outside the blockchain succeeds; and
an accepting-end host connected to the first blockchain and the second blockchain at the same time, and comprising:
an accepting-end deploy module configured to deploy the second smart contract in the second blockchain and transfer a second digital asset to the second smart contract for escrow when obtaining the initiating-end hash value and the arbitration-end hash value from the first smart contract; and
an accepting-end detection module configured to execute a first withdraw function of the first smart contract when detecting the unlock secret in the second smart contract, wherein the first withdraw function performs hashing on the detected unlock secret, and compares a hashed result with the initiating-end hash value or the arbitration-end hash value of the first smart contract, and when the hashed result is matched with the initiating-end hash value or the arbitration-end hash value, a first digital asset escrowed by the first smart contract is transferred to the first wallet address associated with the accepting end.

### Claim 2 (depends on 1)

The escrowing system according to claim 1, wherein when both of the initiating-end host and the arbitration host detect that the delivery outside the blockchain fails, the initiating-end host and the arbitration host wait for expiration of the second smart contract based on an escrow expiration time, and the second digital asset escrowed by the second smart contract is transferred to the second wallet address, associated with the accepting end, of the accepting-end host after the second smart contract expires the escrow expiration time, and the first digital asset escrowed by the first smart contract is transferred to the first wallet address, associated with the accepting end, of the accepting-end host after the first smart contract expires the escrow expiration time.

### Claim 3 (depends on 1)

The escrowing system according to claim 1, wherein when the initiating-end host and the arbitration host receive a delivery confirmation message through an application programming interface, the initiating-end host and the arbitration host determine that the delivery outside the blockchain succeeds, and when the initiating-end host and the arbitration host does not receive the delivery confirmation message after a preset time or receive a return message, the initiating-end host and the arbitration host determine that the delivery outside the blockchain fails.

### Claim 4 (depends on 1)

The escrowing system according to claim 1, wherein the initiating-end host and the arbitration host continuously detect a delivery confirmation event of the second smart contract, and when the delivery confirmation event is triggered, the initiating-end host and the arbitration host determine that the delivery outside the blockchain succeeds, and when not detecting the delivery confirmation event being triggered after a preset time, the initiating-end host and the arbitration host determine that the delivery outside the blockchain fails.

### Claim 5 (depends on 1)

The escrowing system according to claim 1, wherein the arbitration-end hash value and the initiating-end hash value are generated by performing hash calculation on the unlock secret by a hash algorithm, and the hash algorithm is at least one of message-digest algorithm 5 (MD5) and security hash algorithm (SHA).

### Claim 6

An escrowing method for cross-blockchain third party settlement, applied to network environment with a first blockchain and a second blockchain, and the escrowing method comprising:
providing an arbitration host, an initiating-end host and an accepting-end host connected to the first blockchain and the second blockchain at the same time;
deploying, by the initiating-end host, a first smart contract in the first blockchain, and setting an initiating-end hash value in the first smart contract, and transferring a first digital asset to the first smart contract for escrow;
setting, by the arbitration host, an arbitration-end hash value in the first smart contract;
when the accepting-end host obtains the initiating-end hash value and the arbitration-end hash value from the first smart contract, deploying, by the accepting-end host, the second smart contract in the second blockchain and transferring a second digital asset to the second smart contract for escrow;
detecting, by the initiating-end host and the arbitration host, a delivery outside the blockchain, and when at least one of the initiating-end host and the arbitration host detects that the delivery outside the blockchain succeeds, executing a second withdraw function of the second smart contract, wherein the second withdraw function receives an unlock secret from at least one of the initiating-end host and the arbitration host, and hashes the unlock secret, and compares a hashed result with the initiating-end hash value or the arbitration-end hash value of the second smart contract, when the hashed result is matched with the initiating-end hash value or the arbitration-end hash value of the second smart contract, the second digital asset escrowed by the second smart contract is transferred to a second wallet address, associated with the initiating end, of the initiating-end host, and the unlock secret is stored in the second smart contract; and
detecting, by the accepting-end host, the unlock secret of the second smart contract, and when the accepting-end host detects the unlock secret in the second smart contract, executing a first withdraw function of the first smart contract, wherein the first withdraw function performs hashing on the detected unlock secret, and compares a hashed result with the initiating-end hash value or the arbitration-end hash value of the first smart contract, and when the hashed result is matched with the initiating-end hash value or the arbitration-end hash value, the first digital asset escrowed by the first smart contract is transferred to a first wallet address, associated with the accepting end, of the accepting-end host.

### Claim 7 (depends on 6)

The escrowing method according to claim 6, wherein when the initiating-end host and the arbitration host detect that the delivery outside the blockchain fails, the initiating-end host and the arbitration host wait for expiration of the second smart contract based on an escrow expiration time, and the second digital asset escrowed by the second smart contract is transferred to the second wallet address, associated with the accepting end, of the accepting-end host after the second smart contract expires based on the escrow expiration time, and the first digital asset escrowed by the first smart contract is transferred to the first wallet address, associated with the initiating end, of the initiating-end host after the first smart contract expires based on the escrow expiration time.

### Claim 8 (depends on 6)

The escrowing method according to claim 6, wherein when the initiating-end host and the arbitration host receive a delivery confirmation message through an application programming interface (API), the initiating-end host and the arbitration host determine that the delivery outside the blockchain succeeds, and when the initiating-end host and the arbitration host does not receive the delivery confirmation message after a preset time or receive a return message, the initiating-end host and the arbitration host determines that the delivery outside the blockchain fails.

### Claim 9 (depends on 6)

The escrowing method according to claim 6, wherein the initiating-end host and the arbitration host continuously detect a delivery confirmation event of the second smart contract, and when detecting that the delivery confirmation event is triggered, the initiating-end host and the arbitration host determine that the delivery outside the blockchain succeeds, and when not detecting the delivery confirmation event being triggered after a preset time, the initiating-end host and the arbitration host determine that the delivery outside the blockchain fails.

### Claim 10 (depends on 6)

The escrowing method according to claim 6, wherein the arbitration-end hash value and the initiating-end hash value are generated by performing hash calculation on the unlock secret by a hash algorithm, and the hash algorithm is at least one of message-digest algorithm 5 (MD5) and security hash algorithm (SHA).
