CPC G06Q 20/3829 (2013.01) [H04L 9/14 (2013.01); H04L 63/061 (2013.01); G06F 21/33 (2013.01); G06F 21/6245 (2013.01); G06F 2221/2115 (2013.01); G06Q 2220/00 (2013.01); H04L 9/0643 (2013.01); H04L 9/3236 (2013.01); H04L 9/3297 (2013.01); H04L 9/50 (2022.05); H04L 2463/061 (2013.01)] | 9 Claims |
1. A method for implementing zero-knowledge private key management for decentralized applications on a client device comprising a client application comprising:
registering an account with a verifier server;
initializing a wallet on the client application;
generating each of a public key and a private key on the client application;
encrypting the private key with a client-side encryption function on the client application, producing an encrypted private key;
transmitting the encrypted private key to the verifier server;
receiving a confirmation of receiving the encrypted private key from the verifier server:
in response to receiving the confirmation from the verifier server, removing the private key from the client application;
sending a transaction request to a decentralized application;
receiving a raw transaction at the client application;
requesting the encrypted private key from the verifier server;
receiving the encrypted private key from the verifier server at the client application;
decrypting the encrypted private key with a client-side decryption on the client application, producing a decrypted private key;
signing the raw transaction with the decrypted private key, producing a signed transaction;
transmitting the signed transaction to the decentralized application; and
removing each of the encrypted private key and the decrypted private key from the client application.
|