Blockchain-based game prop transaction method and system

By mapping game items to NFTs and utilizing blockchain technology, direct transactions between players solve the issues of flexibility and security in game item trading, enabling open and transparent transactions across game platforms, simplifying the transaction process, and protecting user rights.

CN115375306BActive Publication Date: 2025-12-12SUZHOU SLOW FLOW TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210867810.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-22
Publication Date
2025-12-12
Estimated Expiration
2042-07-22

AI Technical Summary

Technical Problem

The existing methods for trading game items lack unified standards and trust, resulting in poor transaction flexibility, inability to achieve cross-game platform transactions, low security, inability to guarantee the safety of goods and payments, untraceable transaction records, and the risk of third-party platforms tampering with information.

Method used

By mapping game items to non-fungible tokens (NFTs) using blockchain technology, and with the support of smart contracts, players can trade directly with each other. Digital asset transactions are conducted through listing and delisting, and a challenge and penalty mechanism is designed using Optimistic Rollup technology to ensure transaction security.

Benefits of technology

It enables flexible trading within the same game or across games, simplifies the re-trading process for game items, improves the transparency and security of transactions, and protects the legitimate rights and interests of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115375306B_ABST
    Figure CN115375306B_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on blockchain game prop transaction method and system, belong to blockchain technical field.The method includes: transaction platform obtains the first NFT sent to the first transaction platform user end according to the first game prop under the first game account to smart contract;Second NFT is sent to the second transaction platform user end according to the second game prop under the fourth game account to smart contract;After transaction, the second NFT is held in the first transaction platform user end and the first NFT is held in the second transaction platform user end;After the first game prop is exchanged according to the first NFT to the first game server, transaction platform receives the first NFT exchange voucher and forwards smart contract;After the second game prop is exchanged according to the second NFT to the second game server, transaction platform receives the second NFT exchange voucher and forwards smart contract.The application can improve the flexibility and security of game prop transaction.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of blockchains, and in particular to a game prop transaction method and system based on a blockchain. BACKGROUND

[0002] With the rapid development of China's economic construction, people's material life is satisfied, and they begin to pursue a rich spiritual life, which makes the game industry develop unprecedentedly. With the continuous growth of the number of games and the types of games, the demand for game prop transactions has emerged as the times require.

[0003] Currently, there is no uniform standard for game prop transactions, so the current game prop transactions can only rely on three-party game prop transaction platforms, and the flexibility of transactions is impaired and high fees need to be generated.

[0004] Currently, due to the lack of uniform standards and trust among different games, game prop transactions can only rely on third-party game prop platforms (hereinafter referred to as third-party platforms), and a transaction must be completed by the seller publishing the commodity information on the third-party platform, the buyer paying the payment to the third-party platform, the third-party platform receiving the payment and then performing the game prop delivery operation by the platform customer service, and the buyer receiving the game prop and then transferring the payment to the seller by the third-party platform.

[0005] The above game prop transaction method has at least the problems of poor flexibility and low security. The poor flexibility problem mainly lies in that: (1) different games lack uniform standards and trust, and cannot conduct game prop transactions across game platforms; (2) only money and goods transactions can be conducted, and direct goods and goods transactions within the same game or across games cannot be conducted; (3) the steps of secondary transactions of game props are complicated, and the player needs to repeat the above process to sell the props again after purchasing them; the low security problem mainly lies in that: (4) the goods of the seller and the payment of the buyer are all managed by the third-party platform, and the security of the goods and the payment is not guaranteed; (5) the game prop transaction needs to be handled by the third-party platform customer service, and the direct transaction form between players cannot be realized; (6) the transaction record cannot be traced, and the transaction record cannot be traced; (7) the transaction information is saved in the third-party platform, and if a dispute occurs, there is a risk that the third-party platform may tamper with the transaction information. SUMMARY

[0006] Embodiments of the present application provide a game prop transaction method and system based on a blockchain, which is used to solve the problems of poor flexibility and low security when game prop transactions are conducted through a third party. The technical solution is as follows:

[0007] In one aspect, a blockchain-based game prop transaction method is provided for use in a game prop transaction system including a first transaction platform user end, a second transaction platform user end, a first game server, a second game server, a transaction platform, and a smart contract. A first user using the first transaction platform user end has a first game account of a first game and a second game account of a second game. A second user using the second transaction platform user end has a third game account of the first game and a fourth game account of the second game. The method includes:

[0008] The transaction platform acquires a first NFT from the smart contract according to a first game prop under the first game account, sends the first NFT to the first transaction platform user end, and the first transaction platform user end receives and holds the first NFT;

[0009] The transaction platform acquires a second NFT from the smart contract according to a second game prop under the fourth game account, sends the second NFT to the second transaction platform user end, and the second transaction platform user end receives and holds the second NFT;

[0010] The first transaction platform user end and the second transaction platform user end trade based on the transaction platform, and after the transaction is completed, the second NFT is held in the first transaction platform user end and the first NFT is held in the second transaction platform user end;

[0011] When the first game prop is exchanged according to the first NFT to the first game server, the first game server transfers the first game prop under the first game account to the third game account, sends a first NFT exchange voucher generated after the exchange is completed and signed by the second transaction platform user end and the first game server to the transaction platform, and the transaction platform sends the first NFT exchange voucher to the smart contract;

[0012] When the second game prop is exchanged according to the second NFT to the second game server, the second game server transfers the second game prop under the fourth game account to the second game account, sends a second NFT exchange voucher generated after the exchange is completed and signed by the first transaction platform user end and the second game server to the transaction platform, and the transaction platform sends the second NFT exchange voucher to the smart contract.

[0013] In a possible implementation, the method further includes: the first transaction platform user end obtaining a first prop proof from the first game server end, the first prop proof being used to prove that the first game account owns the first game prop, and sending the first prop proof signed by the first transaction platform user end and the first game server end to the transaction platform;

[0014] The transaction platform obtains a first NFT from the smart contract according to the first game prop under the first game account, including: the transaction platform forwards the signed first prop proof to the smart contract, the smart contract verifies the signed first prop proof, and generates the first NFT according to the first prop proof after the verification is successful, and sends the first NFT to the transaction platform.

