Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dominant-strategies/quai-transactor


https://github.com/dominant-strategies/quai-transactor

Last synced: 2 months ago
JSON representation

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'.`