Skip to content

A script to generate a signed raw transaction with ethers.

License

Notifications You must be signed in to change notification settings

ajax000-ai/raw-tx

 
 

Repository files navigation

Ethereum Raw Transaction Signing Script

Sanity checks License: WTFPL

A script to generate a signed raw transaction with ethers.

Installation

It is recommended to install Yarn through the npm package manager, which comes bundled with Node.js when you install it on your system. It is recommended to use a Node.js version >= 18.0.0.

Once you have npm installed, you can run the following both to install and upgrade Yarn:

npm install --global yarn

After having installed Yarn, simply run:

yarn install

Generate a Signed Raw Transaction

Configure the placeholder payload in script according to your needs and run:

yarn generate

This will print all raw transaction details to your terminal. Use the output signedTx.serialized to broadcast a transaction e.g. with services like pushTx.

About

A script to generate a signed raw transaction with ethers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.8%
  • JavaScript 6.2%