[0015] In a possible implementation, the method further includes: the second transaction platform user end obtaining a second prop proof from the second game server end, the second prop proof being used to prove that the fourth game account owns the second game prop, and sending the second prop proof signed by the second transaction platform user end and the second game server end to the transaction platform;

[0016] The transaction platform obtains a second NFT from the smart contract according to the second game prop under the fourth game account, including: the transaction platform forwards the signed second prop proof to the smart contract, the smart contract verifies the signed second prop proof, and generates the second NFT according to the second prop proof after the verification is successful, and sends the second NFT to the transaction platform.

[0017] In a possible implementation, the first transaction platform user end and the second transaction platform user end perform transactions based on the transaction platform, including:

[0018] The first transaction platform user end obtains first identification information of the first NFT, and generates a transaction order containing the first identification information; or the first transaction platform user end obtains first identification information of the first NFT and second identification information of the second NFT, and generates a transaction order containing the first identification information and the second identification information;

[0019] The first transaction platform user end adds the transaction order to a transaction pool in the transaction platform;

[0020] The second transaction platform user end queries the transaction order in the transaction pool and performs transactions with the first transaction platform user end.

[0021] In a possible implementation, the method further includes:

[0022] When the second NFT is not redeemed, the first transaction platform user end acquires second identification information of the second NFT, and generates a transaction order containing the second identification information; or the first transaction platform user end acquires second identification information of the second NFT and third information of a third NFT, and generates a transaction order containing the second identification information and the third information;

[0023] The first transaction platform user end adds the transaction order to a transaction pool in the transaction platform;

[0024] After the third transaction platform user end queries the transaction order in the transaction pool, the first transaction platform user end and the third transaction platform user end perform a transaction, and after the transaction is completed, the first transaction platform user end holds the third NFT and the third transaction platform user end holds the second NFT.

[0025] In a possible implementation, the method further includes:

[0026] The first transaction platform user end sends a first challenge request to the transaction platform;

[0027] The transaction platform forwards the first challenge request to the smart contract;

[0028] The smart contract detects, according to the first challenge request, whether a second NFT redemption voucher signed by the first transaction platform user end is received, if the second NFT redemption voucher is received, the smart contract verifies the second NFT redemption voucher, if the verification is successful, the smart contract rejects the first challenge request, and if the verification fails, the smart contract punishes the second game service end.

[0029] In a possible implementation, after the detection of whether the second NFT redemption voucher signed by the first transaction platform user end is received, the method further includes:

[0030] If the second NFT redemption voucher is not received, the smart contract starts timing, and after the timing reaches a predetermined time length, the smart contract detects again whether the second NFT redemption voucher is received;

[0031] If the second NFT redemption voucher is received again, the smart contract verifies the second NFT redemption voucher, if the verification is successful, the smart contract rejects the first challenge request, and if the verification fails, the smart contract punishes the second game service end;

[0032] If the second NFT redemption voucher is not received again, the smart contract punishes the second game service end.

[0033] In one possible implementation, the method further includes:

[0034] The second trading platform user initiates a second challenge request to the trading platform;

[0035] The trading platform forwards the second challenge request to the smart contract;

[0036] The smart contract checks whether it has received the first NFT redemption voucher signed by the user of the second trading platform according to the second challenge request. If the first NFT redemption voucher has been received, the smart contract verifies the signature of the first NFT redemption voucher. If the signature verification is successful, the second challenge request is rejected. If the signature verification fails, the first game server is penalized.

[0037] In one possible implementation, after detecting whether a first NFT redemption certificate signed by the second trading platform user has been received, the method further includes:

[0038] If the first NFT redemption voucher is not received, the smart contract starts timing, and checks again whether the first NFT redemption voucher has been received after the predetermined time has elapsed.

[0039] If the first NFT redemption voucher has been received during the second check, the smart contract verifies the first NFT redemption voucher. If the verification is successful, the second challenge request is rejected; if the verification fails, the first game server is penalized.

[0040] If the first NFT redemption certificate is not received during the next check, the smart contract will penalize the first game server.

[0041] On one hand, a blockchain-based game item trading system is provided. The game item trading system includes a first trading platform user terminal, a second trading platform user terminal, a first game server terminal, a second game server terminal, a trading platform, and a smart contract. A first user using the first trading platform user terminal owns a first game account for a first game and a second game account for a second game. A second user using the second trading platform user terminal owns a third game account for a first game and a fourth game account for a second game. The first trading platform user terminal is used to receive and hold the first NFT.

[0042] The trading platform is used to obtain a first NFT from the smart contract based on the first game item under the first game account, and send the first NFT to the user terminal of the first trading platform.

[0043] The transaction platform is further configured to acquire a second NFT from the smart contract according to a second game prop under the fourth game account, and send the second NFT to the second transaction platform user terminal, wherein the second transaction platform user terminal is configured to receive and hold the second NFT.

[0044] The first transaction platform user terminal is further configured to trade with the second transaction platform user terminal based on the transaction platform, and after the completion of the transaction, the first transaction platform user terminal holds the second NFT and the second transaction platform user terminal holds the first NFT.

[0045] When the first game prop is exchanged according to the first NFT, the first game server is configured to transfer the first game prop under the first game account to the third game account, and send a first NFT exchange voucher generated after the exchange is completed and signed by the second transaction platform user terminal and the first game server to the transaction platform, and the transaction platform is further configured to send the first NFT exchange voucher to the smart contract.

[0046] When the second game prop is exchanged according to the second NFT, the second game server is configured to transfer the second game prop under the fourth game account to the second game account, and send a second NFT exchange voucher generated after the exchange is completed and signed by the first transaction platform user terminal and the second game server to the transaction platform, and the transaction platform is further configured to send the second NFT exchange voucher to the smart contract.

[0047] The technical scheme provided by the embodiments of the present application has at least the following beneficial effects:

[0048] By mapping the game props under the game into NFTs with unified standards and flexible transactions, the same game or cross-game game props can be traded, and direct transactions between goods can be realized. Moreover, the NFTs can be traded unlimited times before being exchanged, thereby simplifying the re-trading process of the game props.

