Cross-chain digital currency exchange method and device, computer system and storage medium
A digital currency and currency technology, applied in payment systems, payment circuits, etc., can solve problems such as large organizations, inconsistent social interests, and limited efficiency, and achieve the effects of preventing trust crisis, eliminating monopoly operations, and ensuring fairness.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0075] refer to figure 1 , which shows a cross-chain digital currency exchange method of the present invention, including the following steps:
[0076] S1. Send the transaction offer from the transaction sender on the second blockchain to the transaction receiver on the first blockchain. The transaction offer includes: the exchange amount of the first currency expected to be exchanged, the exchange ratio and the transaction sender Account address on the first blockchain. For example, suppose A holds C1 currency on the C1 chain, B holds C2 currency on the C2 chain, and B sends a transaction invitation to A. The transaction invitation includes the following content: If A transfers to B’s account address on the C1 chain The amount of C1 currency is X, then B will transfer C2 currency to A on the C2 chain according to the conversion ratio K.
[0077] S2, judging whether the exchange instruction corresponding to the transaction offer has been received, and if so, execute step S3,...
Embodiment 2
[0103] refer to figure 2 , shows a cross-chain digital currency exchange device 10 of the present invention, including:
[0104] The transaction offer sending module 11 is used to send the transaction offer from the transaction sender on the second block chain to the transaction receiver on the first block chain. The transaction offer includes: the exchange amount of the first currency expected to be exchanged, The conversion ratio and the account address of the transaction sender on the first blockchain;
[0105] The exchange instruction receiving judging module 12 is used to judge whether the exchange instruction corresponding to the transaction offer is received, and the exchange instruction includes the account address of the transaction receiver on the second block chain;
[0106] The transfer module 13 is used to transfer the first currency of the aforementioned conversion amount from the account of the transaction receiver on the first block chain to the transaction s...
Embodiment 3
[0128] This embodiment also provides a computer system, the computer system includes a plurality of computer equipment 20, the components of the cross-chain digital currency exchange device 10 in the second embodiment can be dispersed in different computer equipment 20, and the computer equipment 20 can be executed Smartphones, tablet computers, laptops, desktop computers, rack servers, blade servers, tower servers or rack servers (including independent servers, or server clusters composed of multiple servers), etc. The computer device 20 of this embodiment at least includes but is not limited to: a memory 21 and a processor 22 that can communicate with each other through a system bus, such as Figure 7 shown. It should be pointed out that, Figure 7 Only computer device 20 is shown having components 21-22, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.
[0129...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com