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.
send-tx.js loads raw transactions from files and sends them to the network.
`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.
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.