[0049] By mapping the game props into on-chain digital assets (NFTs) through the blockchain technology, then trading the digital assets through listing and delisting, and after the completion of the digital asset transaction, the user exchanges the game prop using the digital asset, in the entire game prop transaction process, no third party is needed, the transaction process is open and transparent and is stored on the chain, and the flexibility and security of the game prop transaction are improved through the blockchain technology.

[0050] If the user has objections to the exchange of game props, a challenge request can be initiated, and the smart contract automatically determines according to the predetermined evaluation standard, and punishes the game service end that has not exchanged the game props, thereby protecting the legitimate rights and interests of the user. BRIEF DESCRIPTION OF DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0052] Figure 1 is a method flowchart of a game prop transaction method based on a blockchain provided by an embodiment of the present application;

[0053] Figure 2 is a schematic diagram of a game prop transaction method based on a blockchain provided by an embodiment of the present application;

[0054] Figure 3 An embodiment of the present application provides a structural block diagram of a game prop transaction system based on a blockchain. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the drawings.

[0056] In the present application, a decentralized game prop transaction method is created by using the decentralized idea of the blockchain, and the game props to be traded are mapped as on-chain digital assets. The game prop transaction is completely reached between players, and the game prop transaction process is completed by the blockchain smart contract, so that the game prop transaction is open, transparent, traceable, and the security and flexibility of the game prop transaction are improved.

[0057] Please refer to Figure 1 , which shows a method flowchart of a game prop transaction method based on a blockchain provided by an embodiment of the present application. The game prop transaction method based on a blockchain can be applied to a game prop transaction system, which includes a first transaction platform user end, a second transaction platform user end, a first game service end, a second game service end, a transaction platform and a game prop transaction system of a smart contract. The game prop transaction method based on a blockchain can include:

[0058] In step 101, the transaction platform obtains a first NFT from the smart contract according to the first game prop under the first game account, and sends the first NFT to the first transaction platform user end. The first transaction platform user end receives and holds the first NFT.

[0059] NFT (Non-Fungible Token, non-fungible token) is used to represent a unique cryptocurrency token of a digital asset (including jpg and video clip mode).

[0060] In the embodiment, a first user using the first transaction platform user end has a first game account of a first game and a second game account of a second game, and a second user using the second transaction platform user end has a third game account of the first game and a fourth game account of the second game. The first game corresponds to the first game service end, and the second game corresponds to the second game service end.

[0061] Before implementing the game prop transaction, the first transaction platform user end, the second transaction platform user end, the first game service end and the second game service end need to generate their own public and private key pairs respectively, and send the public key in the public and private key pair to the smart contract, so that the smart contract can use the corresponding public key for signature verification. There are many algorithms for generating public and private key pairs, such as ECC (Elliptic Curve Cryptosystem, Elliptic Curve Cryptosystem) and the like, which are not limited in the embodiment.

[0062] Before generating the first NFT, the first transaction platform user end needs to issue a proof that the first game account owns the first prop in the first game. Specifically, the first transaction platform user end obtains the first prop proof from the first game service end, which is used to prove that the first game account owns the first game prop. The first transaction platform user end sends the first prop proof signed by the first transaction platform user end and the first game service end to the transaction platform. In specific implementation, the first transaction platform user end can first obtain the first prop proof from the first game service end, sign it once with its own private key and send it to the first game service end, the first game service end signs the signed content twice with its own private key and sends it to the first transaction platform user end, and the first transaction platform user end sends the second signed first prop proof to the transaction platform.

[0063] Correspondingly, the transaction platform obtains the first NFT from the smart contract according to the first game prop under the first game account, which can include that the transaction platform forwards the signed first prop proof to the smart contract, the smart contract verifies the signature of the signed first prop proof, and generates the first NFT according to the first prop proof after the verification succeeds, and sends the first NFT to the transaction platform. In specific implementation, the smart contract needs to use the public key of the first transaction platform user end and the public key of the first game service end to perform verification operations respectively.

[0064] After receiving the first NFT sent by the smart contract, the transaction platform sends the first NFT to the first transaction platform user end, and at this time, the first transaction platform user end holds the first NFT.

[0065] It should be noted that when the smart contract generates the first NFT, it can set its state as an unconverted state. After determining that the smart contract generates the first NFT, the first game service end sets the state of the first game prop under the first game account to a frozen state, thereby prohibiting the first user from using the first game prop before conversion is completed.

[0066] Step 102, the transaction platform obtains the second NFT from the smart contract according to the second game prop under the fourth game account, and sends the second NFT to the second transaction platform user end, and the second transaction platform user end receives and holds the second NFT.

[0067] Before generating the second NFT, the second transaction platform user end needs to issue a proof that the fourth game account owns the second prop in the second game. Specifically, the second transaction platform user end obtains the second prop proof from the second game service end, the second prop proof is used to prove that the fourth game account owns the second game prop, and the second transaction platform user end and the second game service end send the second prop proof signed by the second transaction platform user end and the second game service end to the transaction platform. In specific implementation, the second transaction platform user end can first obtain the second prop proof from the second game service end, sign it once with its own private key and send it to the second game service end, the second game service end signs the signed content twice with its own private key and sends it to the second transaction platform user end, and the second transaction platform user end sends the second prop proof signed twice to the transaction platform.

[0068] Correspondingly, the transaction platform obtains the second NFT from the smart contract according to the second game prop under the fourth game account, which can include that the transaction platform forwards the signed second prop proof to the smart contract, the smart contract verifies the signature of the signed second prop proof, and generates the second NFT according to the second prop proof after the verification succeeds, and sends the second NFT to the transaction platform. In specific implementation, the smart contract needs to use the public key of the second transaction platform user end and the public key of the second game service end to perform verification operations respectively.

[0069] After receiving the second NFT sent by the smart contract, the transaction platform sends the second NFT to the second transaction platform user end, and at this time, the second NFT is held by the second transaction platform user end.

[0070] It should be noted that the smart contract can set the state of the first NFT as an unconverted state when the first NFT is generated. After determining that the smart contract generates the second NFT, the fourth game account is set to a frozen state, so that the second user is prohibited from using the second game prop before the conversion is completed.

