This connector is currently being refactored as part of the Gateway V2 redesign. The current V1 version is working, but may have usability issues that will be addressed in the redesign.
ℹ️ Protocol Info¶
- Release added: 0.2.0 by CoinAlpha
- Maintainer: CoinAlpha
There are two ways to connect your Ethereum wallet:
- Importing the wallet's keyfile
- Importing the wallet's private key
To import your wallet using its JSON keyfile:
- Export the JSON keyfile from other wallets such as Metamask, MyCrypto, or MyEtherWallet
- Save the file in the
- Rename the file to
[address]is the public Ethereum address in the format
- Start Hummingbot
connectcommand to confirm if keys are confirmed and added for ethereum.
When you import a wallet with Hummingbot, a JSON file named
key_file_[address].json is created in the
/conf directory. This JSON keyfile contains the encrypted private key of your wallet and can be imported into other dApps.
- Run the command
connect ethereumin the Hummingbot client
- Enter your wallet private key
- Enter Ethereum node address (starts with https://)
- Enter the WebSocket connection address of your Ethereum node (starts with wss://)
Within the Hummingbot CLI, you can use the
export_private_key command to display the private key associated with a wallet address. You can import your wallet to dApps like Metamask and MyCrypto using this private key as well.
Interacting with blockchain protocols requires access to a node through which you can send and receive data.
config ethereum_rpc_url to use your Ethereum node with Hummingbot:
Which Ethereum node would you like your client to connect to? >>>