TWM593602U - Cross-chain and non-custodial entity performance guarantee transaction system - Google Patents

Cross-chain and non-custodial entity performance guarantee transaction system Download PDF

Info

Publication number
TWM593602U
TWM593602U TW108208696U TW108208696U TWM593602U TW M593602 U TWM593602 U TW M593602U TW 108208696 U TW108208696 U TW 108208696U TW 108208696 U TW108208696 U TW 108208696U TW M593602 U TWM593602 U TW M593602U
Authority
TW
Taiwan
Prior art keywords
smart contract
buyer
host
party
seller
Prior art date
Application number
TW108208696U
Other languages
Chinese (zh)
Inventor
王振軒
楊建民
苗華斌
Original Assignee
天宿智能科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 天宿智能科技股份有限公司 filed Critical 天宿智能科技股份有限公司
Priority to TW108208696U priority Critical patent/TWM593602U/en
Publication of TWM593602U publication Critical patent/TWM593602U/en

Links

Images

Abstract

一種基於跨鏈且非託管實體的履約保證交易系統,透過買方端主機及賣方端主機分別在不同區塊鏈的智能合約託管數位資產,並且根據交易實體在鏈外交付的結果,相互轉移或退還彼此在智能合約託管的數位資產,以及允許第三方主機在不託管交易實體的情況下,進行交易仲裁以判斷鏈外交付是否成功,當判斷鏈外交付成功時,無需買方端主機同意,即能夠相互轉移買方端主機及賣方端主機託管的數位資產,達到提高履約保證的可靠性之技術功效。A performance guarantee transaction system based on cross-chain and non-custodial entities. The buyer-side host and seller-side host respectively host digital assets in different blockchain smart contracts, and transfer or refund each other according to the results of the transaction entity's delivery outside the chain. Digital assets managed by each other in smart contracts, and allowing third-party hosts to conduct transaction arbitration to determine whether the off-chain delivery is successful without hosting the transaction entity. When judging the success of the off-chain delivery, it is possible without the consent of the buyer's host Transfer the digital assets hosted by the buyer's host and the seller's host to each other to achieve the technical effect of improving the reliability of the performance guarantee.

Description

基於跨鏈且非託管實體的履約保證交易系統Cross-chain and non-custodial entity performance guarantee transaction system

本創作涉及一種履約保證系統,特別是基於跨鏈且非託管實體的履約保證交易系統。This creation relates to a performance guarantee system, especially a performance guarantee transaction system based on cross-chain and non-custodial entities.

近年來,隨著電子商務的普及與蓬勃發展,各種相關應用便如雨後春筍般出現,其中又以提供交易保障的第三方託管最為常見。In recent years, with the popularity and vigorous development of e-commerce, various related applications have sprung up. Among them, third-party custodians that provide transaction guarantees are the most common.

一般而言,傳統的第三方託管是指買賣雙方將資產(包含:貨幣、實體商品等等)交付給一個第三方實體託管,當買賣雙方依協議完成交易後,再由第三方實體交付託管中的資產給買賣雙方,以便避免交易風險。由於現今的交易環境已經大量數位化,透過網路形式的第三方託管,如:第三方支付等服務,需要仰賴高度可信的第三方實體進行資產的代管或交易的仲裁處理。Generally speaking, the traditional third-party custody refers to that the buyer and seller deliver assets (including: currency, physical goods, etc.) to a third-party entity for custody. After the buyer and seller complete the transaction in accordance with the agreement, the third-party entity will deliver the custody. Assets to buyers and sellers in order to avoid transaction risks. Since today's trading environment has been largely digitized, third-party escrow in the form of networks, such as third-party payment and other services, relies on highly trusted third-party entities for asset custody or transaction arbitration.

有鑑於此,便有廠商提出區塊鏈的技術,其透過區塊鏈機制進行交易,以便利用其難以竄改、不可否認性等特性,實現高度可信的第三方託管交易,然而,在同時具有多個獨立的區塊鏈網路環境下,由於不同的區塊鏈可能使用不同的協定,甚至即便使用相同協定,各獨立的區塊鏈網路之間也無法直接互通紀錄。因此,雖然能夠在區塊鏈上進行託管,但是缺乏有效的仲裁機制,導致存在履約保證的可靠性不佳問題。In view of this, some manufacturers have proposed blockchain technology, which uses the blockchain mechanism to conduct transactions in order to use its difficult-to-tamper and non-repudiation features to achieve highly trusted third-party escrow transactions, however, at the same time In multiple independent blockchain network environments, because different blockchains may use different protocols, even if the same protocol is used, the independent blockchain networks cannot directly communicate records. Therefore, although it can be hosted on the blockchain, there is no effective arbitration mechanism, which leads to the problem of poor reliability of the performance guarantee.

綜上所述,可知先前技術中長期以來一直存在履約保證的可靠性不佳之問題,因此實有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that the prior art has had a problem of poor reliability of performance guarantee for a long time, so it is necessary to propose improved technical means to solve this problem.

本創作揭露一種基於跨鏈且非託管實體的履約保證交易系統。This creation discloses a performance guarantee transaction system based on cross-chain and non-custodial entities.

首先,本創作揭露一種基於跨鏈且非託管實體的履約保證交易系統,此系統包含:第一區塊鏈、第二區塊鏈、第三方主機、買方端主機及賣方端主機。其中,第一區塊鏈用以運行發布的第一智能合約,以及提供買方端第一錢包地址及賣方端第一錢包地址;第二區塊鏈用以運行發布的第二智能合約,以及提供買方端第二錢包地址及賣方端第二錢包地址,其中,第二智能合約包含第二提取函式,用以接收解鎖密語,並且雜湊所述解鎖密語以與第二智能合約中的買方端雜湊值或第三方雜湊值進行比對,當比對相符時,將第二智能合約託管中的第二數位資產轉移至買方端第二錢包地址,再將所述解鎖密語儲存在第二智能合約中;第三方主機同時連接第一區塊鏈及第二區塊鏈,此第三方主機用以在第一智能合約中設定第三方雜湊值,以及在偵測到鏈外交付成功時,執行第二智能合約的第二提取函式且傳送解鎖密語。First, the author discloses a performance guarantee transaction system based on cross-chain and non-custodial entities. This system includes: a first blockchain, a second blockchain, a third-party host, a buyer-side host, and a seller-side host. Among them, the first blockchain is used to run the published first smart contract, and provides the buyer's first wallet address and the seller's first wallet address; the second blockchain is used to run the published second smart contract, and provides The buyer's second wallet address and the seller's second wallet address, where the second smart contract includes a second extraction function to receive the unlock secret code, and hash the unlock secret code to hash with the buyer's side in the second smart contract The value or the third-party hash value is compared, and when the comparison matches, the second digital asset in the custody of the second smart contract is transferred to the buyer's second wallet address, and then the unlock secret code is stored in the second smart contract ; The third-party host is connected to the first blockchain and the second blockchain at the same time. This third-party host is used to set the third-party hash value in the first smart contract and execute the second when it detects that the off-chain delivery is successful. The second extraction function of the smart contract and the unlock secret code is transmitted.

接著,在買方端主機的部分,其同時連接第一區塊鏈及第二區塊鏈,此買方端主機包含:買方端發布模組及買方端偵測模組。其中,所述買方端發布模組用以在第一區塊鏈上發布第一智能合約,並且在第一智能合約中設定買方端雜湊值,以及將第一數位資產轉移至第一智能合約託管;所述買方端偵測模組用以在偵測到鏈外交付成功時,執行第二智能合約的第二提取函式且傳送解鎖密語。Next, in the part of the buyer-side host, it is connected to the first blockchain and the second blockchain at the same time. The buyer-side host includes: a buyer-side publishing module and a buyer-side detection module. Wherein, the buyer-side publishing module is used to publish the first smart contract on the first blockchain, and set the buyer-side hash value in the first smart contract, and transfer the first digital asset to the first smart contract escrow The buyer-side detection module is used to execute the second extraction function of the second smart contract and send an unlock secret when it detects that the off-chain delivery is successful.

在賣方端主機的部分,其同時連接第一區塊鏈及第二區塊鏈,此賣方端主機包含:賣方端發布模組及賣方端偵測模組。其中,所述賣方端發布模組用以自第一智能合約中獲得買方端雜湊值及第三方雜湊值時,在第二區塊鏈上發布第二智能合約,並且將第二數位資產轉移至第二智能合約託管;所述賣方端偵測模組用以在第二智能合約中偵測到所述解鎖密語時,執行第一智能合約的第一提取函式,其中,第一提取函式將偵測到的解鎖密語進行雜湊,用以與第一智能合約中的買方端雜湊值或第三方雜湊值進行比對,並且在比對符合時,將第一智能合約託管中的第一數位資產轉移至賣方端第一錢包地址。In the part of the seller-side host, it is connected to the first blockchain and the second blockchain at the same time. The seller-side host includes: a seller-side publishing module and a seller-side detection module. Wherein, the seller-side release module is used to obtain the buyer-side hash value and the third-party hash value from the first smart contract, release the second smart contract on the second blockchain, and transfer the second digital asset to Second smart contract escrow; the seller-side detection module is used to execute the first extraction function of the first smart contract when the unlocking secret word is detected in the second smart contract, wherein the first extraction function Hash the detected unlock ciphers to compare with the buyer-side hash value or third-party hash value in the first smart contract, and when the comparison matches, the first digit in the first smart contract escrow The assets are transferred to the first wallet address of the seller.

本創作所揭露之系統如上,與先前技術的差異在於本創作是透過買方端主機及賣方端主機分別在不同區塊鏈的智能合約託管數位資產,並且根據交易實體在鏈外交付的結果,相互轉移或退還彼此在智能合約託管的數位資產,以及允許第三方主機在不託管交易實體的情況下,進行交易仲裁以判斷鏈外交付是否成功,當判斷鏈外交付成功時,無需買方端主機同意,即能夠相互轉移買方端主機及賣方端主機託管的數位資產。The system disclosed in this creation is as above, and the difference from the previous technology is that this creation is to host digital assets in different blockchain smart contracts through the buyer-side host and the seller-side host, and according to the results of the transaction entity's delivery outside the chain, mutual Transfer or refund each other’s digital assets hosted in smart contracts, and allow third-party hosts to conduct transaction arbitration to determine whether the off-chain delivery is successful without hosting the transaction entity. When the off-chain delivery is successful, no buyer-side host’s consent is required , That is, the digital assets hosted by the buyer's host and the seller's host can be transferred to each other.

