NFT transaction method, transaction system, computer readable storage medium and terminal device

By limiting the uniqueness of UTXOs and their public release, combined with blockchain technology, efficient issuance, circulation, and traceability of NFTs have been achieved, solving the problem of inefficiency in existing technologies and ensuring the transparency and legality of transactions.

CN113988857BActive Publication Date: 2026-01-02FUJIAN BOQUAN HASH TECHBOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111315523.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-08
Publication Date
2026-01-02
Estimated Expiration
2041-11-08

AI Technical Summary

Technical Problem

The existing NFT transaction process lacks efficient issuance, circulation, and traceability mechanisms, and the verification of transaction legality relies on third parties, resulting in inefficiency.

Method used

By limiting the transaction output of a UTXO to a unique transaction output and mapping it one-to-one with an NFT, and by publishing the TXID of the UTXO through public channels, the correspondence between the NFT and the UTXO is realized. By combining the transaction chain and block header of the UTXO with Merkel proofs for local traceability and legality verification, the uniqueness of the NFT and the transparency of the transaction are ensured.

Benefits of technology

It enables efficient issuance, circulation, and traceability of NFTs, reduces reliance on third parties, and improves the transparency and efficiency of transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113988857B_ABST
    Figure CN113988857B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of blockchains, and particularly discloses an NFT transaction method, a transaction system, a computer readable storage medium and a terminal device, the transaction method comprising the following steps: limiting the transaction output of a UTXO to a unique transaction output; setting a one-to-one mapping relationship between an NFT and the UTXO, and publishing the TXID of the UTXO to a public channel; adding an NFT receiver as an unlocking script opener of the UTXO by an NFT sender, and sending a new UTXO to the NFT receiver; sending a transaction chain between the latest UTXO corresponding to the NFT and all spent transaction outputs to the NFT receiver by the NFT sender; performing local tracing upwards through the transaction input of the latest UTXO by the NFT receiver; sending the block header and the Merkle proof of the UTXO corresponding to the NFT to the NFT receiver by the NFT sender; and performing local legality verification through the block header and the Merkle proof of the UTXO by the NFT receiver. The application realizes the issuance, circulation, tracing and legality verification of the NFT, and the whole process is simple and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of blockchain, in particular to an NFT transaction method, a transaction system, a computer readable storage medium and a terminal device. BACKGROUND

[0002] A token or a cryptographic token (in the context of blockchain) is a unique virtual token representing a digital asset on each blockchain. Cryptographic tokens are divided into two categories, namely homogeneous tokens and non-homogeneous tokens. Homogeneous tokens are the same, meaning that one token has exactly the same features as another token, as long as they are called the same name; while non-homogeneous tokens (NFT) are different, meaning that no NFT has similar functions to other functions.

[0003] Non-homogeneous tokens (NFT) have the following characteristics: (1) standardization: NFT has some standardized functions, including ownership, transfer, etc. All non-homogeneous tokens have these functions. Any developer can take advantage of this function to build their own NFT. (2) universality: NFT is universal, that is, any application that wants to use NFT can use it. Because the blockchain is publicly accessible, and everyone can read the smart contract that deploys the NFT. (3) Liquidity: The liquidity market related to cryptographic assets is very large. People can easily exchange them for cash or other cryptocurrencies according to their needs. Therefore, NFT has high liquidity. (4) Invariability: Blockchain is known for its invariability. NFT is implemented through a smart contract. This makes NFT immutable, that is, users cannot change their NFT to other NFTs. The ownership of NFT will be permanently recorded on the blockchain, unless the user decides to transfer it to other users or law enforcement agencies forcibly confiscate it according to the law. (5) Programmable: NFT is implemented through a smart contract. NFT tokens can be enhanced and contain other complex functions.

[0004] NFT is mostly used in the transaction of collectibles, game props, certificates, etc. The present application aims to provide a new NFT issuance and circulation verification scheme. SUMMARY

[0005] In view of the technical problems in the prior art, the present application provides an NFT transaction method, a transaction system, a computer readable storage medium and a terminal device.

[0006] The NFT transaction method of the present application comprises:

[0007] The transaction output of the UTXO is limited to a unique transaction output;

[0008] The NFT and the UTXO are set to be in a one-to-one mapping relationship, and the TXID of the UTXO is published to a public channel.