[0071] In step 103, the first transaction platform user end and the second transaction platform user end trade based on the transaction platform, and after the transaction is completed, the first transaction platform user end holds the second NFT and the second transaction platform user end holds the first NFT.

[0072] The first transaction platform user end and the second transaction platform user end can use the listing and delisting transaction mode on the transaction platform to trade the first NFT and the second NFT. In specific implementation, the first transaction platform user end can be listed on the transaction platform, and the second transaction platform user end can be delisted, or the second transaction platform user end can be listed on the transaction platform, and the first transaction platform user end can be delisted. The following describes the transaction process with the first transaction platform user end listed on the transaction platform and the second transaction platform user end delisted.

[0073] Specifically, the first transaction platform user end obtains the first identification information of the first NFT and generates a transaction order containing the first identification information; or the first transaction platform user end obtains the first identification information of the first NFT and the second identification information of the second NFT, and generates a transaction order containing the first identification information and the second identification information; the first transaction platform user end adds the transaction order to the transaction pool in the transaction platform; the second transaction platform user end queries the transaction order in the transaction pool and matches the transaction with the first transaction platform user end. The transaction order generated by the first transaction platform user end can only contain the identification information of the first NFT, or can contain the identification information of the first NFT and the second NFT at the same time, which is not limited in this embodiment.

[0074] After the transaction is completed, the first transaction platform user end will hold the second NFT, and the first transaction platform user end can exchange the second game prop with the second NFT, that is, execute step 105, or can not exchange the second game prop and continue to trade the second NFT. Similarly, after the transaction is completed, the second transaction platform user end will hold the first NFT, and the second transaction platform user end can exchange the first game prop with the first NFT, that is, execute step 104, or can not exchange the first game prop and continue to trade the first NFT.

[0075] The following takes the first transaction platform user end using the second NFT to trade the third NFT with the third transaction platform user end as an example to illustrate the secondary transaction process of the second NFT. Specifically, when the second NFT is not exchanged, the first transaction platform user end obtains the second identification information of the second NFT, generates a transaction order containing the second identification information; or, the first transaction platform user end obtains the second identification information of the second NFT and the third information of the third NFT, generates a transaction order containing the second identification information and the third information; the first transaction platform user end adds the transaction order to the transaction pool in the transaction platform; the third transaction platform user end queries the transaction order in the transaction pool and matches the transaction with the first transaction platform user end, and after the transaction is completed, the first transaction platform user end holds the third NFT and the third transaction platform user end holds the second NFT.

[0076] That is, the NFT can be traded unlimited times before exchange, thereby simplifying the secondary transaction process of the game prop.

[0077] Step 104, when the first game prop is exchanged from the first NFT to the first game service end, the first game service end transfers the first game prop under the first game account to the third game account, and sends the first NFT exchange voucher generated after the exchange is completed and signed by the second transaction platform user end and the first game service end to the transaction platform, and the transaction platform sends the first NFT exchange voucher to the smart contract.

[0078] In this embodiment, the second transaction platform user end can exchange the first game prop from the first NFT to the first game service end. Alternatively, in order to decouple the second transaction platform user end and the first game service end, an NFT exchange webpage of the first game can be set, and the second user can input the first NFT in the NFT exchange webpage, thereby realizing the exchange of the first game prop to the first game service end.

[0079] In the exchange process, the first game service end needs to transfer the first game prop under the first game account to the third game account, after the exchange is completed, the third game account owns the first game prop, and the first game service end sets the state of the first game prop to the unfreezing state, thereby allowing the second user to use the first game prop.

[0080] After the exchange is completed, the first game server can generate a first NFT exchange voucher and send it to the second transaction platform user end. The second transaction platform user end can use its own private key to sign it once and send it to the first game server. The first game server uses its own private key to sign the signed content twice and sends it to the transaction platform. The transaction platform sends the signed first NFT exchange voucher to the smart contract. After receiving the first NFT exchange voucher, the smart contract modifies the state of the first NFT from the unexchanged state to the exchanged state to avoid further transactions on the first NFT.

[0081] Step 105, when exchanging the second game prop according to the second NFT to the second game server, the second game server transfers the second game prop under the fourth game account to the second game account, generates the second NFT exchange voucher after the exchange is completed and is signed by the first transaction platform user end and the second game server, and sends it to the transaction platform. The transaction platform sends the second NFT exchange voucher to the smart contract.

[0082] In this embodiment, the first transaction platform user end can exchange the second game prop according to the second NFT to the second game server. Alternatively, in order to decouple the first transaction platform user end and the second game server, an NFT exchange webpage of the second game can be set. The first user can input the second NFT in the NFT exchange webpage, thereby realizing the exchange of the second game prop to the second game server.

[0083] In the exchange process, the second game server needs to transfer the second game prop under the fourth game account to the second game account. After the exchange is completed, the second game account owns the second game prop, and the second game server sets the state of the second game prop to the unfrozen state, thereby allowing the first user to use the second game prop.

[0084] After the exchange is completed, the second game server can generate a second NFT exchange voucher and send it to the first transaction platform user end. The first transaction platform user end can use its own private key to sign it once and send it to the second game server. The second game server uses its own private key to sign the signed content twice and sends it to the transaction platform. The transaction platform sends the signed second NFT exchange voucher to the smart contract. After receiving the second NFT exchange voucher, the smart contract modifies the state of the second NFT from the unexchanged state to the exchanged state to avoid further transactions on the second NFT.

[0085] In order to prevent game operators from doing evil, ensure that NFTs can be successfully exchanged for corresponding game props, the challenge and punishment mechanism is designed in this application by using the Optimistic Rollup technical idea. Among them, Optimistic Rollup is a Layer2 expansion solution, which is literally an optimistic Rollup. It is optimistic to default that the data synchronized to Layer1 is correct. If anyone believes that the synchronized data is incorrect (i.e. storage fraud), a challenge can be issued during the challenge period, thereby ensuring that the data synchronized to Layer1 is valid and achieving expansion.

