HD Wallets
Last updated
Last updated
This documentation portal is currently undergoing updates to align with the IoTeX 2.0 Whitepaper release. Information provided here may be incomplete, or out-of-date. Please use this portal for preliminary reference only, and check out the official IoTeX 2.0 Whitepaper for updated information.
.2024 | IoTeX
Create the HD Wallet and provide the mnemonic phrase.
Usage: ioctl hdwallet create
Example
Deletes the HD Wallet from the system
Usage: ioctl hdwallet delete
#Example
Derive an address from the HD Wallet given a certain derivation path.
Usage: ioctl hdwallet derive id1/id2/id3
Example
Once you imported a seed phrase or created a brand new HD wallet, you can refer the private key of one of it's derived addresses with hdw::a/b/c.
For example, if you want to make an IOTX transfer from the first HD Wallet derived address, here is how you'd do it:
or, an ioUSDT ERC20 transfer from the first derived address, would look like this:
where io1m22v9cnnjcktas584wcl96vl5z5e700l7fdvhk
is the recipient and io1d77dcytfk5fsck089eg7669gfpqunrx35ue5ln
is the ioUSDT token contract address on IoTeX.
Displays the mnemonic phrase for the HD wallet
#Example
Usage: ioctl hdwallet export
Example
Usage: ioctl hdwallet import