Skip to content

arcology-network/cli-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Tools

This project is designed to facilitate interaction with the Arcology Network. It provides a set of lightweight tools to generate transactions in **batches**, sign and save them to files, load and send them to the network, wait for their execution, parse receipts, and handle events. It also comes with the ability to monitor the status of the network.

Eth RPC

On the Ethereum network, the standard `eth_sendRawTransaction` only accepts a single raw transaction in a single request, but cannot handle batched transactions, which cannot fully utilize Arcology Network's parallel processing capability.

Extension API

Arcology Network supports the standard RPC API provided by Ethereum and it offers an extra interface called `arcol_sendRawTransactions`to support batched transactions for better performance. It is very similar to the standard `eth_sendRawTransaction` interface, but it is designed to accept batched raw transactions in a request.

For more information, please refer to the RPC API document.

Toolkit

1. `network-monitor.js` is a tool to monitor the status of the network. It calculates the maximum TPS (Transactions Per Second), realtime TPS, and blocks produced within one minute a moving window.
  1. send-tx.js loads raw transactions from files and sends them to the network.

  2. `update-network-info.js' reads the account and address information from a csv file and updates the network.json accordingly, which will be used to send later to initialize the test accounts when starting the network.

Usage

Please check out [this project](https://github.com/arcology-network/examples) for information on how to use the tools to interact with the Arcology Network.

Feedback and Contributions

Feel free to use these tools for benchmarking on the Arcology Network. If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This toolkit is licensed under the MIT License.

About

Projects designed to facilitate interaction with the Arcology Network using JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors