Skip to content

A simple script to test test p2p transactions and log them

License

Notifications You must be signed in to change notification settings

shardeum/simple-network-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Network Test

A simple script to test test p2p trsnactions and log them.

Steps to run this test

  1. Run a local Shardeum Network & RPC following the instructions here.

  2. Clone this repositiory

git clone https://github.com/shardeum/simple-network-test.git
  1. Install node modules
npm i
  1. To run a transaction test, use the following command:
node tx.js --no_tx 5 --rpc https://your-rpc-url --privateKey yourPrivateKey --amount 1

To run a rpc test, use the following command

node rpc.js --rpc https://your-rpc-url --address 0xanyAddress

About

A simple script to test test p2p transactions and log them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published