Skip to main content

Get Ed25519 Private Key

To retrieve the Ed25519 private key of the user, you can access it from the login response. This private key can be used to sign transactions on Solana, Near, Algorand, and other chains that use the ed25519 curve.

Usage

private void onLogin(Web3AuthResponse response)
{
var ed25519PrivKey = response.ed25519PrivKey;
Debug.Log("Ed25519 Private Key: " + ed25519PrivKey);

// Use Ed25519 private key for Solana, Near, Algorand transactions
}
On this page