Create embedded wallets

Generate an EOA wallet

EOA wallets are generated on-device at device + application level and automatically backed up to the user's cloud account.

//create an account
var account = await AccountManager.CreateAccount();

Get the public address

//get current user account address
var address = await AccountManager.GetPublicAddress();

EOA wallets share the same address for both Amoy and Mainnet Polygon.

Get the seed phrase

Display the seed phrase to enable users to export their EOA wallet.

var mnemonic = await AccountManager.GetAccountPhrase();

Last updated