Sign raw transactions
1 Generate a raw-tx for test:
$ ./eth-cli transfer \
--dry-run \
-f /tmp/a.json \
-a 0.002eth -t 0x4cD96aC8382362b14FE1f48d4FBa5917Dd5d79e3 \
--chain-id 11155111 \
--nonce 11
Using wallet file: /tmp/a.json
Please Enter AES Password:
Did you use a BIP39 passphrase for this wallet? (y/n): y
Please Enter BIP39 Passphrase:
WARNING: Using chain ID 11155111 and nonce 11 for dry run.
Transaction Details:
From: 0x990d19d8C4e61D7e56Ab570490ad9caE55e12eb2
To: 0x4cD96aC8382362b14FE1f48d4FBa5917Dd5d79e3
Amount: 0.002000000000000000 ETH
Gas Limit: 21000
Gas Price: 1.000000000 Gwei
Gas Fee: 0.000021000000000000 ETH
Nonce: 11
Chain ID: 111551112 Sign a raw-tx without broadcast:
3 Sign and broadcast
4 Check the browser
Last updated