You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
749 B

  1. # recover-geth-funds
  2. Very simple cli to send all the funds from a geth KeyStore to an address.
  3. ```
  4. COMMANDS:
  5. info get info
  6. sendall send all eth to address
  7. help, h Shows a list of commands or help for one command
  8. GLOBAL OPTIONS:
  9. --config value
  10. --address value
  11. --help, -h show help
  12. --version, -v print the version
  13. ```
  14. # Example
  15. ```
  16. > go run main.go --address=0xbbb...bbb sendall
  17. Sending to: 0xbbb...bbb
  18. Keystore and account unlocked successfully: 0xaaa...aaa
  19. Connection to web3 server opened url https://web3.url
  20. Current balance: 0.361380906720109598 ETH
  21. Nonce: 183
  22. balance 0.10380807320336598 ETH
  23. tosend 0.10380802320336598 ETH (substracting the fees)
  24. (y/N): y
  25. operation confirmed
  26. tx sent: 0xccccc...ccc
  27. ```