[0086] If the first user exchanges the second NFT and does not receive the second game prop for a long time, the first challenge request can be sent to the transaction platform through the first transaction platform user end. The transaction platform forwards the first challenge request to the smart contract. The smart contract detects whether the second NFT exchange voucher signed by the first transaction platform user end is received according to the first challenge request. If the second NFT exchange voucher has been received, the second NFT exchange voucher is verified. If the verification is successful, the first challenge request is rejected. If the verification fails, the second game server is punished. If the second NFT exchange voucher is not received, the smart contract starts timing. After the timing reaches the predetermined time, the second NFT exchange voucher is detected again. If the second NFT exchange voucher has been received again, the smart contract verifies the second NFT exchange voucher. If the verification is successful, the first challenge request is rejected. If the verification fails, the second game server is punished. If the second NFT exchange voucher is not received again, the smart contract punishes the second game server.

[0087] If the second user exchanges the first NFT and does not receive the first game prop for a long time, the second challenge request can be initiated to the transaction platform through the second transaction platform user end. The transaction platform forwards the second challenge request to the smart contract. The smart contract detects whether the first NFT exchange voucher signed by the second transaction platform user end is received according to the second challenge request. If the first NFT exchange voucher has been received, the first NFT exchange voucher is verified. If the verification is successful, the second challenge request is rejected. If the verification fails, the first game server is punished. If the first NFT exchange voucher is not received, the smart contract starts timing. After the timing reaches the predetermined time, the first NFT exchange voucher is detected again. If the first NFT exchange voucher has been received again, the smart contract verifies the first NFT exchange voucher. If the verification is successful, the second challenge request is rejected. If the verification fails, the first game server is punished. If the first NFT exchange voucher is not received again, the smart contract punishes the first game server.

[0088] In summary, the game prop transaction method based on the blockchain provided by the embodiments of the present application maps the game props under the game into NFTs with unified standards and flexible transaction, so that the game props can be traded within the same game or across games, and the goods can be directly traded. Moreover, the NFTs can be traded unlimited times before being exchanged, thereby simplifying the re-trading process of the game props.

[0089] The game props are mapped into on-chain digital assets (NFTs) through the blockchain technology, then the digital assets are traded through listing and delisting, after the digital asset transaction is completed, the user exchanges the game props using the digital assets, and in the entire game prop transaction process, no third party is needed, the transaction process is open and transparent and is stored on the chain, and the flexibility and security of the game prop transaction are improved through the blockchain technology.

[0090] If the user has objections to the exchange of the game props, a challenge request can be initiated, and the smart contract automatically determines according to the predetermined judgment standard, and the game server that has not exchanged the game props is punished, thereby protecting the legal rights and interests of the user.

[0091] Next, the game prop transaction process is described by taking the first transaction platform user end as the Alice terminal held by the player Alice, the Alice terminal has the Alice account 1 of the game A and the Alice account 2 of the game B, the second transaction platform user end is the Bob terminal held by the player Bob, the Bob terminal has the Bob account 1 of the game A and the Bob account 2 of the game B, for example, please refer to Figure 2 .

[0092] 1. The Alice terminal issues a first prop certificate to the game A, the first prop certificate is used to prove that the Alice account 1 owns the prop AP, after the Alice terminal and the game 1 sign the first prop certificate, the signed first prop certificate is sent to the transaction platform; the transaction platform sends the signed first prop certificate to the smart contract, the smart contract generates NFT (AP) and sends it to the transaction platform, the transaction platform sends NFT (AP) to the Alice terminal, at this time, the Alice terminal holds NFT (AP), and the smart contract sets the state of NFT (AP) to an unexchanged state, and the game A sets the state of the prop AP to a frozen state;

[0093] 2、Bob terminal issues a second prop certificate to game B, which is used to prove that Bob account 2 owns prop BP. After the Bob terminal and game 2 sign the second prop certificate, it is sent to the transaction platform; the transaction platform sends the signed second prop certificate to the smart contract, the smart contract generates NFT(BP) and sends it to the transaction platform, and the transaction platform sends NFT(BP) to the Bob terminal. At this time, NFT(BP) is held by the Bob terminal, and game B sets the state of prop BP to a frozen state;

[0094] 3、Alice terminal generates a transaction order based on NFT(AP), or Alice terminal generates a transaction order based on NFT(AP) and NFT(BP), and posts the transaction order to the transaction pool in the transaction platform;

[0095] 4、Bob sees the transaction order and cancels the transaction order, and completes the transaction with Alice. At this time, NFT(BP) is held by the Alice terminal, and NFT(AP) is held by the Bob terminal;

[0096] 5、Alice can send NFT(BP) to game B through Alice terminal or NFT exchange webpage. After game B parses NFT(BP), it transfers prop BP under Bob account 2 to Alice account 2, generates NFT(BP) exchange voucher signed by Alice and game B, and sends it to the transaction platform. The transaction platform sends the signed NFT(BP) exchange voucher to the smart contract, the smart contract sets the state of NFT(BP) to exchange, and game B sets the state of prop BP to unfreeze;

[0097] 6、Bob can send NFT(AP) to game A through Bob terminal or NFT exchange webpage. After game A parses NFT(AP), it transfers prop AP under Alice account 1 to Bob account 1, generates NFT(AP) exchange voucher signed by Bob and game A, and sends it to the transaction platform. The transaction platform sends the signed NFT(AP) exchange voucher to the smart contract, the smart contract sets the state of NFT(AP) to exchange, and game A sets the state of prop AP to unfreeze.

[0098] It should be noted that the game prop transaction process described above is applied to cross-game game prop transactions, and can also be applied to game prop transactions between the same game. For example, a first user using a first transaction platform user end owns a fifth game account of a third game, and the fifth game account owns a third game prop, a second user using a second transaction platform user end owns a sixth game account of the third game, and the sixth game account owns a fourth game prop, the transaction platform can obtain a third NFT from the smart contract according to the third game prop under the fifth game account, send the third NFT to the first transaction platform user end, obtain a fourth NFT from the smart contract according to the fourth game prop under the sixth game account, and send the fourth NFT to the second transaction platform user end. The third game sets the state of the third game prop to a frozen state, the fourth game sets the state of the fourth game prop to a frozen state, and the smart contract sets the states of the third NFT and the fourth NFT to an unconverted state. The first transaction platform user end and the second transaction platform user end perform transactions based on the transaction platform, and after the transaction is completed, the first transaction platform user end owns the fourth NFT and the second transaction platform user end owns the third NFT. The second user exchanges the third game prop according to the third NFT, and after the exchange is completed, the sixth game account owns the third game prop. The first user exchanges the fourth game prop according to the fourth NFT, and after the exchange is completed, the fifth game account owns the fourth game prop. The third game sets the state of the third game prop to an unfrozen state, the fourth game sets the state of the fourth game prop to an unfrozen state, and the smart contract sets the states of the third NFT and the fourth NFT to a converted state.

