Accounts in f(x)Corecan be represented in both Bech32 and hex format for Ethereum's Web3 tooling compatibility.
common.Addressrepresentation of a Cosmos
By default, the
fxcored keys addcommand is defaulted to
--algo=eth_secp256k1 --coin-type=60without specifying the flag, specifying it will have the same result.
eth_secp256k1curve after migration:
<fx-0>address, such as token assets, delegations, delegating rewards, and proposals, if any.
Add Networkand fill the form as shown below.
For more details, you may refer to below page:
DhobyGhaut Testnetto the Metamask
Networks, you can automatically import your accounts by:
Settings, go to
My Accounts(top right circle) and select
Import Account. You should see an image like the following one:
Private Keyoption. Then paste the private key(hexadecimal) exported from the command in step 6, to import your new EVM-compatible account in MetaMask.
Main Ethereum Networkand then switch back to
DhobyGhaut Testnet.Once you have imported your wallet in MetaMask, you can transfer your assets to the EVM-compatible wallet address and spend within Dapps in the f(x)Core ecosystem.