GithubHelp home page GithubHelp logo

frontend-tools's Introduction

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.

frontend-tools's People

Contributors

sameplacewei avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.