Skip to content

jwasinger/eth-txn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Super-simple script to create a signed transaction

Usage

Craft the transaction

node txn.js --data /path/to/binary --nonce nonce --private private_key (--to recipient)

Send the transaction to the client

curl -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["raw txn value from above"],"id":2}' localhost:8545

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published