A virtual asset custody and payment system and method based on blockchain bottom layer

By using a combination of cold wallets and hot wallets in the blockchain virtual asset custody and payment system, combined with layered cryptography technology and the verification mechanism of encrypted orders, the problem of blockchain virtual asset private key storage security is solved and achieved High-security transfer and custody of assets.

CN113763158BActive Publication Date: 2024-10-22SHANGHAI RONGKUAN NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010499808.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-04
Publication Date
2024-10-22
Estimated Expiration
2040-06-04

AI Technical Summary

Technical Problem

Private keys of blockchain virtual assets stored on online servers are vulnerable to hacker attacks, leading to security risks and irreparable losses.

Method used

Adopting a combined system of cold wallet and hot wallet, the cold wallet stores private keys in a network-isolated island environment, and the hot wallet performs online virtual asset transfers in a public network online environment, using layered cryptography technology to generate asymmetric key pairs. Data exchange and verification between cold and hot wallets via encrypted orders ensure safe transfer of assets.

Benefits of technology

Minimize the risk of private key theft. Even if there is a security problem in the online system, the funds are still safe and the loss is minimized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113763158B_ABST
    Figure CN113763158B_ABST
Patent Text Reader

Abstract

The present invention discloses a virtual asset custody and payment system and method based on the bottom layer of blockchain. The system is provided with two independent cold wallets and hot wallets. The cold wallet is used to store unused assets, and the hot wallet is used to store assets that can be called at any time through instructions. The cold wallet runs in an isolated island environment service with network isolation, and no one is allowed to illegally approach the offline environment. The hot wallet is deployed on the public network, and the bottom layer is connected to a variety of public blockchains, which can be used as a service system for online virtual asset transfer. The collection order is generated through the order collection service, and the encrypted storage unit is used as the data transmission medium to realize the data transmission between the cold and hot wallets, and finally the purpose of asset transfer from the cold wallet to the hot wallet is achieved. When the user recharges, the virtual asset directly enters the recharge address provided by the cold wallet system, and the hot wallet private key only saves a small amount of assets for the circulation needs of the daily custody system, thereby effectively ensuring the safety of funds.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to blockchain-related application technologies, in particular to blockchain asset transfer and payment, and specifically to a virtual asset custody and payment system and method based on the underlying blockchain. Background Art

[0002] Since 2009, blockchain technology has appeared in everyone's vision, and a large number of public chains have emerged. In the process of digital asset application, the secure custody of virtual assets on the blockchain has become a common problem.

[0003] Especially in the field of virtual asset custody and payment, merchants need to store the private keys of virtual assets on the server for transfers and transactions. When the server receives the transfer request, it directly generates the corresponding blockchain transaction through the background program, directly signs the transaction with the private key stored on the server, and then broadcasts it to the blockchain node. Since the private key is stored on the server, it is vulnerable to hacker attacks in an online environment. Cases of illegal hacking and copying of private keys by servers are not uncommon. In addition, there are potential operational and management risks for the company's internal operation and maintenance personnel. Once a problem occurs, it will cause irreparable losses to the digital assets hosted by the platform.

[0004] In order to solve the security issues described above, we have invented a virtual asset custody and payment system and method, which can minimize the risk of private key theft. Summary of the invention

[0005] The present invention proposes a virtual asset custody and payment system and method based on the underlying blockchain, which can avoid storing private keys that hold a large amount of funds in an online system. Even if systemic security problems occur, most of the funds are still safe.

[0006] The present invention discloses a virtual asset custody and payment system based on the underlying blockchain, comprising:

[0007] Cold wallets are services that run in an isolated environment with a network isolation system. No one is allowed to access the offline environment illegally, including the private key of the cold wallet address.

[0008] Hot wallets are deployed in a public online environment, connected to multiple public blockchains at the bottom layer, and can be used as a service system for online virtual asset transfers. Hot wallets include at least the master public key of the cold wallet address and the private key of the hot wallet address.

[0009] The master public key is responsible for calculating the user's deposit address (sub-public key) and is used to receive deposits from the user;

[0010] Hot wallet private key. When a user needs to withdraw his assets, the transaction is signed directly by the hot wallet private key and broadcast on the blockchain.

[0011] Some embodiments also include: a collection order, a data file format; an encrypted data format for storing transaction information of multiple blockchains, generated from a hot wallet, which needs to be verified for legitimacy in a cold wallet, and the blockchain transactions therein are signed; after the collection order is signed, it is transferred to the hot wallet, and the hot wallet verifies the legitimacy of the data and broadcasts the legal transactions therein to the corresponding blockchain, thereby realizing the process of transferring assets from the cold wallet to the hot wallet.

[0012] Some embodiments also include: an encrypted order storage unit: a storage device responsible for exchanging data between the collected orders in the hot wallet and the cold wallet.

[0013] In some embodiments, it also includes:

