Created
July 21, 2024 23:04
-
-
Save jac18281828/4bb231917315a7e6ed4f114cecf060f9 to your computer and use it in GitHub Desktop.
geth console test commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web3.fromWei(eth.getBalance("0x6DB1F3F7a368d5895256A5BA0bdB84d2a6C3bFF7"), "ether") | |
web3.eth.sendTransaction({ | |
from: "0x6DB1F3F7a368d5895256A5BA0bdB84d2a6C3bFF7", | |
to: "0x1c0ffeec0ffeec0ffeec0ffeec0ffeec0ffee7ea", | |
value: web3.toWei(1, "gwei") | |
}) | |
web3.fromWei(eth.getBalance("0x1c0ffeec0ffeec0ffeec0ffeec0ffeec0ffee7ea"), "ether") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment