Red envelope transaction method and device based on block chain, equipment and storage medium
The invention discloses a red envelope transaction method and device based on a block chain, equipment and a storage medium, and relates to the technical field of block chains, and the method comprises the steps: registering a user public key of a client, and obtaining a to-be-received red envelope...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
31.10.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a red envelope transaction method and device based on a block chain, equipment and a storage medium, and relates to the technical field of block chains, and the method comprises the steps: registering a user public key of a client, and obtaining a to-be-received red envelope and a red envelope receiving condition; broadcasting a red envelope receiving condition to the client, receiving a red envelope receiving request of a target client, and judging whether the target client meets the receiving condition or not according to a first public key in the request; if yes, generating a to-be-issued red envelope, generating a second public key and a second private key according to the random number in the red envelope receiving request and the first public key, and sending the to-be-issued red envelope and the second public key to the target client; and receiving a red envelope use request of the target client, judging a use condition based on the second private key and the second public key, |
---|---|
Bibliography: | Application Number: CN202311037662 |