Create 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.
import { createAccount } from '@rly-network/mobile-sdk';
//create an account
const newAccount = await createAccount();
Get the public address
import { getAccount } from '@rly-network/mobile-sdk';
// get current user account address
const account = await getAccount();
Get the seed phrase
Display the seed phrase to enable users to export their EOA wallet.
import { getAccountPhrase } from '@rly-network/mobile-sdk';
const mnemonic = await getAccountPhrase();
Last updated