透過上述的技術手段,本創作可以達成提高履約保證的可靠性之技術功效。Through the above-mentioned technical means, this creation can achieve the technical effect of improving the reliability of the performance guarantee.

以下將配合圖式及實施例來詳細說明本創作之實施方式,藉此對本創作如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。In the following, the implementation of the creation will be described in detail with reference to the drawings and examples, so as to fully understand and implement the implementation process of how the creation uses technical means to solve technical problems and achieve technical efficacy.

在說明本創作所揭露之基於跨鏈且非託管實體的履約保證交易系統之前,先對本創作所應用的環境作說明,本創作係應用在多區塊鏈的環境,例如:同時有二個或二個以上的區塊鏈,每一個區塊鏈可以運行相同的區塊鏈協定或不同的區塊鏈協定,舉例來說,一個為比特幣的區塊鏈,另一個為以太幣的區塊鏈。然而,無論是否為相同的區塊鏈協定,均允許買方端主機及賣方端主機在區塊鏈上發布智能合約,而且允許第三方主機、買方端主機及賣方端主機透過區塊鏈網路的任意節點對各區塊鏈進行操作,例如:管理區塊鏈上的數位資產(包含數位貨幣)、執行智能合約功能等等。Before explaining the performance guarantee transaction system based on cross-chain and non-custodial entities disclosed by this creation, the environment used by this creation will be explained first. This creation is applied in a multi-blockchain environment, for example: there are two or For more than two blockchains, each blockchain can run the same blockchain agreement or different blockchain agreements. For example, one is a Bitcoin blockchain and the other is an Ethereum blockchain. chain. However, whether it is the same blockchain agreement or not, both the buyer-side host and the seller-side host are allowed to publish smart contracts on the blockchain, and the third-party host, buyer-side host, and seller-side host are allowed to pass through the blockchain network. Any node operates on each blockchain, for example: managing digital assets (including digital currency) on the blockchain, performing smart contract functions, and so on.

接著,針對本創作所自行定義的名詞作說明,本創作所述的「第一智能合約」及「第二智能合約」皆是指發布(Deploy)在區塊鏈網路上的智能合約,其中,第一智能合約發布在第一區塊鏈;第二智能合約發布在第二區塊鏈。實際上,所述智能合約是指依據既定的條件及傳輸的資訊來驅動執行指令的電腦程式,具體而言,所述智能合約係透過程式語言,例如:Solidity、Serpent、LLL、EtherScript、Sidechain等等來撰寫,其可包含各種不同的函式(Function)、事件(Event)、參數狀態等等,以「Ethereum」為例,其智能合約是經編譯後得到二進位編碼及應用二進位介面(Application Binary Interface, ABI),以便將智能合約廣播至區塊鏈網路,等候礦工(Miner)將智能合約放上區塊鏈並得到相應的地址,至此即透過區塊鏈交易完成智能合約的發布。之後,各節點便可根據此地址執行相應的智能合約,並且藉由不同的指令來改變智能合約在區塊鏈上的狀態以及偵測事件是否被觸發。另外,所述的「第一數位資產」及「第二數位資產」是指以數位形式呈現的內容、具有所有權概念,可被持有與進行所有權轉移的各式紀錄,如:數位貨幣、電子票券、數位產權登記、電子發票等等,其中,「第一數位資產」是託管於第一區塊鏈的第一智能合約之數位資產;「第二數位資產」是託管於第二區塊鏈的第二智能合約之數位資產。也就是說,第一數位資產實作在第一區塊鏈;第二數位資產實作在第二區塊鏈。接著,所述的「鏈外交付」是指獨立於區塊鏈之外的價值交付行為,例如:實體商品交付、線下服務、非區塊鏈的數位資產交付等等。特別要說明的是,本創作可視為「非託管實體(Unmanaged Entity)」的方式,其與傳統第三方託管(Escrow)的差異在於前者並未實際將交易實體或數位資產託管給第三方,而後者則是由買賣雙方之外的第三方來保管交易實體或數位資產,如:特定文件、契約、金錢、證券或其它財產等等,當特定條件達成或法律事件發生時,才由此第三方將其保管物交付給特定的人。具體來說,在本創作中作為第三方的第三方主機未實際託管任何實體或數位資產,僅用以判斷鏈外交付是否成功來進行仲裁,若成功便傳送解鎖密語,反之則不進行任何操作,而作為買方的買方端主機則是將自己的數位資產託管在自己發布在區塊鏈的智能合約,同樣地,作為賣方的賣方端主機也會將自己的數位資產託管在自己發布在另一區塊鏈的智能合約。因此,有別於傳統第三方託管在發生交易糾紛時,保管物會被凍結在第三方的情況,本創作藉由第三方主機來仲裁鏈外交付是否成功,若成功便允許在不經買方同意的情況下轉移買賣雙方數位資產,以及在鏈外交付失敗時,等候智能合約的託管逾時時間被滿足,以便智能合約自動將託管的數位資產退還給相應的買賣雙方。Next, to explain the terms defined by this creation, the "first smart contract" and "second smart contract" mentioned in this creation refer to the smart contracts issued (Deploy) on the blockchain network, where, The first smart contract is published on the first blockchain; the second smart contract is published on the second blockchain. In fact, the smart contract refers to a computer program that drives execution of instructions based on established conditions and transmitted information. Specifically, the smart contract uses programming languages such as Solidity, Serpent, LLL, EtherScript, Sidechain, etc. To write, it can contain various functions, events, parameter status, etc. Taking "Ethereum" as an example, its smart contract is compiled to get a binary code and apply a binary interface ( Application Binary Interface, ABI) in order to broadcast the smart contract to the blockchain network, waiting for the miner to put the smart contract on the blockchain and get the corresponding address, so that the smart contract is released through the blockchain transaction . After that, each node can execute the corresponding smart contract according to this address, and change the state of the smart contract on the blockchain and detect whether the event is triggered by different instructions. In addition, the "first digital asset" and "second digital asset" refer to the content presented in digital form, with the concept of ownership, and various records that can be held and transferred for ownership, such as: digital currency, electronic Tickets, digital property rights registration, electronic invoices, etc., where "first digital asset" is the digital asset of the first smart contract hosted on the first blockchain; "second digital asset" is the second block of assets Digital assets of the second smart contract of the chain. In other words, the first digital asset is implemented in the first blockchain; the second digital asset is implemented in the second blockchain. Next, the "off-chain delivery" refers to the value delivery behavior independent of the blockchain, such as: physical commodity delivery, offline services, non-blockchain digital asset delivery, etc. In particular, this creation can be regarded as an "unmanaged entity (Unmanaged Entity)", the difference between it and traditional third-party escrow (Escrow) is that the former does not actually escrow the trading entity or digital assets to a third party, and In the latter case, a third party other than the buyer and seller will take care of the trading entity or digital assets, such as: specific documents, contracts, money, securities, or other property. Only when certain conditions are met or legal events occur, will this third party Deliver its deposit to a specific person. Specifically, the third-party host as a third party in this creation does not actually host any entities or digital assets, and is only used to determine whether the off-chain delivery is successful for arbitration. If it is successful, the unlock secret code is transmitted, otherwise, no operation is performed. , As the buyer’s host on the buyer’s side, it deposits its digital assets in a smart contract that it publishes on the blockchain. Similarly, the seller’s host on the seller’s side will also host its digital assets on its own in another. Blockchain smart contracts. Therefore, unlike the traditional third-party custody, when the transaction dispute occurs, the deposit will be frozen in the third party. This creation uses the third-party host to arbitrate whether the off-chain delivery is successful. If it is successful, it will be allowed without the buyer’s consent. When the digital assets of the buyer and seller are transferred, and when the off-chain delivery fails, wait for the overtime of the escrow of the smart contract to be satisfied, so that the smart contract automatically returns the custodial digital assets to the corresponding buyer and seller.

以下配合圖式對本創作基於跨鏈且非託管實體的履約保證交易系統做進一步說明,請先參閱「第1圖」,「第1圖」為本創作基於跨鏈且非託管實體的履約保證交易系統的系統方塊圖,此系統包含:第一區塊鏈110、第二區塊鏈120、第三方主機130、買方端主機140及賣方端主機150。所述第三方主機130、買方端主機140及賣方端主機150可使用個人電腦、筆記型電腦、平板電腦、智慧型手機及伺服器等計算機裝置來實現。其中,第一區塊鏈110用以運行發布的第一智能合約,以及提供「買方端第一錢包地址」及「賣方端第一錢包地址」,也就是數位錢包所具備的錢包地址資訊,其代表區塊鏈上具唯一性的身分識別碼。在實際實施上,所述「買方端第一錢包地址」是指買方端主機140在第一區塊鏈110所使用的錢包地址;所述「賣方端第一錢包地址」是指賣方端主機150在第一區塊鏈110所使用的錢包地址。實際上,由於第三方主機130同樣同時連接第一區塊鏈110及第二區塊鏈120,所以第一區塊鏈110也會提供一個「第三方第一錢包地址」(即:第三方主機130在第一區塊鏈110所使用的錢包地址),但因為不涉及數位資產轉移及為了方便說明,故未特別指出。The following describes the creation of a performance guarantee transaction system based on cross-chain and non-custodial entities with the help of diagrams. Please refer to "Picture 1", which is the creation of performance guarantee transactions based on cross-chain and non-custodial entities A system block diagram of the system. The system includes: a first blockchain 110, a second blockchain 120, a third-party host 130, a buyer-side host 140, and a seller-side host 150. The third-party host 130, the buyer-side host 140, and the seller-side host 150 can be implemented using computer devices such as personal computers, notebook computers, tablet computers, smart phones, and servers. Among them, the first blockchain 110 is used to run the published first smart contract, and provide the "buyer's first wallet address" and "seller's first wallet address", which is the wallet address information possessed by the digital wallet. Represents a unique identification code on the blockchain. In actual implementation, the "buyer-side first wallet address" refers to the wallet address used by the buyer-side host 140 in the first blockchain 110; the "seller-side first wallet address" refers to the seller-side host 150 The wallet address used in the first blockchain 110. In fact, since the third-party host 130 is also connected to the first blockchain 110 and the second blockchain 120 at the same time, the first blockchain 110 will also provide a "third-party first wallet address" (ie: a third-party host 130 is the wallet address used in the first blockchain 110), but because it does not involve the transfer of digital assets and for convenience of explanation, it is not specifically pointed out.