[0014] Master public key / private key: An asymmetric key pair generated using hierarchical deterministic cryptography technology. The master public key can be used to derive an unlimited number of child public keys, but cannot be used to derive child private keys. The master private key can be used to derive the private keys corresponding to all child public keys and their corresponding public keys.

[0015] The present invention discloses a virtual asset custody and payment method based on the underlying blockchain, and comprises the following steps:

[0016] 1) Deploy the hot wallet in an online environment, and use the master public key generated by the hierarchical deterministic cryptography technology in the hot wallet to calculate a large number of payment addresses for receiving recharges from the fund custodian. The online system where the hot wallet is located is responsible for monitoring the recharge records of these addresses through the blockchain;

[0017] 2) Since users need to withdraw their assets, they need to transfer part of the assets used for liquidity from the cold wallet to the private key of the hot wallet. The hot wallet is responsible for completing the actual asset withdrawal and transfer;

[0018] 3) The hot wallet monitors all deposit addresses and can record the correspondence between addresses and assets in the cold wallet. When the assets in the cold wallet need to be transferred to the hot wallet, the hot wallet generates a collection order to transfer assets from the cold wallet to the hot wallet based on the correspondence between addresses and assets. The collection order can be verified and its validity is guaranteed using cryptographic technology. At this time, since the hot wallet does not have the private key of the cold wallet address, it cannot sign the blockchain transaction, so an unsigned collection order is generated;

[0019] 4) After the order data is generated, it is stored in an encrypted storage unit and transferred to a cold wallet system in an isolated environment by designated personnel. The cold wallet system verifies and decrypts the collected orders, signs all blockchain transactions, repackages and encrypts the collected orders, and saves them in the encrypted order storage unit;

[0020] 5) The relevant personnel transfer the signed collection order in the encrypted order storage unit to the hot wallet. After the hot wallet decrypts and verifies the collection order, it broadcasts it to the blockchain. After the corresponding transaction is confirmed on the blockchain, all funds in the order are transferred to the hot wallet private key. The hot wallet is responsible for the user's asset withdrawal transaction.

[0021] In some embodiments, step 3) includes: when the funds in the hot wallet private key are low or reach a threshold, the hot wallet generates a collection order to transfer assets from the cold wallet to the hot wallet private key based on the correspondence between the address and the asset, and the amount of assets transferred by the collection order only needs to ensure the normal flow of funds in the online environment.

[0022] Beneficial effects of the present invention:

[0023] After using the system and method of the present invention, users can directly enter the cold wallet system when recharging, and the hot wallet private key only stores a small amount of assets for daily cash flow expenses. Even if the online hot wallet has a systemic security problem that causes the hot wallet private key to be lost, the loss can be minimized. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a schematic diagram of the system architecture of the present invention.

[0025] Figure 2 It is a schematic diagram of the operation timing of the present invention. DETAILED DESCRIPTION

[0026] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0027] See also Figure 1 The virtual asset custody and payment system of this embodiment includes:

[0028] Cold wallets are services that run in an isolated environment with a network isolation system. No one is allowed to access the offline environment illegally, including the private key of the cold wallet address.

[0029] Hot wallets are deployed in a public online environment, connected to multiple public blockchains at the bottom layer, and can be used as a service system for online virtual asset transfers. Hot wallets include at least the master public key of the cold wallet address and the private key of the hot wallet address.

[0030] The master public key is responsible for calculating the user's deposit address (sub-public key) and is used to receive deposits from the user;

[0031] Hot wallet private key. When a user needs to withdraw his assets, the transaction is signed directly by the hot wallet private key and broadcast on the blockchain.

[0032] A collection order is a data file format used to store transaction information of multiple blockchains. It is generated from a hot wallet and needs to be verified for legitimacy in a cold wallet. It is an encrypted data format in which the blockchain transactions are signed. After the collection order is signed, it is transferred to the hot wallet. The hot wallet verifies the legitimacy of the data and broadcasts the legal transactions to the corresponding blockchain, thus realizing the process of transferring assets from the cold wallet to the hot wallet.

[0033] Encrypted order storage unit: a storage device responsible for exchanging data between hot wallets and cold wallets for aggregated orders, such as a USB device with encrypted access verification.

[0034] Master public key / private key: An asymmetric key pair based on elliptic curve encryption technology generated using hierarchical deterministic cryptography technology. The master public key can be used to derive an infinite number of child public keys, but not child private keys. The master private key can be used to derive the private keys corresponding to all child public keys.

[0035] The hot wallet is deployed in an online environment. The master public key generated by the hierarchical deterministic cryptography technology in the hot wallet is used to calculate a large number of payment addresses for receiving recharges from the fund custodian. The online system where the hot wallet is located is responsible for monitoring the recharge records of these addresses through the blockchain. Since the private key is stored on the server, it is vulnerable to hacker attacks in an online environment. Cases of illegal hacking and copying of private keys by servers are not uncommon. In addition, there are potential operational and management risks for the company's internal operation and maintenance personnel. Once a problem occurs, it will cause irreparable losses to the digital assets hosted by the platform.

