Unlock instant, AI-driven research and patent intelligence for your innovation.

Asset exchange method based on UTXO model block chain intelligent contract

A technology of smart contracts and asset exchange, applied in the field of blockchain, it can solve the problems of single, unpredictable smart contract execution results, and difficulty in realizing smart contracts, and achieve the effect of improving efficiency.

Active Publication Date: 2019-09-10
杭州时戳信息科技有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current blockchains based on the UTXO model include Bitcoin, Litecoin, and Bitcoin Electronic Cash. They are all stateless, single-asset blockchains, and virtual machines are not Turing-complete, making it difficult to achieve complex intelligence. contract
At the same time, the virtual machines of account-based blockchains such as Ethereum and EOS are Turing complete, but their smart contract execution results are unpredictable, which may lead to serious security problems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Asset exchange method based on UTXO model block chain intelligent contract
  • Asset exchange method based on UTXO model block chain intelligent contract
  • Asset exchange method based on UTXO model block chain intelligent contract

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Such as figure 1 As shown, an asset exchange method based on the UTXO model blockchain smart contract includes the following steps:

[0024] 1. Two or more parties in the asset interaction write the negotiated content and rules into the smart contract of the blockchain, and any one of them can act as the initiator of the contract and lock the amount and type of assets that they need to exchange into the contract , to be called by the other party or parties to the transaction. The asset interaction contract will verify the output content of the transaction, so the virtual machine instruction set of its blockchain needs to include state-related instructions such as transaction output verification, asset type, asset quantity, etc. The verification algorithm composed of these instruction sets can Provide security when exchanging between different assets on the chain.

[0025] 2. When the sender locks the specified amount of assets into the contract, the asset transfer to ...

Embodiment 2

[0029] The difference between this embodiment and Embodiment 1 is that both parties to the transaction negotiated in this embodiment can add rule checks to the contract content to improve the security of contract transactions. Rule checks include time ranges and / or security signatures. In the content of the contract, the sender of the transaction must verify the output transaction output of the corresponding asset, but the verification of the output transaction output that the receiver should receive can be determined according to the situation. The overall framework is as follows: figure 1 shown. If the receiver is not verified, the function of a decentralized exchange is realized; if the receiver is verified, the currency exchange of the designated transaction participants is realized, which can exclude irrelevant personnel from participating in the contract transaction.

Embodiment 3

[0031] In this embodiment, in the contract of asset interaction, the transaction output of the contract is verified as a contract, and the content of the contract can be the contract itself, then an asset exchange contract with modifiable pricing can be realized, see figure 2 .

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an asset exchange method based on a UTXO model block chain intelligent contract. The method comprises the following steps: constructing an intelligent contract; the sender locks a specified number of assets into the smart contract to complete asset transfer of the sender; if the receiver unlocks the smart contract, a specified number of assets are sent to the address of thesender according to the conditions stipulated by the smart contract, the receiver obtains the assets locked by the sender in the smart contract through verification, and meanwhile, the sender also obtains the assets exchanged by the receiver; and if no receiver unlocks the smart contract all the time, the sender unlocks the contract in a preset verification self-mode, and returns the asset lockedby the smart contract to the sender. According to the invention, various types of asset exchange scenes are conveniently realized, the output state of the transaction is substantially verified, and the verification comprises transaction output asset types, asset quantity, asset types, receiving addresses and the like, so that the transaction efficiency, security and reliability are improved.

Description

technical field [0001] The invention belongs to the technical field of block chains, and in particular relates to an asset exchange method based on UTXO model block chain smart contracts. Background technique [0002] Blockchain technology is a decentralized distributed database technology. Using blockchain technology can realize open, transparent and trustworthy decentralized transactions, including not only ordinary transfer transactions between users, but also transactions involving multiple users. Scenarios such as special asset exchange transactions (ie contract transactions). [0003] The current blockchains based on the UTXO model include Bitcoin, Litecoin, and Bitcoin Electronic Cash. They are all stateless, single-asset blockchains, and virtual machines are not Turing-complete, making it difficult to achieve complex intelligence. contract. At the same time, the virtual machines of account-based blockchains such as Ethereum and EOS are Turing-complete, but their sm...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/27G06Q40/04
CPCG06Q40/04G06F16/27
Inventor 阳胜张成成朱益祺
Owner 杭州时戳信息科技有限公司