第二區塊鏈120用以運行發布的第二智能合約,以及提供「買方端第二錢包地址」及「賣方端第二錢包地址」,其中,所述第二智能合約包含第二提取函式,其用以接收解鎖密語,並且雜湊所述解鎖密語以與第二智能合約中的買方端雜湊值或第三方雜湊值進行比對,當比對相符時,將第二智能合約託管中的第二數位資產轉移至買方端第二錢包地址,再將所述解鎖密語儲存在第二智能合約中。在實際實施上,所述「買方端第二錢包地址」是指買方端主機140在第二區塊鏈120所使用的錢包地址;所述「賣方端第二錢包地址」是指賣方端主機150在第二區塊鏈120所使用的錢包地址。同樣地,由於第三方主機130也同時連接第一區塊鏈110及第二區塊鏈120,所以第二區塊鏈120也會提供一個「第三方第二錢包地址」(即:第三方主機130在第二區塊鏈120所使用的錢包地址),而且因為第三方第二錢包地址不涉及數位資產轉移及為了方便說明,故未特別指出。The second blockchain 120 is used to run the released second smart contract and provide the "buyer's second wallet address" and "seller's second wallet address", wherein the second smart contract includes a second extraction function , Which is used to receive the unlocking cipher, and hash the unlocking cipher to compare with the buyer-side hash value or the third-party hash value in the second smart contract, and when the comparison matches, the first The two-digit asset is transferred to the buyer's second wallet address, and then the unlock secret code is stored in the second smart contract. In actual implementation, the "buyer-side second wallet address" refers to the wallet address used by the buyer-side host 140 in the second blockchain 120; the "seller-side second wallet address" refers to the seller-side host 150 The wallet address used in the second blockchain 120. Similarly, since the third-party host 130 is also connected to the first blockchain 110 and the second blockchain 120 at the same time, the second blockchain 120 will also provide a "third-party second wallet address" (ie: a third-party host 130 is the wallet address used in the second blockchain 120), and because the third-party second wallet address does not involve digital asset transfer and for convenience of explanation, it is not specifically pointed out.

第三方主機130同時連接第一區塊鏈110及第二區塊鏈120,第三方主機130用以在第一智能合約中設定一個第三方雜湊值,以及在偵測到鏈外交付成功時,執行第二智能合約的第二提取函式且傳送解鎖密語。也就是說,在呼叫所述第二提取函式時,一併將解鎖密語作為參數帶入第二提取函式中,以便進行雜湊計算及比對是否與第三方雜湊值相符。The third-party host 130 is connected to the first blockchain 110 and the second blockchain 120 at the same time. The third-party host 130 is used to set a third-party hash value in the first smart contract and when it detects that the off-chain delivery is successful, Execute the second extraction function of the second smart contract and transmit the unlock password. That is to say, when calling the second extraction function, the unlock secret cipher is taken as a parameter to the second extraction function, so as to perform hash calculation and compare whether it matches the third-party hash value.

買方端主機140同時連接第一區塊鏈110及第二區塊鏈120,此買方端主機140包含:買方端發布模組141及買方端偵測模組142。其中,買方端發布模組141用以在第一區塊鏈110上發布第一智能合約,並且在第一智能合約中設定買方端雜湊值,以及將第一數位資產轉移至第一智能合約託管。買方端偵測模組142用以在偵測到鏈外交付成功時,執行第二智能合約的第二提取函式且傳送解鎖密語。The buyer-side host 140 is simultaneously connected to the first blockchain 110 and the second blockchain 120. The buyer-side host 140 includes: a buyer-side publishing module 141 and a buyer-side detection module 142. Among them, the buyer-side publishing module 141 is used to publish the first smart contract on the first blockchain 110, and set the buyer-side hash value in the first smart contract, and transfer the first digital asset to the first smart contract escrow . The buyer-side detection module 142 is used to execute the second extraction function of the second smart contract and send an unlock secret when it detects that the off-chain delivery is successful.

賣方端主機150同時連接第一區塊鏈110及第二區塊鏈120,此賣方端主機150包含:賣方端發布模組151及賣方端偵測模組152。其中,賣方端發布模組151用以自第一智能合約中獲得買方端雜湊值及第三方雜湊值時,在第二區塊鏈120上發布第二智能合約,並且將第二數位資產轉移至第二智能合約託管。接著,賣方端偵測模組152用以在第二智能合約中偵測到解鎖密語時,執行第一智能合約的第一提取函式,其中,第一提取函式將偵測到的解鎖密語進行雜湊,用以與第一智能合約中的買方端雜湊值或第三方雜湊值進行比對,並且在比對符合時,將第一智能合約託管中的第一數位資產轉移至賣方端第一錢包地址。The seller-side host 150 is simultaneously connected to the first blockchain 110 and the second blockchain 120. The seller-side host 150 includes: a seller-side publishing module 151 and a seller-side detection module 152. Among them, when the seller-side release module 151 is used to obtain the buyer-side hash value and the third-party hash value from the first smart contract, the second smart contract is issued on the second blockchain 120, and the second digital asset is transferred to Second smart contract escrow. Next, the seller-side detection module 152 is used to execute the first extraction function of the first smart contract when the unlock secret code is detected in the second smart contract, wherein the first extraction function will detect the unlock secret code Perform hashing to compare with the buyer-side hash value or third-party hash value in the first smart contract, and when the comparison is met, transfer the first digital asset in the custody of the first smart contract to the seller's first Wallet address.

要補充說明的是,當買方端主機140及第三方主機130皆偵測到鏈外交付失敗時,使第二智能合約超過託管逾時時間,以便將第二智能合約託管中的第二數位資產轉移至賣方端主機150的賣方端第二錢包地址,以及使第一智能合約超過託管逾時時間,以便將第一智能合約託管中的第一數位資產轉移至買方端主機140的買方端第一錢包地址。換句話說,假設鏈外交付失敗,便由第一智能合約將第一數位資產退還給買方端主機140,以及由第二智能合約將第二數位資產退還給賣方端主機150。在實際實施上,偵測鏈外交付是否成功可透過應用程式介面(Application Programming Interface, API)或直接呼叫智能合約的函式來實現,舉例來說,買方收到購買的商品或物流人員確認交付商品,可透過API傳送交付確認訊息,提供買方端主機140判斷為交付成功,反之,假設超過預設時間仍未接收到所述交付確認訊息或接收到退還訊息,則判斷為交付失敗。另外,亦可直接呼叫智能合約的函式來觸發一個交付確認事件,當買方端主機140及第三方主機130偵測到所述交付確認事件被觸發時,判斷為鏈外交付成功,反之,假設超過預設時間仍未偵測到所述交付確認事件被觸發,將判斷為鏈外交付失敗。It should be added that when both the buyer-side host 140 and the third-party host 130 detect the off-chain delivery failure, the second smart contract is exceeded the escrow time-out time, so that the second digital asset in the second smart contract escrow The seller’s second wallet address transferred to the seller’s host 150, and the first smart contract exceeding the escrow timeout, so as to transfer the first digital asset in the escrow of the first smart contract to the buyer’s first of the buyer’s host 140 Wallet address. In other words, assuming that the off-chain delivery fails, the first smart contract returns the first digital asset to the buyer host 140, and the second smart contract returns the second digital asset to the seller host 150. In actual implementation, detecting whether the off-chain delivery is successful can be achieved through the Application Programming Interface (API) or a function that directly calls the smart contract. For example, the buyer receives the purchased goods or logistics personnel to confirm the delivery Commodities can be delivered a delivery confirmation message through the API to provide the buyer host 140 to determine that the delivery was successful. Conversely, if the delivery confirmation message is not received or the return message is received after a preset time, the delivery is determined to be failed. In addition, you can also directly call the function of the smart contract to trigger a delivery confirmation event. When the buyer-side host 140 and the third-party host 130 detect that the delivery confirmation event is triggered, it is determined that the off-chain delivery is successful, otherwise, suppose If the delivery confirmation event is not detected beyond the preset time, it will be judged that the off-chain delivery fails.

