Transaction method and system based on channel of lightning network
A network and lightning technology, applied in transmission systems, electrical components, payment architecture, etc., can solve problems such as inability to adjust, and inability to directly transfer channel balances.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0059] Such as figure 1 As shown, this embodiment provides a method for conducting transactions based on lightning network channels, which specifically includes the following steps:
[0060] S1: Pre-establish at least two Lightning Network LND nodes within the Lightning Network through the server, and establish multiple channels between nodes of the Lightning Network LND nodes as internal channels of the Lightning Network.
[0061] Specifically, the lightning network of this embodiment adopts the method of self-built channels. When the lightning network is established, at least two lightning network LND nodes are pre-established (the nodes and LND nodes appearing below all refer to the lightning network LND nodes), and Channels are established between the self-built Lightning Network LND nodes. When subsequent users need to conduct transactions, the users are assigned to the corresponding Lightning Network LND nodes, and transactions between users can be realized by using the ...
no. 2 example
[0101] Based on the invention points in the first embodiment, this embodiment proposes a set of specific cases of user transfer, as follows:
[0102] When a user creates a Lightning Network wallet, such as generating an HD wallet through a mnemonic, etc., a Bitcoin address starting with bc1 (ie, the first address) is generated;
[0103] At this time, the server notifies all nodes on a chain to generate the second address on the corresponding chain, maps the first address and the second address, and associates them with user A, and stores the association relationship into the relationship table;
[0104] At this time, user A can receive Lightning Network transfers (including internal transactions of Lightning Network and transactions with external Lightning Networks), as well as node transfers on the chain;
[0105] If the second address of user A receives an on-chain transfer of 0.0005 BTC, and the server monitors that 0.0005 BTC assets have been transferred to the second addr...
no. 3 example
[0114] Such as figure 2 As shown, this embodiment provides a system for executing the method for conducting transactions based on the lightning network channel in the first embodiment, including:
[0115] The node establishment module 1 is used to pre-establish at least two lightning network LND nodes inside the lightning network through the server, and establish multiple channels between nodes of the lightning network LND nodes as internal channels of the lightning network;
[0116] The node allocation module 2 is used for when the user nodes including the transaction initiator and the transaction receiver in the Lightning Network conduct transactions, the service end according to the transaction initiator and / or the transaction receiver Request, among all the Lightning Network LND nodes, allocate a first Lightning Network LND node to the transaction initiator based on predetermined rules, and allocate a second Lightning Network LND node to the transaction receiver, wherein ...
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