[0099] Please refer to Figure 3 , which shows a structural block diagram of a game prop transaction system based on a blockchain provided by an embodiment of the present application. The game prop transaction system based on the blockchain can include a first transaction platform user end 310, a second transaction platform user end 320, a first game service end 330, a second game service end 340, a transaction platform 350, and a smart contract 360. A first user using the first transaction platform user end 310 owns a first game account of a first game and a second game account of a second game. A second user using the second transaction platform user end 320 owns a third game account of the first game and a fourth game account of the second game.

[0100] The transaction platform 350 is configured to obtain a first NFT from the smart contract 360 according to a first game prop under the first game account, and send the first NFT to the first transaction platform user end 310. The first transaction platform user end 310 is configured to receive and hold the first NFT.

[0101] The transaction platform 350 is further configured to obtain the second NFT from the smart contract 360 according to the second game prop under the fourth game account, and send the second NFT to the second transaction platform user terminal 320, which is configured to receive and hold the second NFT.

[0102] The first transaction platform user terminal 310 is further configured to trade with the second transaction platform user terminal 320 based on the transaction platform 350, and after the transaction is completed, the second NFT is held in the first transaction platform user terminal 310 and the first NFT is held in the second transaction platform user terminal 320.

[0103] When the first game prop is exchanged for the first NFT from the first game server 330, the first game server 330 is configured to transfer the first game prop under the first game account to the third game account, and send the first NFT exchange voucher generated after the exchange is completed and signed by the second transaction platform user terminal 320 and the first game server 330 to the transaction platform 350.

[0104] The transaction platform 350 is further configured to send the first NFT exchange voucher to the smart contract 360.

[0105] When the second game prop is exchanged for the second NFT from the second game server 340, the second game server 340 is configured to transfer the second game prop under the fourth game account to the second game account, and send the second NFT exchange voucher generated after the exchange is completed and signed by the first transaction platform user terminal 310 and the second game server 340 to the transaction platform 350.

[0106] The transaction platform 350 is further configured to send the second NFT exchange voucher to the smart contract 360.

[0107] In an optional embodiment, the first transaction platform user terminal 310 is further configured to obtain the first prop certificate from the first game server 330, the first prop certificate is used to prove that the first game account owns the first game prop, and the first transaction platform user terminal 310 and the first game server 330 are configured to send the first prop certificate signed by the first transaction platform user terminal 310 and the first game server 330 to the transaction platform 350.

[0108] The transaction platform 350 is further configured to forward the signed first prop certificate to the smart contract 360.

[0109] The smart contract 360 is configured to verify the signature of the signed first prop certificate, and generate the first NFT according to the first prop certificate after the verification is successful, and send the first NFT to the transaction platform 350.

[0110] In an optional embodiment, the second transaction platform user terminal 320 is further configured to obtain a second prop certificate from the second game server 340, the second prop certificate being used to prove that the fourth game account owns the second game prop, and send the second prop certificate signed by the second transaction platform user terminal 320 and the second game server 340 to the transaction platform 350;

[0111] The transaction platform 350 is further configured to forward the signed second prop certificate to the smart contract 360.

[0112] The smart contract 360 is configured to verify the signed second prop certificate, and generate a second NFT according to the second prop certificate after the verification is successful, and send the second NFT to the transaction platform 350.

[0113] In an optional embodiment, the first transaction platform user terminal 310 is further configured to obtain first identification information of the first NFT and generate a transaction order containing the first identification information, or obtain first identification information of the first NFT and second identification information of the second NFT and generate a transaction order containing the first identification information and the second identification information.

[0114] The first transaction platform user terminal 310 is further configured to add the transaction order to a transaction pool in the transaction platform.

[0115] The second transaction platform user terminal 320 is further configured to trade with the first transaction platform user terminal 310 after querying the transaction order in the transaction pool.

[0116] In an optional embodiment, when the second NFT is not exchanged, the first transaction platform user terminal 310 is further configured to obtain second identification information of the second NFT and generate a transaction order containing the second identification information, or obtain second identification information of the second NFT and third information of a third NFT and generate a transaction order containing the second identification information and the third information.

[0117] The first transaction platform user terminal 310 is further configured to add the transaction order to a transaction pool in the transaction platform.

[0118] The third transaction platform user terminal is configured to trade with the first transaction platform user terminal 310 after querying the transaction order in the transaction pool, and the first transaction platform user terminal 310 holds the third NFT and the third transaction platform user terminal holds the second NFT after the transaction is completed.

[0119] In an optional embodiment, the first transaction platform user terminal 310 is further configured to send a first challenge request to the transaction platform 350.

[0120] The transaction platform 350 is further configured to forward the first challenge request to the smart contract 360.

[0121] The smart contract 360 is further configured to, according to the first challenge request, detect whether a second NFT exchange voucher signed by the first transaction platform user terminal 310 is received, if the second NFT exchange voucher is received, verify the second NFT exchange voucher, if the verification is successful, reject the first challenge request, and if the verification fails, punish the second game server 340.

[0122] In an optional embodiment, after detecting whether the second NFT exchange voucher signed by the first transaction platform user terminal 310 is received, if the second NFT exchange voucher is not received, the smart contract 360 is further configured to start timing, and after the timing reaches a predetermined time length, detect again whether the second NFT exchange voucher is received.

[0123] If the second NFT exchange voucher is received again, the smart contract 360 is further configured to verify the second NFT exchange voucher, if the verification is successful, reject the first challenge request, and if the verification fails, punish the second game server 340.

[0124] If the second NFT exchange voucher is not received again, the smart contract 360 is further configured to punish the second game server 340.

