A block chain-based chain currency exchange method, device and equipment and a medium
A technology of currency exchange and blockchain, which is applied in currency conversion, instruments, payment systems, etc., can solve the problems that chain currency cannot be recognized by blockchain nodes, chain currency cannot communicate with each other, and weaken the interactive function of blockchain, etc., to achieve Guaranteed credibility and value effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Figure 1A It is a flowchart of a blockchain-based currency exchange method in Embodiment 1 of the present invention. The embodiment of the present invention can be applied to the situation of currency exchange for chain currencies issued by different parallel chains in the super chain network. The method is executed by a chain currency exchange device, which is implemented by software and / or hardware, and is specifically configured in an electronic device carrying a block chain node.
[0045] Such as Figure 1A The blockchain-based currency exchange method shown includes:
[0046] S110. Obtain a currency exchange request.
[0047] Exemplarily, acquiring a currency exchange request may be: acquiring a currency exchange request input by a user through a human-computer interaction interface, wherein the currency exchange request includes the source currency and the target currency, the account to which the source currency belongs, and the source At least one of the curr...
Embodiment 2
[0064] figure 2 It is a flowchart of a blockchain-based currency exchange method in Embodiment 2 of the present invention. The embodiments of the present invention perform additional optimization on the technical solutions of the foregoing embodiments.
[0065] Further, before the operation "determine the target exchange amount based on the amount to be exchanged", add "determine the exchange rate based on the target currency amount in the target chain account and the total source currency available in the source parachain", In order to improve the mechanism for determining the exchange rate.
[0066] Such as figure 2 The blockchain-based currency exchange method shown includes:
[0067] S210. Obtain a currency exchange request.
[0068] S220. Determine the exchange rate according to the target currency amount in the target chain account and the total source currency available in the source parachain.
[0069] Among them, the total amount of available source currency is...
Embodiment 3
[0079] image 3 It is a flowchart of a blockchain-based currency exchange method in Embodiment 3 of the present invention. The embodiments of the present invention perform subdivision optimization on the basis of the technical solutions of the foregoing embodiments.
[0080] Further, the operation "according to the amount to be exchanged and the target exchange amount, transfer the source currency from the user account to which the source currency belongs to the source chain account of the source parachain, and transfer the target currency from the target parachain The target chain account is transferred to the user account", which is refined as "according to one of the amount to be exchanged and the target exchange amount, initiate a source currency transfer transaction request on the source parachain to transfer the source currency Transfer from the user account to which the source currency belongs to the source chain account of the source parachain; after confirming the op...
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