Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dominant-strategies/quai-transactor
https://github.com/dominant-strategies/quai-transactor
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dominant-strategies/quai-transactor
- Owner: dominant-strategies
- Created: 2023-05-10T20:22:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-06T17:51:46.000Z (3 months ago)
- Last Synced: 2024-11-06T18:39:07.126Z (3 months ago)
- Language: JavaScript
- Size: 114 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quai Transactor
This script is used to run load testing on the QUAI network. It uses a collection of wallets and sends transactions between them to test the network's capabilities.
## Prerequisites
- Node.js v14 or higher
- NPM v6 or higher
- Wallet data in `wallets.json` file## Setup
1. Clone the repository:
```bash
git clone https://github.com/dominant-strategies/quai-transactor
```2. Install the dependencies:
```bash
cd quai-transactor
npm i
```## Usage
Ensure that the go-quai node is exposing the txpool api on both HTTP and WS.
You can run the script by using the following command.
```bash
node index.js --group --zone zone-- --host
```
Or you can use the short form of the options:```bash
node index.js -g -z zone-- -h
```Here is the explanation for each option:
- `--group, -g: The group that you want to use for the load testing.` Ex. group-0
- `--zone, -z: The zone that you want to use for the load testing.` Ex. zone-0-0
- `--host, -h: The hostname of the network provider. If not provided, it defaults to 'localhost'.`