Creating an MPC wallet
MPC Wallet
To generate a new MPC wallet using the createMpcWallet()
method, This process generates shards, including:
name
: The name of master walletMnemonic
: The mnemonic phrase generated by the mobile app.numParties
child wallet keyswallets
: A list of MpcKeyGenWallet to perform keygen. Each item requires:derivationPath
: The derivation Path of Wallet.ChainId
: The chain name (e.g., ethereum, solana).ecType
: The cryptographic algorithm type (eddsa, ecdsa).
Example:
Mnemonic Compatible MPC Wallet
To generate a new MPC wallet using the createMnemonicWallet()
method, This process generates shards, including:
name
: The name of master walletMnemonic
: The mnemonic phrase generated by the mobile app.numParties
child wallet keyswallets
: A list of KeyGenWallet to perform keygen. Each item requires:secret
: The private key of the Child Wallet (derived from the mnemonic phrase).walletAddress
: The public address or public key of the Child Wallet.ChainId
: The chain name (e.g., ethereum, solana).ecType
: The cryptographic algorithm type (eddsa, ecdsa).
Example:
Last updated