# US 2024/0202703 A1 · System and method for blockchain transaction management

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

- Number: US 2024/0202703 A1
- Document ID: US20240202703A1
- Status: Published application
- Kind: A1
- Application number: 18/537,643
- Filed: 2023-12-12
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: Hathor Labs
- Applicants: Hathor Labs
- Inventors: Marcelo Salhab Brogliato; Yan Martins; Trond Bjoroy
- Web page: https://patentgrep.com/patent/US20240202703A1

## CPC

- G06Q 20/065: {using e-cash}
- G06Q 20/367: {involving electronic purses or money safes}
- G06Q 20/36: using electronic wallets or electronic money safes
- G06Q 20/3825: {Use of electronic signatures}
- G06Q 20/389: {Keeping log of transactions for guaranteeing non-repudiation of a transaction}
- G06Q 40/04: Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/3247: {involving digital signatures}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06Q 2220/00: Business processing using cryptography
- H04L 2209/56: Financial cryptography, e.g. electronic payment or e-cash
- 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
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In variants, the method can include: receiving a set of cryptographically signed blockchain transactions, matching the cryptographically signed blockchain transactions, wherein different transactions can include different cryptographic asset types, and executing an atomic asset swap using the matched cryptographically signed blockchain transactions on a blockchain. In examples, the different cryptographic asset types can be from different blockchains.

## Claims

### Claim 1

A method comprising:
determining a unitary signed transaction exchanging a first amount of a first UTXO asset for a second amount of a second UTXO asset between a first and second blockchain wallet, wherein:
the first UTXO asset is different from the second UTXO asset;
at least one of the first UTXO asset or the second UTXO asset comprises a native token; and
the unitary signed transaction comprises a first signature and a second signature from the first and second blockchain wallets, respectively; and
sending the unitary signed transaction to a blockchain, wherein on-chain validation of the unitary signed transaction by the blockchain atomically swaps the first amount of the first UTXO asset for the second amount of the second UTXO asset.

### Claim 2 (depends on 1)

The method of claim 1, further comprising sending a false transaction to the first blockchain wallet for signature.

### Claim 3 (depends on 2)

The method of claim 2, further comprising notifying the first blockchain wallet of the false transaction after receiving a signature on the false transaction.

### Claim 4 (depends on 1)

The method of claim 1, wherein a set of assets, comprising the first UTXO asset and the second UTXO asset, further comprises a non-UTXO-based asset.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first signature comprises a hash of a subset of inputs and a subset of outputs from an unsigned transaction precursor to the unitary signed transaction, wherein the subset of inputs comprises at least two inputs from the unsigned transaction.

### Claim 6 (depends on 5)

The method of claim 5, wherein the hash of the subset of inputs and the subset of outputs is generated by applying a bitmask over the unsigned transaction.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first signature comprises a hash of a set of transaction constraints on the unitary signed transaction, wherein the set of transaction constraints comprises a limit on a number of bitmasks for the unitary signed transaction.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first amount of the first UTXO asset, the second amount of the second UTXO asset, and the first and the second blockchain wallet are determined from a first and second order submitted by the first and second blockchain wallet, respectively, wherein the first and second orders are matched by a centralized and off-chain matching system.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first UTXO asset and the second UTXO asset are not custodied in a smart contract.

### Claim 10

A method comprising:
receiving a first presigned partial transaction from a first wallet identifying a first amount of a first asset and a second presigned partial transaction from a second wallet identifying a second amount of a second asset to swap for the first asset, wherein the first asset is different from the second asset and wherein at least one of the first asset or the second asset comprises a native token;
matching the first presigned partial transaction and the second presigned partial transaction, wherein the first presigned partial transaction comprises a first set of inputs and outputs and the second presigned partial transaction comprises a second set of inputs and outputs;
aggregating the first presigned partial transaction and the second presigned partial transaction into a unitary signed transaction; and
sending the unitary signed transaction onto a blockchain, wherein on-chain validation of the unitary transaction by the blockchain atomically swaps the first amount of the first asset for the second amount of the second asset.

### Claim 11 (depends on 10)

The method of claim 10, wherein the first presigned partial transaction comprises a first signature generated by hashing the first set of inputs and outputs, and the second presigned partial transaction comprises a second signature generated by hashing the second set of inputs and outputs.

### Claim 12 (depends on 11)

The method of claim 11, wherein hashing the first set of inputs and outputs comprises applying a bitmask over an unsigned partial transaction precursor to the first presigned partial transaction.

### Claim 13 (depends on 11)

The method of claim 11, wherein hashing the first set of inputs and outputs comprises hashing a set of transaction constraints for the unitary signed transaction.

### Claim 14 (depends on 13)

The method of claim 13, wherein the set of transaction constraints comprises a limit on a number of bitmasks for the unitary signed transaction.

### Claim 15 (depends on 10)

The method of claim 10, wherein the first set of inputs and outputs comprises a user-selected set of outputs, wherein the user-selected set of outputs forms a subset of outputs from the unitary signed transaction.

### Claim 16 (depends on 10)

The method of claim 10, wherein a set of assets, comprising the first asset and the second asset, further comprises at least one of an unspent transaction output (UTXO)-based asset or a non-UTXO-based asset.

### Claim 17 (depends on 10)

The method of claim 10, wherein at least one of the first asset or second asset is not custodied by a third party.

### Claim 18 (depends on 10)

The method of claim 10, wherein the first presigned partial transaction comprises a first plurality of inputs and the second presigned partial transaction comprises a second plurality of inputs, wherein a first signature for the first presigned partial transaction is generated based on the first plurality of inputs and a second signature for the second presigned partial transaction is generated based on the second plurality of inputs.

### Claim 19 (depends on 18)

The method of claim 18, wherein the blockchain validates the unitary signed transaction by independently validating the first signature for the first presigned partial transaction and the second signature for the second presigned partial transaction.

### Claim 20 (depends on 11)

The method of claim 11, wherein the first wallet and the second wallet are offline during unitary signed transaction creation.
