A cross-chain transaction method and device
A transaction method and transaction technology, applied in the blockchain field, can solve problems such as poor security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0137] based on figure 1 The system architecture shown, figure 2 A schematic flow diagram corresponding to a cross-chain transaction method provided by this application, such as figure 2 As shown, the method includes:
[0138] Step 201, the first client device generates a transaction request; the transaction request includes the transaction data of the first transaction, the transaction data of the associated transaction of the first transaction, and the transaction data of the second block chain where the associated transaction is located. logo;
[0139] Step 202, the first client device sends the transaction request to the first node; the first node maintains the first block chain; the transaction request is used to request to write the transaction data of the first transaction into the the first blockchain;
[0140] Step 203, the first node receives the transaction request sent by the first client device;
[0141] Step 204, the first node verifies the local validity ...
Embodiment 2
[0248] The present application will be described below in conjunction with a specific embodiment.
[0249] The scenario of this embodiment is: user A in blockchain 1 wants to pay user B in blockchain 2 with currency in blockchain 2. Among them, the currency type in blockchain 1 is Coin1, and the currency type in blockchain 2 is Coin2. User A finds user C who has assets in blockchain 1 and blockchain 2 as an intermediary. Before the transaction starts, the assets of each role are shown in Table 1.
[0250] Table 1: Assets of User A, User B, and User C before the transaction
[0251] user Blockchain 1 Blockchain 2 User A 300Coin1 NA (none) User B NA 10Coin2 User C 500Coin1 300Coin2
[0252] The basic information of blockchain 1 and blockchain 2 is shown in Table 2.
[0253] Table 2: Basic information of blockchain 1 and blockchain 2
[0254] internal currency current block number average block time Blockchain ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


