Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

Latest commit

 

History

History
52 lines (35 loc) · 795 Bytes

README.md

File metadata and controls

52 lines (35 loc) · 795 Bytes

iCKB v1 tester

Run the simulation of iCKB limit order creation on testnet

  1. Download this repo in a folder of your choice:
git clone https://github.com/ickb/v1-tester.git
  1. Enter into the repo folder:
cd v1-tester
  1. Install dependencies:
pnpm install
  1. Build project:
pnpm build
  1. Define a env/testnet/.env file, for example:
CHAIN=testnet
TESTER_PRIVATE_KEY=0x-YOUR-SECP256K1-BLAKE160-PRIVATE-KEY
TESTER_SLEEP_INTERVAL=10

Optionally the property RPC_URL can also be specified:

RPC_URL=http://127.0.0.1:8114/
  1. Start simulation of user interactions:
export CHAIN=testnet;
pnpm run start;

Licensing

The license for this repository is the MIT License, see the LICENSE.