Private Key & Signature
ZkLink protocal requires two signature methods:
ECDSA: Digital Signature Algorithm (DSA) which uses keys derived from elliptic curve cryptography (ECC)
EdDSA: A digital signature scheme using a variant of Schnorr signature based on twisted Edwards curves. It is designed to be faster than existing digital signature schemes without sacrificing security.
Account PrivateKey
The account private key is the EdDSA private key generated by the user through the Ethereum wallet private key signature, the signature signed by this private key also called ZkLinkSignature. The pseudocode method for private key generation is as follows:
for example
L3 signature
The Layer3 transactions need to attach the ZkLink signature, to encode the transactions, see more in the encode part.
Last updated