[0125] In an optional embodiment, the second transaction platform user terminal 320 is further configured to initiate a second challenge request to the transaction platform 350.

[0126] The transaction platform 350 is further configured to forward the second challenge request to the smart contract 360.

[0127] The smart contract 360 is further configured to, according to the second challenge request, detect whether a first NFT exchange voucher signed by the second transaction platform user terminal 320 is received, if the first NFT exchange voucher is received, verify the first NFT exchange voucher, if the verification is successful, reject the second challenge request, and if the verification fails, punish the first game server 330.

[0128] In an optional embodiment, after detecting whether the first NFT exchange voucher signed by the second transaction platform user terminal 320 is received, if the first NFT exchange voucher is not received, the smart contract 360 is further configured to start timing, and after the timing reaches a predetermined time length, detect again whether the first NFT exchange voucher is received.

[0129] If the first NFT exchange voucher is received again, the smart contract 360 is further configured to verify the first NFT exchange voucher, if the verification is successful, reject the second challenge request, and if the verification fails, punish the first game server 330.

[0130] If the first NFT exchange voucher is not received when detected again, the smart contract 360 is also used to punish the first game server 330.

[0131] In summary, the game prop transaction system based on the blockchain provided by the embodiments of the present application maps the game props under the game into NFTs with unified standards and flexible transactions, so that the game props can be traded within the same game or across games, and direct transactions between goods can also be realized. Moreover, the NFTs can be traded unlimited times before being exchanged, thereby simplifying the re-trading process of the game props.

[0132] By mapping the game props into on-chain digital assets (NFTs) through the blockchain technology, then trading the digital assets through listing and delisting, and after the completion of the digital asset transaction, the user exchanges the game props using the digital assets, in the entire game prop transaction process, there is no need for a third party to participate, the transaction process is open and transparent and is stored on the chain, and the flexibility and security of the game prop transaction are improved through the blockchain technology.

[0133] If the user has objections to the exchange of the game props, a challenge request can be initiated, and the smart contract automatically determines according to the predetermined evaluation standard, and the game server that has not exchanged the game props is punished, thereby protecting the legitimate rights and interests of the user.

[0134] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or by a program instructing related hardware to complete, and the program can be stored in a computer readable storage medium, and the storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0135] The above description does not limit the embodiments of the present application, and any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the embodiments of the present application shall be included in the protection scope of the embodiments of the present application.

Claims

1. A blockchain-based game prop transaction method, characterized in that, The method is used in a game prop transaction system including a first transaction platform user terminal, a second transaction platform user terminal, a first game server, a second game server, a transaction platform and a smart contract, a first user using the first transaction platform user terminal has a first game account of a first game and a second game account of a second game, a second user using the second transaction platform user terminal has a third game account of the first game and a fourth game account of the second game, and the method includes: The transaction platform acquires a first NFT from the smart contract according to a first game prop under the first game account, sends the first NFT to the first transaction platform user terminal, the first transaction platform user terminal receives and holds the first NFT, the smart contract sets the state of the first NFT as an unconverted state when generating the first NFT, and the first game server sets the state of the first game prop under the first game account as a frozen state after determining that the smart contract generates the first NFT, so as to prohibit the first user from using the first game prop before conversion is completed; The transaction platform acquires a second NFT from the smart contract according to a second game prop under the fourth game account, sends the second NFT to the second transaction platform user terminal, the second transaction platform user terminal receives and holds the second NFT, the smart contract sets the state of the second NFT as an unconverted state when generating the second NFT, and the second game server sets the state of the second game prop under the fourth game account as a frozen state after determining that the smart contract generates the second NFT, so as to prohibit the second user from using the second game prop before conversion is completed; The first transaction platform user terminal and the second transaction platform user terminal trade based on the transaction platform, and after the transaction is completed, the second NFT is held in the first transaction platform user terminal and the first NFT is held in the second transaction platform user terminal; When the first game prop is converted to the first game server according to the first NFT, the first game server transfers the first game prop under the first game account to the third game account, sends a first NFT conversion voucher generated after conversion and signed by the second transaction platform user terminal and the first game server to the transaction platform, the transaction platform sends the first NFT conversion voucher to the smart contract, the smart contract modifies the state of the first NFT from the unconverted state to the converted state after receiving the first NFT conversion voucher, so as to avoid transaction of the first NFT again, and the first game server sets the state of the first game prop as an unfrozen state, so as to allow the second user to use the first game prop; In the second game service end according to the second NFT, the fourth game account under the second game prop is transferred to the second game account, and the second NFT exchange voucher generated after the exchange is completed and signed by the first transaction platform user end and the second game service end is sent to the transaction platform, and the transaction platform sends the second NFT exchange voucher to the smart contract; the smart contract modifies the state of the second NFT from the unexchange state to the exchange state after receiving the second NFT exchange voucher, so as to avoid the transaction of the second NFT again; the second game service end sets the state of the second game prop to the unfreezing state to allow the first user to use the second game prop.

2. The blockchain-based game prop transaction method according to claim 1, wherein The method further comprises: the first transaction platform user end obtaining a first prop certificate from the first game service end, the first prop certificate being used to prove that the first game account owns the first game prop, and the first prop certificate signed by the first transaction platform user end and the first game service end being sent to the transaction platform; The transaction platform obtains a first NFT from the smart contract according to the first game prop under the first game account, comprising: the transaction platform forwarding the signed first prop certificate to the smart contract, the smart contract verifying the signature of the signed first prop certificate, and generating the first NFT according to the first prop certificate after successful verification, and sending the first NFT to the transaction platform.