特別要說明的是,在實際實施上,本創作所述的各模組皆可利用各種方式來實現,包含軟體、硬體或其任意組合,例如,在某些實施方式中,各模組可利用軟體及硬體或其中之一來實現,除此之外,本創作亦可部分地或完全地基於硬體來實現,例如,系統中的一個或多個模組可以透過積體電路晶片、系統單晶片(System on Chip, SoC)、複雜可程式邏輯裝置(Complex Programmable Logic Device, CPLD)、現場可程式邏輯閘陣列(Field Programmable Gate Array, FPGA)等來實現。本創作可以是系統及/或電腦程式。電腦程式可以包括電腦可讀儲存媒體,其上載有用於使處理器實現本創作的各個方面的電腦可讀程式指令,電腦可讀儲存媒體可以是可以保持和儲存由指令執行設備使用的指令的有形設備。電腦可讀儲存媒體可以是但不限於電儲存設備、磁儲存設備、光儲存設備、電磁儲存設備、半導體儲存設備或上述的任意合適的組合。電腦可讀儲存媒體的更具體的例子(非窮舉的列表)包括:硬碟、隨機存取記憶體、唯讀記憶體、快閃記憶體、光碟、軟碟以及上述的任意合適的組合。此處所使用的電腦可讀儲存媒體不被解釋爲瞬時信號本身,諸如無線電波或者其它自由傳播的電磁波、通過波導或其它傳輸媒介傳播的電磁波(例如,通過光纖電纜的光信號)、或者通過電線傳輸的電信號。另外,此處所描述的電腦可讀程式指令可以從電腦可讀儲存媒體下載到各個計算/處理設備,或者通過網路,例如:網際網路、區域網路、廣域網路及/或無線網路下載到外部電腦設備或外部儲存設備。網路可以包括銅傳輸電纜、光纖傳輸、無線傳輸、路由器、防火牆、交換器、集線器及/或閘道器。每一個計算/處理設備中的網路卡或者網路介面從網路接收電腦可讀程式指令,並轉發此電腦可讀程式指令,以供儲存在各個計算/處理設備中的電腦可讀儲存媒體中。執行本創作操作的電腦程式指令可以是組合語言指令、指令集架構指令、機器指令、機器相關指令、微指令、韌體指令、或者以一種或多種程式語言的任意組合編寫的原始碼或目的碼(Object Code),所述程式語言包括物件導向的程式語言,如:Common Lisp、Python、C++、Objective-C、Smalltalk、Delphi、Java、Swift、C#、Perl、Ruby與PHP等,以及常規的程序式(Procedural)程式語言,如:C語言或類似的程式語言。計算機可讀程式指令可以完全地在電腦上執行、部分地在電腦上執行、作爲一個獨立的軟體執行、部分在客戶端電腦上部分在遠端電腦上執行、或者完全在遠端電腦或伺服器上執行。In particular, in actual implementation, each module described in this creation can be implemented in various ways, including software, hardware, or any combination thereof. For example, in some embodiments, each module may Using software and hardware or one of them, in addition, this creation can also be implemented partially or completely based on hardware, for example, one or more modules in the system can be integrated circuit chip, System on Chip (SoC), Complex Programmable Logic Device (CPLD), Field Programmable Gate Array (FPGA), etc. are implemented. This creation can be a system and/or computer program. The computer program may include a computer-readable storage medium that is loaded with computer-readable program instructions for enabling the processor to implement various aspects of the present creation. The computer-readable storage medium may be a tangible form that can hold and store instructions used by the instruction execution device equipment. The computer-readable storage medium may be, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive lists) of computer-readable storage media include hard disks, random access memory, read-only memory, flash memory, optical disks, floppy disks, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be interpreted as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, optical signals through fiber optic cables), or through wires The transmitted electrical signal. In addition, the computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing/processing devices, or via a network, such as the Internet, local area network, wide area network, and/or wireless network To external computer equipment or external storage devices. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, hubs, and/or gateways. The network card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for computer-readable storage media stored in each computing/processing device in. The computer program instructions to perform this creation operation may be combined language instructions, instruction set architecture instructions, machine instructions, machine-related instructions, microinstructions, firmware instructions, or source code or object code written in any combination of one or more programming languages (Object Code), the programming language includes object-oriented programming languages, such as: Common Lisp, Python, C++, Objective-C, Smalltalk, Delphi, Java, Swift, C#, Perl, Ruby, PHP, etc., as well as conventional programs Procedural programming language, such as: C language or similar programming language. Computer readable program instructions can be executed entirely on the computer, partly on the computer, as a stand-alone software, partly on the client computer and partly on the remote computer, or entirely on the remote computer or server On the implementation.

請參閱「第2A圖」及「第2B圖」,「第2A圖」及「第2B圖」為本創作基於跨鏈且非託管實體的履約保證交易方法的方法流程圖,應用在具有第一區塊鏈110及第二區塊鏈120的網路環境中,其步驟包括:提供同時連接第一區塊鏈110及第二區塊鏈120的第三方主機130、買方端主機140及賣方端主機150(步驟210);買方端主機140在第一區塊鏈110上發布第一智能合約,並且在第一智能合約中設定買方端雜湊值,以及將第一數位資產轉移至第一智能合約託管(步驟220);第三方主機130在第一智能合約中設定第三方雜湊值(步驟230);當賣方端主機140自第一智能合約中獲得買方端雜湊值及第三方雜湊值時,在第二區塊鏈120上發布第二智能合約,並且將第二數位資產轉移至第二智能合約託管(步驟240);買方端主機140及第三方主機130對鏈外交付進行偵測,當買方端主機140及第三方主機130至少其中之一偵測到鏈外交付成功時,執行第二智能合約的第二提取函式,其中,此第二提取函式自買方端主機140及第三方主機130至少其中之一接收相應的解鎖密語,並且雜湊所述解鎖密語以與第二智能合約中的買方端雜湊值或第三方雜湊值進行比對,當比對相符時,將第二智能合約託管中的第二數位資產轉移至買方端主機140的買方端第二錢包地址,再將所述解鎖密語儲存在第二智能合約中(步驟250);賣方端主機150對第二智能合約中的解鎖密語進行偵測,當賣方端主機150在第二智能合約中偵測到所述解鎖密語時,執行第一智能合約的第一提取函式,其中,第一提取函式將偵測到的解鎖密語進行雜湊,用以與第一智能合約中的買方端雜湊值或第三方雜湊值進行比對,並且在比對符合時,將第一智能合約託管中的第一數位資產轉移至賣方端主機150的賣方端第一錢包地址(步驟260)。透過上述步驟,即可透過買方端主機140及賣方端主機150分別在不同區塊鏈的智能合約託管數位資產,並且根據交易實體在鏈外交付的結果,相互轉移或退還彼此在智能合約託管的數位資產,以及允許第三方主機130在不託管交易實體的情況下,進行交易仲裁以判斷鏈外交付是否成功,當判斷鏈外交付成功時,無需買方端主機140同意,即能夠相互轉移買方端主機140及賣方端主機150託管的數位資產。Please refer to "Picture 2A" and "Picture 2B". "Picture 2A" and "Picture 2B" are flow charts of methods for creating performance-based guarantee transaction methods based on cross-chain and non-custodial entities. In the network environment of the blockchain 110 and the second blockchain 120, the steps include: providing a third-party host 130, a buyer-side host 140, and a seller-side that simultaneously connect the first blockchain 110 and the second blockchain 120 Host 150 (step 210); buyer-side host 140 issues the first smart contract on the first blockchain 110, and sets the buyer-side hash value in the first smart contract, and transfers the first digital asset to the first smart contract Escrow (step 220); the third-party host 130 sets the third-party hash value in the first smart contract (step 230); when the seller-side host 140 obtains the buyer-side hash value and the third-party hash value from the first smart contract, at The second smart contract is issued on the second blockchain 120, and the second digital asset is transferred to the second smart contract escrow (step 240); the buyer-side host 140 and the third-party host 130 detect the off-chain delivery, when the buyer When at least one of the end host 140 and the third-party host 130 detects that the off-chain delivery is successful, the second extraction function of the second smart contract is executed, where the second extraction function is from the buyer-side host 140 and the third-party host 130 At least one of them receives the corresponding unlocking cipher and hash the unlocking cipher to compare with the buyer-side hash value or the third-party hash value in the second smart contract, and when the comparison matches, escrow the second smart contract The second digital asset in is transferred to the buyer’s second wallet address of the buyer’s host 140, and then the unlock secret is stored in the second smart contract (step 250); the seller’s host 150 unlocks the second smart contract The secret code is detected, and when the seller-side host 150 detects the unlock secret code in the second smart contract, the first extraction function of the first smart contract is executed, wherein the first extraction function will detect the unlock The secret word is hashed to compare with the buyer-side hash value or third-party hash value in the first smart contract, and when the comparison is met, the first digital asset in the custody of the first smart contract is transferred to the seller-side host 150 Seller's first wallet address (step 260). Through the above steps, you can use the buyer's host 140 and the seller's host 150 to host digital assets in different blockchain smart contracts, and transfer or refund each other based on the results of the transaction entity's off-chain delivery. Digital assets, and allow third-party host 130 to conduct transaction arbitration to determine whether the off-chain delivery is successful without escrowing the transaction entity. When the off-chain delivery is successful, the buyer's host 140 can transfer each other without the consent of the buyer's host 140 The digital assets hosted by the host 140 and the seller-side host 150.

在步驟260之後,假設買方端主機140及第三方主機130皆偵測到鏈外交付失敗,使第二智能合約超過託管逾時時間以將第二智能合約託管中的第二數位資產轉移至賣方端主機150的賣方端第二錢包地址,以及使第一智能合約超過託管逾時時間以將第一智能合約託管中的第一數位資產轉移至買方端主機的買方端第一錢包地址(步驟270)。如此一來,即可完成將數位資產退還給原持有者的流程。After step 260, it is assumed that both the buyer-side host 140 and the third-party host 130 detect that the off-chain delivery fails, causing the second smart contract to exceed the custody timeout time to transfer the second digital asset in the custody of the second smart contract to the seller The seller's second wallet address of the end host 150, and the first smart contract exceeding the escrow timeout to transfer the first digital asset in the custody of the first smart contract to the buyer's first wallet address of the buyer's host (step 270 ). In this way, the process of returning digital assets to the original holder can be completed.

