curve property

Curve? curve
final

curve will be used to determine the public key encoded in the jwt token which returned in getUserInfo function after user login.

This parameter won't change format of private key returned by We3Auth. Private key returned by Web3AuthFlutter.getPrivKey is always secp256k1. To get the ed25519 key you can use Web3AuthFlutter.getEd25519PrivKey method.

The default value is Curve.secp256k1.

Implementation

final Curve? curve;