3. The blockchain-based game prop transaction method according to claim 1, wherein The method further comprises: the second transaction platform user end obtaining a second prop certificate from the second game service end, the second prop certificate being used to prove that the fourth game account owns the second game prop, and the second prop certificate signed by the second transaction platform user end and the second game service end being sent to the transaction platform; The transaction platform obtains a second NFT from the smart contract according to the second game prop under the fourth game account, comprising: the transaction platform forwarding the signed second prop certificate to the smart contract, the smart contract verifying the signature of the signed second prop certificate, and generating the second NFT according to the second prop certificate after successful verification, and sending the second NFT to the transaction platform. 4.The blockchain-based game prop transaction method according to claim 1, characterized in that, The first transaction platform user end and the second transaction platform user end perform transactions based on the transaction platform, comprising: The first transaction platform user end obtains first identification information of the first NFT and generates a transaction order containing the first identification information; or the first transaction platform user end obtains first identification information of the first NFT and second identification information of the second NFT, and generates a transaction order containing the first identification information and the second identification information; The first transaction platform user end adds the transaction order to a transaction pool in the transaction platform; The second transaction platform user end queries the transaction order in the transaction pool and trades with the first transaction platform user end. 5.The blockchain-based game prop transaction method according to claim 1, wherein, The method further comprises: When the second NFT is not exchanged, the first transaction platform user end obtains second identification information of the second NFT and generates a transaction order containing the second identification information; or the first transaction platform user end obtains second identification information of the second NFT and third information of a third NFT and generates a transaction order containing the second identification information and the third information; The first transaction platform user end adds the transaction order to a transaction pool in the transaction platform; After the third transaction platform user end queries the transaction order in the transaction pool and trades with the first transaction platform user end, the first transaction platform user end holds the third NFT and the third transaction platform user end holds the second NFT.

6. The blockchain-based game prop transaction method according to any one of claims 1 to 5, characterized in that, The method further comprises: The first transaction platform user end sends a first challenge request to the transaction platform; The transaction platform forwards the first challenge request to the smart contract; The smart contract detects whether a second NFT exchange voucher signed by the first transaction platform user end is received according to the first challenge request, if the second NFT exchange voucher is received, the second NFT exchange voucher is verified, if the verification is successful, the first challenge request is rejected, and if the verification fails, the second game server end is punished. 7.The blockchain-based game prop transaction method according to claim 6, wherein, After detecting whether the second NFT exchange voucher signed by the first transaction platform user end is received, the method further comprises: If the second NFT exchange voucher is not received, the smart contract starts timing, and after the timing reaches a predetermined time length, the smart contract detects whether the second NFT exchange voucher is received again; If the second NFT exchange voucher is received again, the smart contract verifies the second NFT exchange voucher, if the verification is successful, the first challenge request is rejected, and if the verification fails, the second game server end is punished; If the second NFT exchange voucher is not received again, the smart contract punishes the second game server end.

8. The blockchain-based game prop transaction method of any one of claims 1-5, wherein, The method further comprises: The second transaction platform user end initiates a second challenge request to the transaction platform; The transaction platform forwards the second challenge request to the smart contract; The smart contract detects whether a first NFT exchange voucher signed by the second transaction platform user end is received according to the second challenge request, if the first NFT exchange voucher is received, the first NFT exchange voucher is verified, if the verification is successful, the second challenge request is rejected, and if the verification fails, the first game server end is punished. 9.The blockchain-based game prop transaction method according to claim 8, wherein, After detecting whether the first NFT exchange voucher signed by the second transaction platform user end is received, the method further comprises: If the first NFT exchange voucher is not received, the smart contract starts timing, and after the timing reaches a predetermined length of time, it detects again whether the first NFT exchange voucher is received; If the first NFT exchange voucher is received again, the smart contract verifies the first NFT exchange voucher, and if the verification is successful, the second challenge request is rejected, and if the verification fails, the first game server is punished; If the first NFT exchange voucher is not received again, the smart contract punishes the first game server. 10.A blockchain-based game prop transaction system, characterized in that, The game prop transaction system includes a first transaction platform user end, a second transaction platform user end, a first game server, a second game server, a transaction platform, and a smart contract. A first user using the first transaction platform user end has a first game account of a first game and a second game account of a second game, and a second user using the second transaction platform user end has a third game account of the first game and a fourth game account of the second game; The transaction platform is configured to obtain a first NFT from the smart contract according to a first game prop under the first game account, send the first NFT to the first transaction platform user end, and receive and hold the first NFT by the first transaction platform user end. The smart contract is configured to set the state of the first NFT as unexchanged when the first NFT is generated; The first game server is configured to set the state of the first game prop under the first game account as a frozen state to prohibit the first user from using the first game prop before the exchange is completed after determining that the smart contract generates the first NFT; The transaction platform is further configured to obtain a second NFT from the smart contract according to a second game prop under the fourth game account, send the second NFT to the second transaction platform user end, and receive and hold the second NFT by the second transaction platform user end. The smart contract is further configured to set the state of the second NFT as unexchanged when the second NFT is generated; The second game server is configured to set the state of the second game prop under the fourth game account as a frozen state to prohibit the second user from using the second game prop before the exchange is completed after determining that the smart contract generates the second NFT; The first transaction platform user end is further configured to trade with the second transaction platform user end based on the transaction platform, and hold the second NFT in the first transaction platform user end and hold the first NFT in the second transaction platform user end after the transaction is completed; In the first game service end according to the first NFT is exchanged with the first game prop, the first game service end, for the first game prop under the first game account is given to the third game account, after the exchange is generated and is signed by the second transaction platform user end and the first game service end first NFT exchange voucher is sent to the transaction platform, the transaction platform, also be used for sending the first NFT exchange voucher to the smart contract;The smart contract, also be used for receiving the first NFT exchange voucher after, the state of the first NFT is changed from unexchange state to exchange state, to avoid the first NFT transaction again;The first game service end, also be used for setting the state of the first game prop as unfreezing state, to allow the second user to use the first game prop; In the second game service end according to the second NFT is exchanged with the second game prop, the second game service end, for the second game prop under the fourth game account is given to the second game account, after the exchange is generated and is signed by the first transaction platform user end and the second game service end second NFT exchange voucher is sent to the transaction platform, the transaction platform, also be used for sending the second NFT exchange voucher to the smart contract;The smart contract, also be used for receiving the second NFT exchange voucher after, the state of the second NFT is changed from unexchange state to exchange state, to avoid the second NFT transaction again;The second game service end, also be used for setting the state of the second game prop as unfreezing state, to allow the first user to use the second game prop.

Citation Information

Patent Citations

  • Method and device for game virtual item transaction based on block chain, server and storage medium

    CN110689412A

  • Block chain-based in-game element transaction method and device

    CN114146415A