[0009] The NFT sender adds the NFT receiver as an unlocking script opener of the UTXO and sends the new UTXO to the NFT receiver after creating the new UTXO;

[0010] The NFT sender sends the transaction chain between the latest UTXO corresponding to the NFT and all spent transaction outputs to the NFT receiver;

[0011] The NFT receiver performs local tracing upwards through the transaction input of the latest UTXO, and if the initial spent transaction output is finally located, the tracing is successful, and if the initial spent transaction output is not finally located, the tracing fails;

[0012] The NFT sender sends the block header and the Merkle proof in which the UTXO corresponding to the NFT is located to the NFT receiver;

[0013] The NFT receiver performs local legality verification through the block header and the Merkle proof in which the UTXO is located, and if the verification is passed, the transaction is legal, and if the verification is not passed, the transaction is illegal.

[0014] Further, the transaction output of the UTXO is limited to a unique transaction output, including:

[0015] The transaction output of the UTXO is limited to a unique transaction output through the OP_PUSH_TX technology.

[0016] Further, the public channel includes one or more of Weibo, a press conference, an exhibition, a newspaper, a radio, a self-media, and a WeChat circle of friends.

[0017] Further, when the NFT sender sends the new UTXO to the NFT receiver after creating the new UTXO, a new transaction input is added to the new UTXO as a service charge.

[0018] The application also includes an NFT transaction system, which adopts the NFT transaction method described above.

[0019] The application also includes a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the NFT transaction method described above.

[0020] A terminal device includes a computer readable storage medium and a processor, wherein,

[0021] The computer readable storage medium stores computer instructions;

[0022] The processor is configured to run the computer instructions to enable the terminal device to execute the NFT transaction method described above.

[0023] The NFT transaction method, the transaction system, the computer readable storage medium and the terminal device of the application limit the transaction output of the UTXO to be the unique transaction output, thereby ensuring the uniqueness of the UTXO and the subsequent transaction, and publishing the TXID of the UTXO corresponding to the NFT through the public channel, so that the UTXO and the subsequent transaction circulate among users, thereby completing the circulation of the NFT; the traceability of the NFT can be locally traced upwards through the transaction chain of the UTXO, and does not need to rely on a third party; and the legality of the transaction is verified through the block header where the UTXO is located and the Merkle proof to realize local verification, so that the application realizes the issuance, circulation, traceability and legality verification of the NFT, and the whole process is simple and efficient. BRIEF DESCRIPTION OF DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only some embodiments of the application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0025] Figure 1 A step flow chart of an NFT transaction method according to an embodiment of the application;

[0026] Figure 2 An implementation principle diagram of an NFT transaction method according to an embodiment of the application;

[0027] Figure 3 A structure composition diagram of a terminal device according to an embodiment of the application; DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the application will be described clearly and completely below with reference to the drawings in the application. Obviously, the described embodiments are only some of the embodiments of the application, but not all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the application.

[0029] An NFT transaction method according to an embodiment of the application, as shown in Figure 1 includes the following steps:

[0030] Step S10: limiting the transaction output of the UTXO to be the unique transaction output.

[0031] The transaction of the virtual currency is composed of a transaction input and a transaction output, each transaction spends an input and generates an output, and the output generated by the transaction is an unspent transaction output, that is, UTXO. The transaction output of the UTXO is limited to a unique transaction output in this embodiment, so as to ensure the uniqueness of the UTXO and subsequent transactions.

[0032] The transaction output of the UTXO can be limited to a unique transaction output by the OP_PUSH_TX technology in this embodiment, and a person skilled in the art can also use other types of script operation codes to limit the uniqueness of the transaction output.

[0033] Step S20: Set the one-to-one mapping relationship between the NFT and the UTXO, and publish the TXID of the UTXO on a public channel.

[0034] The public channel is used to publicly disclose the one-to-one correspondence between the NFT and the UTXO. The public channel can be various, such as microblog, press conference, exhibition, newspaper, radio, self-media, WeChat circle of friends, etc. The user can know the UTXO corresponding to the NFT uniquely. In this embodiment, the TXID or other information of the UTXO is published on the public channel, and the UTXO can be uniquely determined.

[0035] The NFT is published on the premise of the above steps S10 and S20, and the circulation of the NFT is completed through the UTXO and subsequent transactions between users.

[0036] Step S30: The NFT sender adds the NFT receiver as an unlocking script opener of the UTXO, creates a new UTXO, and sends the new UTXO to the NFT receiver.

