Skip to main content

Get Ed25519 Private Key

To retrieve the secp256k1 private key of the user., use getEd25519PrivKey method. This private key can be used to sign transactions on Solana, Near, Algorand, and other chains that use the ed25519 curve.

Usage

let privateKey = web3Auth.getEd25519PrivKey();
On this page