Digital currency joint payment method and system based on blockchain smart contract
A smart contract and digital currency technology, applied in the field of blockchain, can solve the problems of increased workload, cumbersomeness, and lack of blockchain for payment agents, and achieve the effect of improving convenience and reliability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] A digital currency joint payment method based on a block chain smart contract according to an embodiment of the present invention comprises the steps of:
[0037] Step 1. Receive the group creator's request to create a joint payment group, create a smart contract script on the client, confirm the group member information and set the payable amount for each group member, and send the smart contract script, group The membership and the amount due are sent to the blockchain. The group member information can be confirmed by sending an inquiry message to the group member candidates.
[0038] Step 2. Deploy the smart contract script on the blockchain, create the contract account of the group member at the same time, and record the group member and the corresponding contract account in the smart contract script. The contract account is equivalent to a common wallet, which is used to store the total available amount of group members.
[0039] Step 3. The creator client sends ...
Embodiment 2
[0050] The co-payment software consists of two parts, the client and the blockchain smart contract. The users of the client are the co-payment initiator and the co-payment participant. Therefore, in the process of creating a co-payment group, the system can be divided into smart contracts, creator clients and participant clients; in the process of co-payment, the software can be divided into smart contracts, initiator clients and participant clients end.
[0051] The client stores the user's public key, private key and smart contract script code, and the smart contract script and smart contract account are deployed in the smart contract. Only message communication is carried out between clients, and the smart contract completes the functions of joint payment and automatic accounting.
[0052]The client needs to store the user's private key, public key and general smart contract script. Can communicate with other clients. Payments for user accounts, deployment of smart cont...
Embodiment 3
[0158] A digital currency joint payment method based on a blockchain smart contract in the embodiment of the present invention is different from Embodiment 2 in that each user can pay a different amount. The joint payment initiation request includes the payee, the participating members, the amount payable by each participating member, and the actual total transaction amount. When passing parameters to the smart contract, it is necessary to pass the payee, participating members, the individual payable amount of each participating member, and the actual total transaction amount.
[0159] Two variables need to be added:
[0160] (1) The list money_list is used to store the amount that each participant needs to pay (that is, the amount after adding 1% handling fee);
[0161] (2) The list actmoney_list is used to store the amount actually paid by each participant to the payee, and this variable is set by the initiator.
[0162] The lists money_list and actmoney_list need to be ad...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