[0037] The unlocking script can be composed of a signature and a public key, or any solution. The embodiment of the application does not make specific limitation. After the NFT sender adds the NFT receiver as the unlocking script opener of the UTXO, the NFT receiver can unlock the transaction, thereby realizing the circulation of the NFT.

[0038] Preferably, when the NFT sender creates a new UTXO and sends the new UTXO to the NFT receiver, a new transaction input is added to the new UTXO as a service charge.

[0039] During the circulation of the NFT, the NFT receiver needs to verify the authenticity of the NFT traded, so steps S40 and S50 need to be performed.

[0040] Step S40: The NFT sender sends the transaction chain between the latest UTXO corresponding to the NFT and all spent transaction outputs to the NFT receiver.

[0041] First, the NFT recipient needs to obtain the transaction chain between the latest UTXO and all spent transaction outputs. The more transactions the NFT has undergone, the longer the transaction chain and the more spent transaction outputs. After the initial UTXO is opened by the NFT recipient adding the NFT recipient as the unlocking script opener of the UTXO and creating a new UTXO, a new UTXO is generated with each transaction, and the original UTXO becomes a spent transaction output due to the transaction. Therefore, when tracing the NFT, the transaction chain between the latest UTXO and all spent transaction outputs needs to be obtained, which is the complete transaction chain of the NFT.

[0042] Step S50: The NFT recipient traces upward from the latest UTXO transaction input.

[0043] As shown in Figure 2 After obtaining the transaction chain between the latest UTXO and all spent transaction outputs, trace upward from the latest UTXO transaction input to see if the initial spent transaction output can be located. If the initial spent transaction output is located, the trace is successful, indicating that the NFT is authentic. If the initial spent transaction output is not located, the trace fails, indicating that the NFT is not authentic.

[0044] This step of the application can realize the trace of both the NFT recipient and the NFT sender offline, without relying on a trusted third party.

[0045] In the process of tracing the NFT, the legality of the transaction also needs to be verified, as shown in Figure 2 The following steps are as follows:

[0046] Step S60: The NFT sender sends the block header and Merkle proof where the UTXO corresponding to the NFT is located to the NFT recipient.

[0047] The block header is an 80-byte data structure containing version number, parent block header hash value, Merkle root, timestamp, difficulty target, and Nonce value. Blocks are produced on average every 10 minutes, resulting in about 4.2M block header data per year. SPV only needs to update the block header locally to quickly verify the legality of the transaction received by the SPV without the participation of the full node. SPV, also known as "light node" or "user node", stores information related to users such as public and private keys, block headers, Merkle proofs, UTXOs, etc., and has the ability to construct transactions and forward transactions. The full node, also known as "transaction processor", stores all user-related transactions, all block headers and Merkle proofs, UTXOs, etc., and has the functions of virtual currency production, transaction forwarding, double-spend detection, etc.

[0048] After the NFT sender sends the block header and the Merkle proof where the UTXO corresponding to the NFT is located to the NFT receiver, the operation of step S70 is performed.

[0049] Step S70: The NFT receiver performs local legality verification through the block header and the Merkle proof where the UTXO is located.

[0050] The verification of the legality of the transaction can be achieved when both parties are offline. In the blockchain, a slight change in a block will cause a change in the block header hash, so that the block header hash cannot correspond to the corresponding difficulty requirement. The SPV can quickly verify whether the received UTXO is correct locally. The transaction of offline payment can be broadcast to the full node when there is a forwarding condition.

[0051] The NFT receiver verifies whether the UTXO representing the NFT is a legal transaction in the blockchain through the block header and the Merkle proof. If the verification is passed, it means that the transaction is legal, and the offline transaction of the NFT is completed. If the verification is not passed, it means that the transaction is illegal, and the transaction fails.

[0052] The application also protects a transaction system of NFT, which adopts the NFT transaction method comprising the following steps.

[0053] The NFT transaction method of the embodiment comprises:

[0054] Step S10: Limiting the transaction output of the UTXO to a unique transaction output.

[0055] Step S20: Setting a one-to-one mapping relationship between the NFT and the UTXO, and publishing the TXID of the UTXO to a public channel.

[0056] Step S30: The NFT sender adds the NFT receiver as the unlocking script opener of the UTXO, and creates a new UTXO and sends it to the NFT receiver.