以下配合「第3圖」至「第5圖」以實施例的方式進行如下說明,請先參閱「第3圖」,「第3圖」為應用本創作的履約保證交易流程之示意圖。首先,在具有第一區塊鏈110及第二區塊鏈120的環境下,買方端主機140、第三方主機130及賣方端主機150皆能夠同時與第一區塊鏈110及第二區塊鏈120連接,並且執行發布在上面的智能合約(如:第一智能合約及第二智能合約)及其包含的函式。因此,買方端主機140在第一區塊鏈110具有買方端第一錢包地址,在第二區塊鏈120具有買方端第二錢包地址;賣方端主機150在第一區塊鏈110具有賣方端第一錢包地址,在第二區塊鏈120具有賣方端第二錢包地址;第三方主機130在第一區塊鏈110具有第三方第一錢包地址,在第二區塊鏈120具有第三方第二錢包地址。其中,買方端主機140可視為買方、賣方端主機150可視為賣方、第三方主機130可視為交易平台或物流平台,整體的履約保證交付流程如下:The following description will be made in conjunction with "Picture 3" to "Picture 5" by way of example. Please refer to "Picture 3" first. "Picture 3" is a schematic diagram of the performance guarantee transaction process applying this creation. First of all, in an environment with a first blockchain 110 and a second blockchain 120, the buyer-side host 140, the third-party host 130, and the seller-side host 150 can all communicate with the first blockchain 110 and the second block The chain 120 is connected, and executes the smart contracts (such as the first smart contract and the second smart contract) and the functions contained therein. Therefore, the buyer-side host 140 has the buyer-side first wallet address on the first blockchain 110 and the buyer-side second wallet address on the second blockchain 120; the seller-side host 150 has the seller-side on the first blockchain 110 The first wallet address has the seller's second wallet address on the second blockchain 120; the third-party host 130 has the third-party first wallet address on the first blockchain 110 and the third-party first wallet address on the second blockchain 120 Second wallet address. Among them, the buyer-side host 140 can be regarded as the buyer, the seller-side host 150 can be regarded as the seller, and the third-party host 130 can be regarded as the trading platform or logistics platform. The overall performance guarantee delivery process is as follows:

1. 發起方(或稱為買方)可以在買方端主機140設置一個解鎖密語,並且由買方端主機140進行雜湊計算後得到一個相應的買方端雜湊值,接著,買方端主機140在第一區塊鏈110上發布第一智能合約,此第一智能合約允許設定相應的參數,例如:賣方端第一錢包地址、第三方第一錢包地址、欲託管給第一智能合約的第一數位資產、託管逾時時間、買方端雜湊值、第三方雜湊值及使用的雜湊演算法,如:訊息摘要演算法第五版(Message-Digest Algorithm 5, MD5)及安全雜湊演算法(Secure Hash Algorithm, SHA)等等。1. The initiator (or buyer) can set an unlock passphrase on the buyer host 140, and the buyer host 140 performs a hash calculation to obtain a corresponding buyer hash value. Then, the buyer host 140 is in the first area The first smart contract is published on the block chain 110. This first smart contract allows setting corresponding parameters, such as: the seller's first wallet address, the third party's first wallet address, the first digital asset to be escrowed to the first smart contract, Custodian timeout, buyer-side hash value, third-party hash value and hash algorithm used, such as: Message Digest Algorithm 5 (MD5) and Secure Hash Algorithm (SHA) )and many more.

2. 買方端主機140將第一數位資產交由第一智能合約託管,也就是將第一數位資產傳送至第一智能合約的合約地址,以便將欲託管的第一數位資產的所有權轉移給第一智能合約,由第一智能合約持有及管理第一數位資產,直到順利支付給賣方端主機150或是退還給買方端主機140為止。2. The buyer-side host 140 hands the first digital asset to the first smart contract for escrow, that is, transfers the first digital asset to the contract address of the first smart contract, so as to transfer the ownership of the first digital asset to be managed to the first A smart contract, where the first smart contract holds and manages the first digital asset until it is successfully paid to the seller-side host 150 or returned to the buyer-side host 140.

3. 在第一智能合約發布在第一區塊鏈110之後,第三方主機130同樣設置一個解鎖密語,並且由第三方主機130進行雜湊計算,以便得到相應的一個第三方雜湊值,接著再將此第三方雜湊值設置在第一智能合約。在實際實施上,第三方主機130與買方端主機140均各自設置獨立的解鎖密語,而且彼此之間也無從得知對方設置的解鎖密語。另外,第三方主機130與買方端主機140所使用的雜湊演算法可以相同或不同,只不過需要在第一智能合約中記載使用的雜湊演算法,以避免雖然使用正確的解鎖密語,卻因為相異的雜湊演算法而導致計算出的雜湊值無法匹配的情況。實際上,倘若使用相同的雜湊演算法,可直接偵測第一智能合約所使用的雜湊演算法,再以相同的雜湊演算法計算出第三方雜湊值。3. After the first smart contract is published on the first blockchain 110, the third-party host 130 also sets an unlock secret, and the third-party host 130 performs a hash calculation to obtain a corresponding third-party hash value, and then This third-party hash value is set in the first smart contract. In actual implementation, the third-party host 130 and the buyer-side host 140 each set an independent unlock password, and there is no way to know the unlock password set by the other party. In addition, the hash algorithm used by the third-party host 130 and the buyer-side host 140 may be the same or different, except that the hash algorithm used in the first smart contract needs to be recorded to avoid using the correct unlock password but A different hash algorithm results in a situation where the calculated hash value cannot match. In fact, if the same hash algorithm is used, the hash algorithm used by the first smart contract can be directly detected, and then the third party hash value can be calculated by the same hash algorithm.

4. 賣方端主機150會持續偵測第一智能合約是否存在買方端雜湊值及第三方雜湊值,倘若存在,便自第一智能合約中取得買方端雜湊值、第三方雜湊值、使用的雜湊演算法、託管逾時時間等等。4. The seller-side host 150 will continue to detect whether the first smart contract has a buyer-side hash value and a third-party hash value. If it exists, it will obtain the buyer-side hash value, third-party hash value, and used hash from the first smart contract Algorithms, custody timeouts, etc.

5. 在取得買方端雜湊值及第三方雜湊值之後,賣方端主機150會發布第二智能合約及設定其參數,如:買方端第二錢包地址、第三方第二錢包地址、欲託管交付的第二數位資產、託管逾時時間(需早於第一智能合約的託管逾時時間)、買方端雜湊值、第三方雜湊值及使用的雜湊演算法等等。5. After obtaining the buyer-side hash value and the third-party hash value, the seller-side host 150 will release the second smart contract and set its parameters, such as: the buyer's second wallet address, the third-party second wallet address, and the delivery Second digital assets, custody timeout (need to be earlier than the custody timeout of the first smart contract), buyer-side hash value, third-party hash value and hash algorithm used, etc.

6. 賣方端主機150將第二數位資產交由第二智能合約託管,其託管方式與買方端主機140將第一數位資產交由第一智能合約託管的方式相同。以電子商務(包含跨境商務或電商平台)為例,第二數位資產可為數位化的產品保證書、保固卡、電子發票等等;以房地產履約保證交易為例,第二數位資產可為數位化的土地房屋權狀;以權證交易為例(如:股權、 債權、P2P借貸、智財權等等),第二數位資產為數位權證;以物聯網(Internet of Things, IoT)為例,第二數位資產可為數位啟動權利證明,如:啟動序號。6. The seller-side host 150 hands the second digital asset to the second smart contract for custody, in the same manner as the buyer-side host 140 hands the first digital asset to the first smart contract for custody. Taking e-commerce (including cross-border business or e-commerce platforms) as an example, the second digital asset can be a digital product guarantee, warranty card, electronic invoice, etc.; taking the real estate performance guarantee transaction as an example, the second digital asset can be Digitalized land and house title; take warrant transactions as an example (such as: equity, debt, P2P lending, intellectual property rights, etc.), the second digital asset is a digital warrant; take the Internet of Things (Internet of Things, IoT) as an example, The second digital asset may be a digital activation right certificate, such as: activation serial number.

7. 當買方端主機140或第三方主機130偵測到鏈外交付成功時,執行第二智能合約的第二提取函式並傳送相應的解鎖密語,以及將解鎖密語儲存在第二智能合約。7. When the buyer-side host 140 or the third-party host 130 detects that the off-chain delivery is successful, it executes the second extraction function of the second smart contract and transmits the corresponding unlock password, and stores the unlock password in the second smart contract.

8. 第二提取函式會將接收到的解鎖密語以第二智能合約中記載使用的雜湊演算法進行雜湊,並且將雜湊結果與第二智能合約中相應的買方端雜湊值或第三方雜湊值進行比對,當比對結果相符時,轉移第二數位資產至買方端主機140的買方端第二錢包地址。8. The second extraction function will hash the received unlock cipher with the hash algorithm used in the second smart contract, and the hash result with the corresponding buyer-side hash value or third-party hash value in the second smart contract. The comparison is performed, and when the comparison result matches, the second digital asset is transferred to the buyer-side second wallet address of the buyer-side host 140.

9. 賣方端主機150自第二智能合約中取得其儲存的解鎖密語,以便使用此解鎖密語向第一智能合約要求轉移第一數位資產。舉例來說,假設買方端主機140傳送的解鎖密語與第二智能合約的買方端雜湊值相符,賣方端主機150便取得在第二智能合約中公開且相應於買方端主機140的解鎖密語;假設第三方主機130傳送的解鎖密語與第二智能合約的第三方雜湊值相符,賣方端主機150便取得在第二智能合約中公開且相應於第三方主機130的解鎖密語。9. The seller-side host 150 obtains its stored unlock cipher from the second smart contract, so as to use the unlock cipher to request the transfer of the first digital asset to the first smart contract. For example, assuming that the unlock cipher sent by the buyer's host 140 matches the buyer's hash value of the second smart contract, the seller's host 150 obtains the unlock cipher that is disclosed in the second smart contract and corresponds to the buyer's host 140; The unlock cipher sent by the third-party host 130 matches the third-party hash value of the second smart contract, and the seller-side host 150 obtains the unlock cipher that is disclosed in the second smart contract and corresponds to the third-party host 130.

10. 賣方端主機150執行第一智能合約的第一提取函式並傳送上一步驟所取得的解鎖密語,此第一提取函式會比對此解鎖密語的雜湊值與買方端雜湊值或第三方雜湊值是否相符。舉例來說,假設賣方端主機150在第二智能合約中取得買方端主機140的解鎖密語,賣方端主機150會執行第一智能合約的第一提取函式,並且將所述解鎖密語作為參數帶入第一提取函式,此第一提取函式會使用與買方端雜湊值相同的雜湊演算法對解鎖密語進行雜湊,若雜湊的結果與買方端雜湊值相同則代表兩者相符。10. The seller-side host 150 executes the first extraction function of the first smart contract and transmits the unlock password obtained in the previous step. This first extraction function compares the hash value of the unlock password with the buyer's hash value or Whether the three-party hash value matches. For example, assuming that the seller-side host 150 obtains the unlocking cipher of the buyer-side host 140 in the second smart contract, the seller-side host 150 will execute the first extraction function of the first smart contract and use the unlocking cipher as a parameter band Into the first extraction function, this first extraction function will use the same hash algorithm as the buyer's hash value to hash the unlock password. If the hash result is the same as the buyer's hash value, it means that the two match.

