Creating an MPC wallet
MPC Wallet
Additional Notes:
- Use Trust Wallet Core to derive the `secret` using the Derivation Path.
- CoinType.ethereum
- CoinType.solana
- CoinType.arbitrum
- More coins : https://trustwallet.github.io/docc/documentation/walletcore/cointype/
- Refer to the Trust Wallet Registry for `ChainId` and `ecType`: https://github.com/trustwallet/wallet-core/blob/master/registry.json
val walletResponse = client.createMpcWallet(
name = "KeyGenGroupID123",
numParties = 2,
wallets = listOf(
MpcKeyGenWallet(
derivationPath = "m/84/0/0/0/0",
chainId = "ethereum",
ecType = "ecdsa"
)
)
)
walletResponse.masterWallets.forEach { masterWallet ->
masterWallet.forEach { wallet
println("keyIdentity: ${wallet.keyIdentity} - ecType: ${wallet.ecType} - address: ${wallet.address}")
}
}
Mnemonic Compatible MPC Wallet
Signing MPC
Last updated