[0057] Step S40: The NFT sender sends the transaction chain between the latest UTXO corresponding to the NFT and all spent transaction outputs to the NFT receiver.

[0058] Step S50: The NFT receiver performs local tracing from the transaction input of the latest UTXO.

[0059] Step S60: The NFT sender sends the block header and the Merkle proof where the UTXO corresponding to the NFT is located to the NFT receiver.

[0060] Step S70: The NFT receiver performs local legality verification through the block header and the Merkle proof where the UTXO is located.

[0061] The application also protects a computer readable storage medium, the computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the NFT transaction method.

[0062] The application also protects a terminal device 10, as shown in the figure, comprising a computer readable storage medium 101 and a processor 102, wherein the computer readable storage medium 101 stores computer instructions; the processor 102 is configured to run the computer instructions to make the terminal device 10 execute the NFT transaction method. Figure 3

[0063] Through the description of the above embodiments, those skilled in the art can clearly understand that the application can be implemented by means of software combined with a hardware platform. Based on this understanding, all or part of the technical solutions of the application that contribute to the background art can be embodied in the form of a software product. The computer software product can be stored in a storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for causing a computer device (which can be a personal computer, a server, a smart phone, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the application.

[0064] The NFT transaction method, transaction system, computer readable storage medium and terminal device of the embodiments of the application ensure the uniqueness of the UTXO and subsequent transactions by limiting the transaction output of the UTXO to be a unique transaction output, and publish the TXID of the UTXO corresponding to the NFT through a public channel, so that the UTXO and its subsequent transactions circulate among users, thereby completing the circulation of the NFT. The traceability of the NFT can be traced locally upwards through the transaction chain of the UTXO without the aid of a third party. The legality of the transaction is verified locally through the block header where the UTXO is located and the Merkle proof. The application realizes the issuance, circulation, traceability and legality verification of the NFT, and the entire process is simple and efficient.

[0065] The above further describes the application by means of specific embodiments, but it should be understood that the specific description here should not be understood as limiting the essence and scope of the application. Various modifications to the above embodiments made by those skilled in the art after reading the specification are within the scope of the application.​

Claims

1. A method of NFT transaction, characterized by, The application relates to a non-fungible token (NFT) transaction method and system. The transaction output of the UTXO is limited to a unique transaction output. The NFT and the UTXO are in one-to-one mapping relationship, and the TXID of the UTXO is published to a public channel. An NFT sender adds an NFT receiver as an unlocking script opener of the UTXO, and sends a new UTXO to the NFT receiver after the new UTXO is created. The NFT sender sends a transaction chain between the latest UTXO corresponding to the NFT and all spent transaction outputs to the NFT receiver. The NFT receiver performs local tracing through the transaction input of the latest UTXO, and if the initial spent transaction output is finally located, the tracing is successful, and if the initial spent transaction output is not finally located, the tracing fails. The NFT sender sends the block header and the Merkle proof where the UTXO is located to the NFT receiver. The NFT receiver performs local legality verification through the block header and the Merkle proof where the UTXO is located, and if the verification is passed, the transaction is legal, and if the verification is not passed, the transaction is illegal, and the NFT is used in the transaction in the fields of collectibles, game props and certificates.

2. The NFT trading method of claim 1, wherein, The transaction output of the UTXO is limited to a unique transaction output, including: The transaction output of the UTXO is limited to a unique transaction output through OP_PUSH_TX technology.

3. The NFT trading method of claim 1, wherein, The public channel includes one or more of microblog, press conference, exhibition, newspaper, radio, self-media and WeChat circle of friends.

4. The NFT trading method of claim 1, wherein, When the NFT sender sends the new UTXO to the NFT receiver, a new transaction input is added to the new UTXO as a service charge.

5. A transaction system for NFTs, characterized in that, The system adopts the NFT transaction method in any one of claims 1-4.

6. A computer-readable storage medium, characterized in that, The computer program is stored on the computer readable storage medium, and the computer program is executed by the processor to realize the NFT transaction method in any one of claims 1-4.

7. A terminal device, characterized by comprising: The computer readable storage medium stores computer instructions, and the processor is configured to run the computer instructions to enable the terminal device to execute the NFT transaction method in any one of claims 1-4. ​ ​

Citation Information

Patent Citations

  • Commodity tracing method and device based on block chain technology

    CN110232575A

  • Systems and Methods For Parallel Verification of Blockchain Transactions

    CN110603559A