11. 在解鎖密語的雜湊值與買方端雜湊值或第三方雜湊值相符時,轉移第一數位資產至賣方端主機150的賣方端第一錢包地址。至此,即完成基於跨鏈且非託管實體的履約保證交易交易,也就是完成買方端主機140與賣方端主機150在智能合約託管的數位資產之交付。雖然在過程中並非同時交付,但是能夠保證一旦賣方端主機150的交付被執行,賣方端主機150便能夠要求買方端主機140的交付也被執行。11. When the hash value of the unlock cipher matches the buyer's hash value or third-party hash value, transfer the first digital asset to the seller's first wallet address of the seller's host 150. So far, the completion of the performance guarantee transaction based on the cross-chain and non-custodial entity is completed, that is, the completion of the delivery of the digital assets hosted by the buyer-side host 140 and the seller-side host 150 in the smart contract. Although the delivery is not simultaneous in the process, it can be guaranteed that once the delivery of the seller-side host 150 is performed, the seller-side host 150 can request the delivery of the buyer-side host 140 to also be performed.

除此之外,假設買方端主機140判斷鏈外交付失敗,欲進行數位資產的退還,則不採取操作行為。待第一智能合約逾時後,買方端主機140取回託管在第一智能合約的第一數位資產。接著,在第二智能合約逾時後,賣方端主機150取回託管在第二智能合約的第二數位資產。至此,即完成所有數位資產的退還,雖然並非同時退還,但是能夠保證若買方端主機140沒有提取賣方端主機150欲交付的第二數位資產,則賣方端主機150便無法取得必要的解鎖密語,用以提取買方端主機140欲交付的第一數位資產。因此,在託管逾時後,雙方可各自取回其託管的數位資產,亦即數位資產皆會退還原持有者。In addition, assuming that the buyer-side host 140 determines that the off-chain delivery has failed, and wants to return the digital asset, no action is taken. After the first smart contract expires, the buyer-side host 140 retrieves the first digital asset escrowed in the first smart contract. Then, after the second smart contract expires, the seller-side host 150 retrieves the second digital asset escrowed in the second smart contract. At this point, the return of all digital assets is completed, although not at the same time, but it can be guaranteed that if the buyer-side host 140 does not withdraw the second digital asset that the seller-side host 150 intends to deliver, the seller-side host 150 cannot obtain the necessary unlock password. It is used to extract the first digital asset to be delivered by the buyer host 140. Therefore, after the custody expires, both parties can retrieve the digital assets under their custody, that is, the digital assets will be returned to the holders.

另外,假設交易發生爭議,例如:買方端主機140欲要求退還託管中的第一數位資產,而賣方端主機150則要求支付第一數位資產。此時,第三方主機130可介入託管交易進行仲裁。倘若第三方主機130判斷鏈外交付已完成,將仲裁進行所有數位資產的交付流程,具體來說,第三方主機130會在託管逾時前,執行第二智能合約的第二提取函式且傳送解鎖密語,以便在雜湊的解鎖密語與第二智能合約中的第三方雜湊值相符時,使第二智能合約將託管中的第二數位資產轉移給買方端第二錢包地址,並且將解鎖密語公開儲存在第二智能合約中。接著,當賣方端主機150偵測到第二智能合約中公開儲存的解鎖密語時,便能夠執行第一智能合約的第一提取函式,由此第一提取函式將偵測到的解鎖密語進行雜湊,用以與第一智能合約中的第三方雜湊值進行比對,並且在比對符合時,將第一智能合約託管中的第一數位資產轉移至賣方端第一錢包地址。至此,基於第三方主機130的仲裁結果(即:鏈外交付完成),完成所有數位資產的交付流程。另一方面,倘若第三方主機130判斷鏈外交付失敗,將仲裁進行所有數位資產的退還流程,可藉由使第一智能合約及第二智能合約皆逾時的方式,如:不進行任何操作致使智能合約逾時,以便買方端主機140自第一智能合約取回託管的第一數位資產,以及賣方端主機150自第二智能合約取回託管的第二數位資產。至此,基於第三方主機130的仲裁結果(即:鏈外交付失敗),完成所有數位資產的退還流程。In addition, suppose that the transaction is disputed, for example, the buyer-side host 140 wants to request the return of the first digital asset in custody, and the seller-side host 150 requires the payment of the first digital asset. At this time, the third-party host 130 may intervene in the escrow transaction for arbitration. If the third-party host 130 judges that the off-chain delivery has been completed, it will arbitrate for the delivery process of all digital assets. Specifically, the third-party host 130 will execute the second extraction function of the second smart contract and send it before the custody timeout. Unlock the secret code, so that when the hashed unlock secret code matches the third-party hash value in the second smart contract, the second smart contract transfers the second digital asset in custody to the buyer's second wallet address, and the unlock secret code is made public Stored in the second smart contract. Then, when the seller-side host 150 detects the unlock secret cipher that is publicly stored in the second smart contract, it can execute the first extraction function of the first smart contract, whereby the first extraction function will detect the unlock secret cipher Hashing is performed to compare with the third-party hash value in the first smart contract, and when the comparison is met, the first digital asset in the custody of the first smart contract is transferred to the seller's first wallet address. At this point, based on the arbitration result of the third-party host 130 (ie, the off-chain delivery is completed), the delivery process of all digital assets is completed. On the other hand, if the third-party host 130 judges that the off-chain delivery fails, it will arbitrate for the return process of all digital assets, by making the first smart contract and the second smart contract both expire, such as: no operation The smart contract is caused to time out so that the buyer-side host 140 retrieves the escrowed first digital asset from the first smart contract, and the seller-side host 150 retrieves the escrowed second digital asset from the second smart contract. So far, based on the arbitration result of the third-party host 130 (that is, the off-chain delivery fails), the return process of all digital assets is completed.

