KR-20260064480-A - METHOD FOR PROVIDING CROSS CHAIN SERVICE BETWEEN BLOCKCHAIN NETWORKS BASED ON CROSS CHAIN COMMUNICATION STACK AND RELAY SERVER USING THE SAME
Abstract
A method for providing cross-chain services between blockchain networks based on a cross-chain communication stack, wherein (a) contract wallets corresponding to each user account located in the application layer of the cross-chain communication stack are created in each blockchain network located in the physical layer of the cross-chain communication stack and are located in each blockchain network and are located in the transport layer of the cross-chain communication stack, and when each of at least one first message is created for transmission from each of at least one first user account of a first blockchain network to each of at least one second user account of a second blockchain network, a relay server causes each of at least one first contract wallet corresponding to each of the at least one first user account to create each of at least one second message by changing each of the sender information in each of the first messages to each of the first wallet addresses, and creates a bundle message by integrating each of the second messages through a bundler, and causes a first cross-chain router located in the network layer of the cross-chain communication stack and created in the first blockchain network to [provide] a first [provide] corresponding to each of the second messages included in the bundle message. A method comprising: (b) transmitting to each lane contract—each of which is located in the data link layer of the cross-chain communication stack and is created in the first blockchain network; (b) when the relay server obtains a request for transmission to the second blockchain network for each of which is a second message from each of which is a first lane contract, the step of causing each of which is a second lane contract located in the data link layer and is created in the second blockchain network to transmit each of which is a second message to a second cross-chain router—the second cross-chain router located in the network layer and is created in the second blockchain network; and (c) the step of the relay server causing the second cross-chain router to transmit each of which is a second message to each of which is located in the transport layer and is created in the second blockchain network, and causing each of which is a second contract wallet to transmit each of which is a second message to each of which is a corresponding at least one second user account.
Inventors
- 박상현
- 조현기
- 어준선
Assignees
- 주식회사 씨피랩스
Dates
- Publication Date
- 20260507
- Application Date
- 20250721
Claims (16)
- In a method for providing cross-chain services between blockchain networks based on a cross-chain communication stack, (a) In a state where contract wallets corresponding to each user account located in the application layer of the cross-chain communication stack are created in each blockchain network located in the physical layer of the cross-chain communication stack and are located in each blockchain network and are located in the transport layer of the cross-chain communication stack, when at least one first message is created for transmission from at least one first user account in the first blockchain network to at least one second user account in the second blockchain network, the relay server causes each of the at least one first contract wallets corresponding to each of the at least one first user account to create at least one second message by changing each of the sender information in each of the first messages to each of the first wallet addresses, and creates a bundle message by integrating each of the second messages through a bundler, and causes a first cross-chain router located in the network layer of the cross-chain communication stack and created in the first blockchain network to each of the first lane contracts corresponding to each of the second messages included in the bundle message - each of the first lane contracts is, A step of transmitting to - which is located in the data link layer of the cross-chain communication stack and is created in the first blockchain network; (b) when the relay server obtains a request for transmission to the second blockchain network for each of the second messages from each of the first lane contracts, the step of causing each of the second lane contracts located in the data link layer and created in the second blockchain network to transmit each of the second messages to a second cross-chain router—the second cross-chain router located in the network layer and created in the second blockchain network; and (c) a step in which the relay server causes the second cross-chain router to transmit each of the second messages to each of at least one second contract wallet located in the transport layer and created in the second blockchain network, and causes each of the second contract wallets to transmit each of the second messages to each of the corresponding at least one second user account; A method including
- In paragraph 1, Each of the first messages comprises each of the first user accounts, each of at least one first asset data that each of the first user accounts intends to transmit to each of the second user accounts, and at least some of each of the second user accounts as the destination account to which each of the first asset data is transmitted. In step (b) above, A method characterized in that the relay server causes each of the first lane contracts to lock up each of the first assets corresponding to each of the first asset data and convert them into wrapped assets, and causes each of the second lane contracts to mint each of the second assets corresponding to each of the first assets to generate each of the second asset data.
- In paragraph 2, A method characterized in that the relay server causes the 1_1 to 1_m lane contracts included in each of the 1 lane contracts of the data link layer to perform a lockup for each of the 1_1 type assets to each of the 1_m type assets as each of the 1 assets to convert them into 1_1 wrapped type assets to 1_m wrapped type assets, and causes the 2_1 to 2_m lane contracts included in each of the 2 lane contracts of the data link layer—each of the 2_1 to 2_m lane contracts corresponds to each of the 1_1 lane contract to each of the 1_m lane contracts—to mint each of the 2_1 type assets to 2_m type assets corresponding to each of the 1_1 wrapped type assets to each of the 1_m wrapped type assets as the 2 assets.
- In paragraph 2, In the above (a) step, A method characterized in that the first lane contract sets constraints on at least some of a preset first processing deadline, a limit on the amount of asset transferred per unit time, and a limit on the number of asset transferred per unit time for each of the first asset data, and supports each of the second lane contracts to mint each of the second assets on the second blockchain network by referencing each of the first assets on the first blockchain network in accordance with the constraints.
- In paragraph 1, In step (a) above, A method characterized in that the relay server adjusts at least some of the number of each of the second messages integrated into the bundle message and the number of the bundle messages generated by integrating each of the second messages by referencing on-chain traffic in the first blockchain network through the bundler.
- In paragraph 1, In step (a) above, A method characterized in that at least some of the first message and the second message are a user operation which is a data structure containing details of an on-chain transaction to be performed, and the user operation includes a function to be executed, parameters, and a user signature.
- In paragraph 1, In the above network layer, if the first cross-chain router and the second cross-chain router are not directly connected and are connected through at least one third cross-chain router created in at least one third blockchain network, In step (b) above, A method characterized in that the relay server causes the second message to be received through each of the third lane contracts for receiving created in the third blockchain network, causes the third cross-chain router to transmit the second message to each of the third lane contracts for sending created in the third blockchain network, and causes each of the third lane contracts for sending to request transmission of the second message to the second blockchain network, thereby causing the second message to be transmitted to the second blockchain network.
- In paragraph 1, A method characterized in that each of the first contract wallet, each of the second contract wallet, the first cross-chain router, the second cross-chain router, each of the first lane contract, and each of the second line contract are composed of smart contracts.
- In a relay server that provides cross-chain services between blockchain networks based on a cross-chain communication stack, Memory storing instructions for providing cross-chain services between blockchain networks based on a cross-chain communication stack; and A processor that performs operations to provide cross-chain services between blockchain networks based on a cross-chain communication stack according to the instructions stored in the memory; Includes, The above processor, (I) having contract wallets corresponding to each user account located in the application layer of the cross-chain communication stack created in each blockchain network located in the physical layer of the cross-chain communication stack and located in each blockchain network located in the transport layer of the cross-chain communication stack, when at least one first message is created for transmission from at least one first user account in the first blockchain network to at least one second user account in the second blockchain network, the processor causes each of the at least one first contract wallets corresponding to each of the at least one first user account to create at least one second message by changing each of the sender information in each of the first messages to each of the first wallet addresses, and creates a bundle message by integrating each of the second messages through a bundler, and causes a first cross-chain router located in the network layer of the cross-chain communication stack and created in the first blockchain network to each of the first lane contracts corresponding to each of the second messages included in the bundle message - each of the first lane contracts is, A relay server performing the following processes: (II) a process of transmitting to a second blockchain network located in the data link layer of the cross-chain communication stack and created in the first blockchain network; (III) a process of, upon obtaining a request for transmission to the second blockchain network for each of the second messages from each of the first lane contracts, causing each of the second lane contracts located in the data link layer and created in the second blockchain network to transmit each of the second messages to a second cross-chain router - the second cross-chain router located in the network layer and created in the second blockchain network; and (III) a process of causing the second cross-chain router to transmit each of the second messages to each of at least one second contract wallet located in the transport layer and created in the second blockchain network, and causing each of the second contract wallets to transmit each of the second messages to each of the corresponding at least one second user account.
- In Paragraph 9, Each of the first messages comprises each of the first user accounts, each of at least one first asset data that each of the first user accounts intends to transmit to each of the second user accounts, and at least some of each of the second user accounts as the destination account to which each of the first asset data is transmitted. A relay server characterized in that, in the above process (II), the processor causes each of the first lane contracts to lock up each of the first assets corresponding to each of the first asset data and convert them into wrapped assets, and causes each of the second lane contracts to mint each of the second assets corresponding to each of the first assets to generate each of the second asset data.
- In Paragraph 10, A relay server characterized by the processor, wherein the first_1 lane contract to the first_m lane contract included in each of the first lane contracts of the data link layer performs a lockup for each of the first_1 type assets to the first_m type assets as each of the first assets to convert them into first_1 wrapped type assets to first_m wrapped type assets, and the second_1 lane contract to the second_m lane contract included in each of the second lane contracts of the data link layer—each of the second_1 lane contract to the second_m lane contract corresponds to each of the first_1 lane contract to the first_m lane contract—mints each of the second_1 type assets to the second_m type assets corresponding to each of the first_1 wrapped type assets to the first_m wrapped type assets as the second assets.
- In Paragraph 10, In the above (I) process, A relay server characterized in that the first lane contract sets constraints on at least some of a preset first processing deadline, a limit on the amount of asset transferred per unit time, and a limit on the number of asset transferred per unit time for each of the first asset data, and supports each of the second lane contracts to mint each of the second assets on the second blockchain network by referencing each of the first assets on the first blockchain network in accordance with the constraints.
- In Paragraph 9, In the above (I) process, A relay server characterized by the processor adjusting at least some of the number of each of the second messages integrated into the bundle message and the number of the bundle message generated by integrating each of the second messages by referencing on-chain traffic in the first blockchain network through the bundler.
- In Paragraph 9, In the above (I) process, A relay server characterized in that at least some of the first message and the second message are a user operation which is a data structure containing details of an on-chain transaction to be performed, and the user operation includes a function to be executed, parameters, and a user signature.
- In Paragraph 9, In the above network layer, if the first cross-chain router and the second cross-chain router are not directly connected and are connected through at least one third cross-chain router created in at least one third blockchain network, In the above (II) process, A relay server characterized by the processor enabling the second message to be transmitted to the second blockchain network by each receiving third lane contract created in the third blockchain network, causing the third cross-chain router to transmit the second message to each sending third lane contract created in the third blockchain network, and causing each sending third lane contract to request transmission of the second message to the second blockchain network.
- In Paragraph 9, A relay server characterized in that each of the first contract wallet, each of the second contract wallet, the first cross-chain router, the second cross-chain router, each of the first lane contract, and each of the second line contract are composed of smart contracts.
Description
Method for providing cross-chain services between blockchain networks based on a cross-chain communication stack and a relay server using the same This invention relates to a method for providing cross-chain services between heterogeneous blockchain networks based on a cross-chain communication stack, and a relay server using the same. Cross-chain services are a function that enables the transfer of data, tokens, and other assets between heterogeneous blockchain networks. Typically, blockchain networks exist in closed environments and cannot communicate with other networks, but cross-chain technology solves this problem and enables data sharing and interoperability between blockchains. Cross-chain interoperability is an essential feature for the cryptocurrency and decentralized finance (DeFi) sectors aiming for mass adoption, yet existing cross-chain messaging services have suffered significant damage due to security vulnerabilities. Multichain Bridge, which supports asset transfer between blockchains, suffered significant damage from a large-scale hack in July 2023 and also suffered significant damage from a bug in a smart contract in January 2022, which was caused by the theft of an authorized key. In addition, in January 2024, a hacking incident occurred at Orbit Bridge in which a large amount of cryptocurrency was stolen, and the hacking of an authorized multisig wallet is identified as the primary cause. Furthermore, many hacking attempts have been made on cross-chain systems, and these various hacking cases clearly demonstrate that security vulnerabilities and operational risks exist in current cross-chain communication systems. Therefore, improvement measures are required to resolve the aforementioned problems. The drawings attached below for use in describing embodiments of the present invention are merely some of the embodiments of the present invention, and other drawings can be obtained based on these drawings without inventive work by a person skilled in the art to which the present invention pertains (hereinafter "person skilled in the art"). FIG. 1 schematically illustrates a process for providing cross-chain services between blockchain networks based on a cross-chain communication stack according to an embodiment of the present invention. FIG. 2 schematically illustrates a relay server and a blockchain network that provide cross-chain services between blockchain networks based on a cross-chain communication stack according to an embodiment of the present invention. FIG. 3 schematically illustrates a relay server and a multi-hop cross-chain messaging process that provide cross-chain services between blockchain networks based on a cross-chain communication stack according to an embodiment of the present invention. The following detailed description of the present invention refers to the accompanying drawings, which illustrate specific embodiments in which the present invention can be practiced in order to clarify the objects, technical solutions, and advantages of the present invention. These embodiments are described in sufficient detail to enable a person skilled in the art to practice the present invention. Furthermore, throughout the detailed description and claims of the invention, the word “comprising” and its variations are not intended to exclude other technical features, additions, components, or steps. Other objects, advantages, and characteristics of the invention will become apparent to a person skilled in the art, in part from this description and in part from the practice of the invention. The following examples and drawings are provided by way of example and are not intended to limit the invention. Furthermore, the present invention encompasses all possible combinations of the embodiments set forth in this specification. It should be understood that various embodiments of the present invention are different but need not be mutually exclusive. For example, specific shapes, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the invention in relation to one embodiment. It should also be understood that the location or arrangement of individual components within each disclosed embodiment may be changed without departing from the spirit and scope of the invention. Accordingly, the following detailed description is not intended to be limiting, and the scope of the invention is limited only by the appended claims, including all equivalents to those claimed therein, provided appropriately described. Similar reference numerals in the drawings refer to the same or similar functions across various aspects. Hereinafter, in order to enable a person skilled in the art to easily practice the present invention, preferred embodiments of the present invention will be described in detail with reference to the attached drawings. FIG. 1 schematically illustrates a process for providing cross-chain services between bl