Ed25519 private key
To retrieve the ed25519 private key of the user, use the getEd25519PrivateKey method. This private key can be used to sign transactions on Solana, Near, Algorand, and other chains that use the ed25519 curve.
The method returns an empty string if the user isn't authenticated, so you can use it to check
for an existing session after initialize.
Usage
final privateKey = await Web3AuthFlutter.getEd25519PrivateKey();
note
Web3Auth supports two widely used cryptographic curves, Secp256k1 and Ed25519, making it chain-agnostic and compatible with multiple blockchain networks. Learn more about how to connect different blockchains.