This repository contains a collection of test scripts designed for evaluating the Artela blockchain. These scripts serve as comprehensive tools to assess the functionality and performance of the Artela chain.
Generate 10,000 private keys (not necessary if already present in the ./keys
directory).
-
Create a directory named
keys
understability
. -
Run the script:
node scripts/create.js
- Replace bankPK in scripts/charge10000.js.
- Execute the script:
node scripts/charge10000.js
Deploy the contract:
node scripts/binding.cjs
For testing, modify tokenAddress in scripts/tps1.js with the contract deployed in the third step. Then execute the script by running node scripts/tps1.js.
cd ~/go/src/github.com/artela-network/test-scripts/pre_public_testnet/aspect
npm run aspect:build
cp ./build/release.wasm ../stability/aspect/.
cd ~/go/src/github.com/artela-network/test-scripts/pre_public_testnet/stability
node scripts/test-call.cjs