[0036] Since users need to withdraw their assets, they need to transfer some of the assets used for liquidity from the cold wallet to the private key of the hot wallet. The hot wallet is responsible for completing the actual asset withdrawal and transfer.

[0037] The hot wallet monitors all deposit addresses and can record the correspondence between addresses and assets in the cold wallet. When the assets in the cold wallet need to be transferred to the hot wallet, the hot wallet generates a collection order to transfer assets from the cold wallet to the hot wallet based on the correspondence between addresses and assets. The collection order can be verified and its validity is guaranteed by using cryptographic technology. At this time, since the hot wallet does not have the private key of the cold wallet address, it cannot sign the blockchain transaction, so an unsigned collection order is generated.

[0038] After the order data is generated, it is stored in an encrypted storage unit and transferred to a cold wallet system in an isolated environment by designated personnel. The cold wallet system verifies and decrypts the collected orders, signs all blockchain transactions, repackages and encrypts the collected orders, and saves them in the encrypted order storage unit.

[0039] The relevant personnel transfer the signed collection orders in the encrypted order storage unit to the hot wallet. After the hot wallet decrypts and verifies the collection orders, it broadcasts them to the blockchain. After the corresponding transactions are confirmed on the blockchain, all funds in the order are transferred to the hot wallet private key. The hot wallet is responsible for the user's asset withdrawal transactions.

[0040] The matters not described in detail in the present invention are all known technologies to those skilled in the art.

[0041] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.

Claims

1. A virtual asset custody and payment system based on the underlying blockchain, characterized in that: include: Cold wallets are services that run in an isolated island environment. No one is allowed to access the cold wallet address illegally, including the private key. Hot wallets are deployed in a public online environment, connected to multiple public blockchains at the bottom layer, and can be used as a service system for online virtual asset transfers. Hot wallets include at least the master public key of the cold wallet address and the private key of the hot wallet address. The master public key is responsible for calculating the user's deposit address and is used to receive deposits from users; Hot wallet private key. When a user needs to withdraw his assets, the transaction is signed directly by the hot wallet private key and broadcast on the blockchain; Collection order, a data file format; used to save transaction information of multiple blockchains, generated from hot wallets, needs to be verified in cold wallets for legitimacy, and the blockchain transactions in it are signed in an encrypted data format; after the collection order is signed, it is transferred to the hot wallet, which verifies the legitimacy of the data and broadcasts the legal transactions to the corresponding blockchain, thus realizing the process of transferring assets from cold wallets to hot wallets; And includes: encrypted order storage unit: a storage device responsible for exchanging data between the collected orders in the hot wallet and the cold wallet; And include: Master public key / private key: an asymmetric key pair generated using hierarchical deterministic cryptography technology. The master public key can be used to derive an unlimited number of child public keys, but cannot be used to derive child private keys. The master private key can be used to derive the child private keys corresponding to all child public keys and their corresponding public keys.

2. A virtual asset custody and payment method based on the underlying blockchain, characterized in that: The steps include: 1) Deploy the hot wallet in an online environment, and use the master public key generated by the hierarchical deterministic cryptography technology in the hot wallet to calculate a large number of payment addresses for receiving recharges from the fund custodian. The online system where the hot wallet is located is responsible for monitoring the recharge records of these addresses through the blockchain; 2) Since users need to withdraw their assets, they need to transfer part of the assets used for liquidity from the cold wallet to the private key of the hot wallet. The hot wallet is responsible for completing the actual asset withdrawal and transfer; 3) The hot wallet monitors all deposit addresses and can record the correspondence between addresses and assets in the cold wallet. When the assets in the cold wallet need to be transferred to the hot wallet, the hot wallet generates a collection order to transfer assets from the cold wallet to the hot wallet based on the correspondence between addresses and assets. The collection order can be verified using cryptographic technology to ensure its validity; At this time, since the hot wallet does not have the private key of the cold wallet address, it cannot sign the blockchain transaction, so an unsigned collection order is generated; 4) After the order data is generated, it is stored in an encrypted storage unit and transferred to a cold wallet system in an isolated environment by designated personnel. The cold wallet system verifies and decrypts the collected orders, signs all blockchain transactions, repackages and encrypts the collected orders, and saves them in the encrypted order storage unit; 5) The relevant personnel transfer the signed collection order in the encrypted order storage unit to the hot wallet. After the hot wallet decrypts and verifies the collection order, it broadcasts it to the blockchain. After the corresponding transaction is confirmed on the blockchain, all funds in the order are transferred to the hot wallet private key. The hot wallet is responsible for the user's asset withdrawal transaction.

3. The virtual asset custody and payment method according to claim 2, characterized in that: Step 3) includes: when the funds in the hot wallet private key are low or reach a preset threshold, a collection order for transferring assets from the cold wallet to the hot wallet is manually generated in the management background according to a preset ratio. The amount of assets transferred by the collection order only needs to ensure the normal flow of funds in the online environment.