Ethcode docs
Search…
⌃K

Account

Ethcode provides developers with all the required features of Ethereum account. Inside Ethcode developers can create, import, and Export an Ethereum account to do operations on EVM-compatible systems. below is the explanation of each feature associated with the account.

Create Ethereum Account

An Ethereum account is 42 characters long hexadecimal address. Developers can use an inbuilt Ethereum account to do any deployment and contract call process in Ethcode.
  1. 1.
    Ctrl + shift + P - shows command palate of VScode.
  2. 2.
    Ethcode: Activate Extension - this command activates the Ethcode extension.
Activate ETHcode
3. Create ethereum account- command is for creating an Ethereum account in Ethcode.
Create Ethereum account
4. Set the desired password for the new Ethereum account.
new account passord
You should remember the password of your newly created Ethereum account to do any interaction with smart contracts.
account created
After successful account creation now it's time to fund your Ethereum account with faucet tokens.
you can get free tokens from mentioned faucets:
Goerli testnet faucet: https://goerlifaucet.com/
Sepolia testnet faucet: https://faucet.sepolia.dev/
Polygon mumbai faucet: https://faucet.polygon.technology/

Import Ethereum Account

If anyone wants to use accounts created outside Ethcode like Metamask. Ethcode provides the feature of importing the Ethereum account stored in Keystore format.
  1. 1.
    Import ethereum account- command for importing Ethereum account stored in Keystore format.
import account command
2. Select keystore file where it is saved in your local machine.
keystore file
account imported

Export Ethereum Account

Developers love uniformity that's why Ethcode contains one more exciting feature called Export account. you can export the Ethereum account that you use in Ethcode in Keystore format and use that account on others wallets too.
  1. 1.
    Ethcode: Export Account- command to export account from Ethcode in Keystore format.
export account command
2. Select account from the Quick menu.
account quickpick menu
3. Select the directory where you want to save the Keystore file.
account exported