Chain | ✅ Import Format | ✅ Export Format |
---|---|---|
EVM | Hexadecimal with or without 0x | Hexadecimal without 0x |
Solana | Base58-encoded private key | Base58-encoded private key |
Sui | Bech32-encoded private key | Bech32-encoded private key |
importPrivateKey(options)
useDynamicWaas
hook.
Parameters:
privateKey
: string - The private key to importthresholdSignatureScheme
: string - Defaults to ‘TWO_OF_TWO’initExportProcess
method from the useEmbeddedReveal
hook. This will open the flow described above. Only the end-user will be able to see the private key or seed phrase.
exportPrivateKey(options)
accountAddress
: string - The address of the account to exportdisplayContainer
: HTMLIFrameElement - The container to display the private key inexportClientKeyshares(options)
accountAddress
: string - The address of the account to export keyshares for