Files
kesto/recover-geth-funds
dependabot[bot] 5b2c60ad0e Bump github.com/ethereum/go-ethereum in /recover-geth-funds
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.10.2 to 1.10.17.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.10.2...v1.10.17)

---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-24 20:56:32 +00:00
..
2021-05-06 18:46:12 +02:00
2021-05-06 18:46:12 +02:00
2021-05-06 18:46:12 +02:00

recover-geth-funds

Very simple cli to send all the funds from a geth KeyStore to an address.

COMMANDS:
   info     get info
   sendall  send all eth to address
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --config value
   --address value
   --help, -h       show help
   --version, -v    print the version

Example

> go run main.go --address=0xbbb...bbb sendall

Sending to: 0xbbb...bbb
Keystore and account unlocked successfully: 0xaaa...aaa
Connection to web3 server opened url https://web3.url
Current balance: 0.361380906720109598 ETH
Nonce: 183
balance 0.10380807320336598 ETH
 tosend 0.10380802320336598 ETH (substracting the fees)
(y/N): y
operation confirmed
tx sent: 0xccccc...ccc