接著,請參閱「第4圖」,「第4圖」為應用本創作於買方端主機進行履約保證交易之示意圖。假設位於買方端主機140的買方欲針對購買的商品在交易平台進行支付,可開啟交易平台提供的結帳視窗400,並且在確認商品圖片411、賣方的錢包地址412及商品的價格413均無誤之後,在輸入區塊414中輸入自訂的解鎖密語,以及在選擇元件415選擇一種雜湊演算法(如:MD5、SHA等等),接著,點選支付元件416以執行支付。此時,買方端主機140會在第一智能合約發布第一智能合約,將與價格413相應的數位資產作為第一數位資產且託管於第一智能合約。在實際實施上,所述第一智能合約的參數包含:買方在第一區塊鏈110的錢包地址(即:買方端第一錢包地址)、賣方在第一區塊鏈110的錢包地址(即:賣方端第一錢包地址)、交易平台在第一區塊鏈110的錢包地址(即:第三方第一錢包地址)、欲託管交付的第一數位資產(如:一個以太幣「1 ETH」)、託管逾時時間、買方端雜湊值、第三方雜湊值、使用的雜湊演算法等等。其中,買方端雜湊值是將輸入的解鎖密語以選擇的雜湊演算法進行雜湊後所生成;使用的雜湊演算法則是根據選擇元件415所選擇雜湊演算法進行設定;第三方雜湊值則留待第三方主機130進行設定。至於託管逾時時間則可使用預設值或任意指定的方式進行設定。Next, please refer to "Picture 4". "Picture 4" is a schematic diagram of using this book to perform performance guarantee transactions on the buyer's host. Assuming that the buyer at the buyer’s host 140 wants to pay for the purchased goods on the trading platform, he can open the checkout window 400 provided by the trading platform, and after confirming that the product picture 411, the seller’s wallet address 412, and the product price 413 are correct In the input block 414, enter a customized unlock password, and select a hash algorithm (such as MD5, SHA, etc.) in the selection element 415, and then click the payment element 416 to perform payment. At this time, the buyer-side host 140 will publish the first smart contract in the first smart contract, use the digital asset corresponding to the price 413 as the first digital asset and deposit it in the first smart contract. In actual implementation, the parameters of the first smart contract include: the buyer's wallet address on the first blockchain 110 (ie: the buyer's first wallet address), and the seller's wallet address on the first blockchain 110 (ie : The first wallet address of the seller's end), the wallet address of the trading platform on the first blockchain 110 (ie: the third-party first wallet address), and the first digital asset to be delivered by escrow (for example: an Ethereum "1 ETH" ), escrow timeout, buyer-side hash value, third-party hash value, hash algorithm used, etc. Among them, the buyer-side hash value is generated by hashing the input unlock password with the selected hash algorithm; the hash algorithm used is set according to the hash algorithm selected by the selection component 415; the third-party hash value is left to the third party The host 130 makes settings. As for the custody timeout time, you can use the preset value or any specified way to set.

接下來,如「第5圖」所示意,「第5圖」為應用本創作於第三方主機設定解鎖密語之示意圖。當第一智能合約發布後,作為交易平台的第三方主機130可以產生設定視窗500,用以提示在輸入區塊510中輸入相應此筆交易的解鎖密語,並且在完成輸入後,點選確定元件520,以便根據第一智能合約記載使用的雜湊演算法對此解鎖密語進行雜湊,進而獲得第三方雜湊值且設定在第一智能合約。在實際實施上,除了產生設定視窗500提示輸入解鎖密語的方式之外,亦可在此筆交易產生時,不產生設定視窗500,而是直接自動以隨機亂數的方式產生相應此筆交易的解鎖密語,接著再以第一智能合約記載使用的雜湊演算法進行雜湊生成第三方雜湊值,並且將生成的第三方雜湊值作為參數設定在第一智能合約中。需要注意的是,無論解鎖密語如何產生,第三方主機130皆需要記錄每一筆交易及其對應的解鎖密語,以便在第三方主機130判斷交易鏈外交付成功時,能夠將所述解鎖密語提供給第二智能合約,用以公開解鎖密語,同時將第二數位資產轉移給買方端第二錢包地址。Next, as shown in "Picture 5", "Picture 5" is a schematic diagram of applying this creation to a third-party host to set an unlock password. After the first smart contract is released, the third-party host 130 as a trading platform can generate a setting window 500 to prompt the user to enter the unlock password for the corresponding transaction in the input block 510, and after completing the input, click the confirm element 520, in order to hash the unlock cipher according to the hash algorithm used in the first smart contract, and then obtain a third-party hash value and set it in the first smart contract. In actual implementation, in addition to the method of generating the setting window 500 prompting for the input of the unlock password, the setting window 500 may not be generated when the transaction is generated, but the corresponding corresponding transaction of the transaction may be automatically generated directly by random random numbers. Unlock the cipher, and then use the hash algorithm recorded in the first smart contract to hash to generate a third-party hash value, and set the generated third-party hash value as a parameter in the first smart contract. It should be noted that no matter how the unlock secret code is generated, the third-party host 130 needs to record each transaction and its corresponding unlock secret code, so that the third-party host 130 can provide the unlock secret code to the transaction when the third-party host 130 determines that the transaction is successfully delivered outside the chain. The second smart contract is used to publicly unlock the secret word, and at the same time transfer the second digital asset to the buyer's second wallet address.

綜上所述,可知本創作與先前技術之間的差異在於透過買方端主機及賣方端主機分別在不同區塊鏈的智能合約託管數位資產,並且根據交易實體在鏈外交付的結果,相互轉移或退還彼此在智能合約託管的數位資產,以及允許第三方主機在不託管交易實體的情況下,進行交易仲裁以判斷鏈外交付是否成功,當判斷鏈外交付成功時,無需買方端主機同意,即能夠相互轉移買方端主機及賣方端主機託管的數位資產,藉由此一技術手段可以解決先前技術所存在的問題,進而達成提高履約保證的可靠性之技術功效。In summary, the difference between this creation and the previous technology is that the buyer-side host and the seller-side host respectively host digital assets in smart contracts in different blockchains, and transfer each other according to the results of the transaction entity's delivery outside the chain. Or refund each other’s digital assets hosted in smart contracts, and allow third-party hosts to conduct transaction arbitration to determine whether the off-chain delivery is successful without hosting the transaction entity. When the off-chain delivery is successful, the buyer’s host is not required to agree. That is, the digital assets hosted by the buyer's host and the seller's host can be transferred to each other, and by this technical means, the problems of the previous technology can be solved, and then the technical effect of improving the reliability of the performance guarantee can be achieved.

雖然本創作以前述之實施例揭露如上,然其並非用以限定本創作,任何熟習相像技藝者,在不脫離本創作之精神和範圍內,當可作些許之更動與潤飾,因此本創作之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。Although this creation is disclosed as above with the foregoing embodiments, it is not intended to limit this creation. Anyone who is familiar with similar arts and crafts can make some changes and retouching without departing from the spirit and scope of this creation. The scope of patent protection shall be determined by the scope of the patent application attached to this specification.

110:第一區塊鏈 120:第二區塊鏈 130:第三方主機 140:買方端主機 141:買方端發布模組 142:買方端偵測模組 150:賣方端主機 151:賣方端發布模組 152:賣方端偵測模組 400:結帳視窗 411:商品圖片 412:賣方的錢包地址 413:價格 414:輸入區塊 415:選擇元件 416:支付元件 500:設定視窗 510:輸入區塊 520:確定元件 步驟210:提供同時連接第一區塊鏈及第二區塊鏈的一買方端主機、一賣方端主機及一第三方主機 步驟220:該買方端主機在該第一區塊鏈上發布一第一智能合約,並且在該第一智能合約中設定一買方端雜湊值,以及將一第一數位資產轉移至該第一智能合約託管 步驟230:該第三方主機在該第一智能合約中設定一第三方雜湊值 步驟240:當該賣方端主機自該第一智能合約中獲得該買方端雜湊值及該第三方雜湊值時,在一第二區塊鏈上發布一第二智能合約,並且將一第二數位資產轉移至該第二智能合約託管 步驟250:該買方端主機及該第三方主機對鏈外交付進行偵測,當該買方端主機及該第三方主機至少其中之一偵測到鏈外交付成功時,執行該第二智能合約的一第二提取函式,其中,該第二提取函式自該買方端主機及該第三方主機至少其中之一接收相應的一解鎖密語,並且雜湊所述解鎖密語以與該第二智能合約中的該買方端雜湊值或該第三方雜湊值進行比對,當比對相符時,將該第二智能合約託管中的該第二數位資產轉移至該買方端主機的一買方端第二錢包地址,再將所述解鎖密語儲存在該第二智能合約中 步驟260:該賣方端主機對該第二智能合約中的所述解鎖密語進行偵測,當該賣方端主機在該第二智能合約中偵測到所述解鎖密語時,執行該第一智能合約的一第一提取函式,其中,該第一提取函式將偵測到的所述解鎖密語進行雜湊,用以與該第一智能合約中的該買方端雜湊值或該第三方雜湊值進行比對,並且在比對符合時,將該第一智能合約託管中的該第一數位資產轉移至該賣方端主機的一賣方端第一錢包地址 步驟270:當該買方端主機及該第三方主機皆偵測到鏈外交付失敗時,使該第二智能合約超過一託管逾時時間以將該第二智能合約託管中的該第二數位資產轉移至該賣方端主機的一賣方端第二錢包地址,以及使該第一智能合約超過該託管逾時時間以將該第一智能合約託管中的該第一數位資產轉移至該買方端主機的一買方端第一錢包地址 110: the first blockchain 120: Second blockchain 130: Third-party host 140: Buyer's host 141: Buyer release module 142: Buyer-side detection module 150: seller host 151: The seller releases the module 152: Seller-side detection module 400: checkout window 411: Product picture 412: Seller's wallet address 413: price 414: Input block 415: Select component 416: Payment element 500: setting window 510: input block 520: Identify components Step 210: Provide a buyer-side host, a seller-side host, and a third-party host that simultaneously connect the first blockchain and the second blockchain Step 220: The buyer host issues a first smart contract on the first blockchain, and sets a buyer hash value in the first smart contract, and transfers a first digital asset to the first smart Contract custody Step 230: The third-party host sets a third-party hash value in the first smart contract Step 240: When the seller-side host obtains the buyer-side hash value and the third-party hash value from the first smart contract, a second smart contract is issued on a second blockchain, and a second digital Asset transfer to the second smart contract escrow Step 250: The buyer-side host and the third-party host detect off-chain delivery. When at least one of the buyer-side host and the third-party host detects that the off-chain delivery is successful, the second smart contract is executed. A second extraction function, wherein the second extraction function receives a corresponding unlock password from at least one of the buyer-side host and the third-party host, and hashs the unlock password to the second smart contract Compare the buyer’s hash value or the third party’s hash value, and when the comparison matches, transfer the second digital asset in the custody of the second smart contract to a buyer’s second wallet address of the buyer’s host , And then store the unlock code in the second smart contract Step 260: The seller-side host detects the unlocking cipher in the second smart contract, and when the seller-side host detects the unlocking cipher in the second smart contract, execute the first smart contract A first extraction function of the first extraction function, wherein the first extraction function hashes the detected unlock cipher for use with the buyer-side hash value or the third-party hash value in the first smart contract Compare, and when the match is met, transfer the first digital asset in the custody of the first smart contract to a seller's first wallet address of the seller's host Step 270: When both the buyer-side host and the third-party host detect out-of-chain delivery failure, make the second smart contract exceed a escrow time-out time to escrow the second digital asset in the second smart contract Transfer to a seller-side second wallet address of the seller-side host, and make the first smart contract exceed the escrow timeout to transfer the first digital asset in the escrow of the first smart contract to the buyer-side host's A buyer's first wallet address

第1圖為本創作基於跨鏈且非託管實體的履約保證交易系統之系統方塊圖。 第2A圖及第2B圖為本創作基於跨鏈且非託管實體的履約保證交易方法之方法流程圖。 第3圖為應用本創作的履約保證交易流程之示意圖。 第4圖為應用本創作於買方端主機進行履約保證交易之示意圖。 第5圖為應用本創作於第三方主機設定解鎖密語之示意圖。 Figure 1 is a system block diagram of creating a performance guarantee transaction system based on cross-chain and non-custodial entities. Figures 2A and 2B are flowcharts of methods for creating a performance guarantee transaction method based on cross-chain and non-custodial entities. Figure 3 is a schematic diagram of the performance guarantee transaction process using this creation. Figure 4 is a schematic diagram of using this book to perform performance guarantee transactions on the buyer's host. Figure 5 is a schematic diagram of applying this creation to a third-party host to set an unlock password.

110:第一區塊鏈 110: the first blockchain

120:第二區塊鏈 120: Second blockchain

130:第三方主機 130: Third-party host

140:買方端主機 140: Buyer's host

141:買方端發布模組 141: Buyer release module

142:買方端偵測模組 142: Buyer-side detection module

150:賣方端主機 150: seller host

151:賣方端發布模組 151: The seller releases the module

152:賣方端偵測模組 152: Seller-side detection module

Claims (5)

一種基於跨鏈且非託管實體的履約保證交易系統,該系統包含: 一第一區塊鏈,用以運行發布的一第一智能合約,以及提供一買方端第一錢包地址及一賣方端第一錢包地址; 一第二區塊鏈,用以運行發布的一第二智能合約,以及提供一買方端第二錢包地址及一賣方端第二錢包地址,其中,該第二智能合約包含一第二提取函式,用以接收一解鎖密語,並且雜湊所述解鎖密語以與該第二智能合約中的一買方端雜湊值或一第三方雜湊值進行比對,當比對相符時,將該第二智能合約託管中的一第二數位資產轉移至該買方端第二錢包地址,再將所述解鎖密語儲存在該第二智能合約中; 一第三方主機,同時連接該第一區塊鏈及該第二區塊鏈,該第三方主機用以在該第一智能合約中設定一第三方雜湊值,以及在偵測到鏈外交付成功時,執行該第二智能合約的該第二提取函式且傳送該解鎖密語; 一買方端主機,同時連接該第一區塊鏈及該第二區塊鏈,該買方端主機包含: 一買方端發布模組,用以在該第一區塊鏈上發布該第一智能合約,並且在該第一智能合約中設定一買方端雜湊值,以及將一第一數位資產轉移至該第一智能合約託管;以及 一買方端偵測模組,用以在偵測到鏈外交付成功時,執行該第二智能合約的該第二提取函式且傳送該解鎖密語;以及 一賣方端主機,同時連接該第一區塊鏈及該第二區塊鏈,該賣方端主機包含: 一賣方端發布模組,用以自該第一智能合約中獲得該買方端雜湊值及該第三方雜湊值時,在該第二區塊鏈上發布該第二智能合約,並且將一第二數位資產轉移至該第二智能合約託管;以及 一賣方端偵測模組,用以在該第二智能合約中偵測到所述解鎖密語時,執行該第一智能合約的一第一提取函式,其中,該第一提取函式將偵測到的所述解鎖密語進行雜湊,用以與該第一智能合約中的該買方端雜湊值或該第三方雜湊值進行比對,並且在比對符合時,將該第一智能合約託管中的該第一數位資產轉移至該賣方端第一錢包地址。 A performance guarantee transaction system based on cross-chain and non-custodial entities, the system includes: A first blockchain for running a first smart contract issued, and providing a buyer's first wallet address and a seller's first wallet address; A second blockchain for running a second smart contract issued, and providing a buyer-side second wallet address and a seller-side second wallet address, where the second smart contract includes a second extraction function , Used to receive an unlocking cipher, and hash the unlocking cipher to compare with a buyer-side hash value or a third-party hash value in the second smart contract, and when the comparison matches, the second smart contract Transfer a second digital asset in custody to the buyer’s second wallet address, and then store the unlocked secret in the second smart contract; A third-party host is connected to the first blockchain and the second blockchain at the same time. The third-party host is used to set a third-party hash value in the first smart contract and detect successful delivery outside the chain When, execute the second extraction function of the second smart contract and transmit the unlock password; A buyer-side host, which connects the first blockchain and the second blockchain at the same time, the buyer-side host includes: A buyer-side publishing module is used to publish the first smart contract on the first blockchain, and set a buyer-side hash value in the first smart contract, and transfer a first digital asset to the first A smart contract escrow; and A buyer-side detection module, which is used to execute the second extraction function of the second smart contract and transmit the unlock secret code when it detects that the off-chain delivery is successful; and A seller-side host, which connects the first blockchain and the second blockchain at the same time, the seller-side host includes: A seller-side release module is used to obtain the buyer-side hash value and the third-party hash value from the first smart contract, and then publish the second smart contract on the second blockchain and transfer a second Digital assets are transferred to the second smart contract escrow; and A seller-side detection module is used to execute a first extraction function of the first smart contract when the unlocking cipher is detected in the second smart contract, wherein the first extraction function will detect Measure the unlocked ciphers for hashing to compare with the buyer-side hash value or the third-party hash value in the first smart contract, and when the comparison meets, escrow the first smart contract The first digital asset is transferred to the first wallet address of the seller. 根據申請專利範圍第1項之基於跨鏈且非託管實體的履約保證交易系統,其中該買方端主機及該第三方主機皆偵測到鏈外交付失敗時,使該第二智能合約超過一託管逾時時間以將該第二智能合約託管中的該第二數位資產轉移至該賣方端主機的該賣方端第二錢包地址,以及使該第一智能合約超過該託管逾時時間以將該第一智能合約託管中的該第一數位資產轉移至該買方端主機的該買方端第一錢包地址。According to the performance guarantee transaction system based on cross-chain and non-custodial entities in item 1 of the patent application scope, where both the buyer-side host and the third-party host detect out-of-chain delivery failure, the second smart contract exceeds one escrow Time-out time to transfer the second digital asset in the custody of the second smart contract to the seller-side second wallet address of the seller-side host, and to make the first smart contract exceed the custody time-out time to transfer the The first digital asset in the custody of a smart contract is transferred to the buyer's first wallet address of the buyer's host. 根據申請專利範圍第1項之基於跨鏈且非託管實體的履約保證交易系統,其中該買方端主機及該第三方主機透過一應用程式介面接收到一交付確認訊息時,判斷為鏈外交付成功,當超過一預設時間未接收到該交付確認訊息或接收到一退還訊息時,判斷為鏈外交付失敗。According to the performance guarantee transaction system based on cross-chain and non-custodial entities in item 1 of the patent scope, where the buyer-side host and the third-party host receive a delivery confirmation message through an application interface, it is determined that the off-chain delivery is successful When the delivery confirmation message is not received or a return message is received after a preset time, it is determined that the off-chain delivery has failed. 根據申請專利範圍第1項之基於跨鏈且非託管實體的履約保證交易系統,其中該買方端主機及該第三方主機持續偵測該第二智能合約的一交付確認事件,當該交付確認事件被觸發,判斷為鏈外交付成功,當超過一預設時間仍未偵測到該交付確認事件被觸發,判斷為鏈外交付失敗。According to the performance guarantee transaction system based on cross-chain and non-custodial entities in item 1 of the patent application scope, the buyer-side host and the third-party host continuously detect a delivery confirmation event of the second smart contract when the delivery confirmation event If it is triggered, it is determined that the off-chain delivery is successful. When the delivery confirmation event is not detected beyond a preset time, it is determined that the off-chain delivery has failed. 根據申請專利範圍第1項之基於跨鏈且非託管實體的履約保證交易系統,其中該第三方雜湊值及該買方端雜湊值係以一雜湊演算法對該解鎖密語進行雜湊計算所生成,該雜湊演算法為訊息摘要演算法第五版(Message-Digest Algorithm 5, MD5)及安全雜湊演算法(Secure Hash Algorithm, SHA)至少其中之一。According to the performance guarantee transaction system based on cross-chain and non-custodial entities in item 1 of the patent application scope, wherein the third-party hash value and the buyer-side hash value are generated by hash calculation of the unlocking cipher using a hash algorithm, the The hash algorithm is at least one of the Message Digest Algorithm 5 (MD5) and the Secure Hash Algorithm (SHA).
TW108208696U 2019-07-04 2019-07-04 Cross-chain and non-custodial entity performance guarantee transaction system TWM593602U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108208696U TWM593602U (en) 2019-07-04 2019-07-04 Cross-chain and non-custodial entity performance guarantee transaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108208696U TWM593602U (en) 2019-07-04 2019-07-04 Cross-chain and non-custodial entity performance guarantee transaction system

Publications (1)

Publication Number Publication Date
TWM593602U true TWM593602U (en) 2020-04-11

Family

ID=71133396

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108208696U TWM593602U (en) 2019-07-04 2019-07-04 Cross-chain and non-custodial entity performance guarantee transaction system

Country Status (1)

Country Link
TW (1) TWM593602U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113538004A (en) * 2020-04-16 2021-10-22 天宿智能科技股份有限公司 Asset management resume evidence accumulation system and method based on block chain
US20230162173A1 (en) * 2021-11-22 2023-05-25 Matthew Charles James System for Implementing Artificially Intelligent Smart Contract Escrow Service

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113538004A (en) * 2020-04-16 2021-10-22 天宿智能科技股份有限公司 Asset management resume evidence accumulation system and method based on block chain
CN113538004B (en) * 2020-04-16 2024-02-13 天宿智能科技股份有限公司 Asset management record and storage and collection system and method based on blockchain
US20230162173A1 (en) * 2021-11-22 2023-05-25 Matthew Charles James System for Implementing Artificially Intelligent Smart Contract Escrow Service

Similar Documents

Publication Publication Date Title
TWI772654B (en) Escrowing system for cross-blockchain third-party settlement and method thereof
Hasan et al. Blockchain-based proof of delivery of physical assets with single and multiple transporters
US10592985B2 (en) Systems and methods for a commodity contracts market using a secure distributed transaction ledger
US20210133713A1 (en) Asset right management system based on blockchain and method thereof
TWI759563B (en) Asset management method and device, electronic equipment
JP6364132B2 (en) Blockchain transaction recording system and method
KR20180101355A (en) Systems and methods for improving security in exchanges of block-chain assets
JP2022520656A (en) Computer-implemented systems and methods for performing transfers over the blockchain network
US10728219B2 (en) Enhancing security of communications during execution of protocol flows
WO2021254328A1 (en) Blockchain-based asset information processing method and system
US20200279321A1 (en) Systems and methods for facilitating an open-ended dutch auction
US20190095910A1 (en) Secure cryptocurrency exchange
US20230306387A1 (en) Contingent payments for virtual currencies
US20200402031A1 (en) Systems and methods for generating smart contracts to manage escrow transactions
GB2586470A (en) Systems and methods for generating smart contracts to manage escrow transactions
JP2020048161A (en) Transaction device, transaction method and transaction program
WO2023183151A1 (en) Non-fungible token (nft) purchase and transfer system
TWM593602U (en) Cross-chain and non-custodial entity performance guarantee transaction system
TWI716236B (en) Electronic receipt/invoice confirming and escrow system based on blockchain and method thereof
KR20200000595A (en) Blockchain based certificate management method and device, server and system thereof
JP2023510320A (en) Systems and Methods for Secure Peer-to-Peer Transmission of Content in Distributed Ledger Networks
WO2022183913A1 (en) Blockchain-based real right interaction
US20210004791A1 (en) Guaranteeing server and method for transaction on blockchain
CN110599184A (en) Method and device for network service account transaction, server and storage medium
KR20210068039A (en) Context-based filtering within a subset of network nodes implementing the trading system

Legal Events

Date Code Title Description
MM4K Annulment or lapse of a utility model due to non-payment of fees