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

https://github.com/chainsafe/anemone

A testing tool that broadcasts batches of transactions and tests opcodes
https://github.com/chainsafe/anemone

Last synced: 4 months ago
JSON representation

A testing tool that broadcasts batches of transactions and tests opcodes

Awesome Lists containing this project

README

          

# Anemone

Anemone is a testing tool that broadcasts batches of transactions and tests opcodes.

## Config Values

**rpcUrl:** Url to node open for RPC, defaults to default localhost port, **string**

**numTransactions:** number of transactions to generate and throw, **string**

**numWallets:** number of wallets that will be created to throw/recieve transactions, **string**

**testOpCodes:** set true to deploy and test the smart contracts containing each opcode, **boolean**

**amount:** value (in wei) to send in each transaction, **string**

**gasPrice:** gas price in gwei to set for each transaction, **string**

**maxGas:** max gas to set for each transaction generated, **string**

**chainId:** chainId, **num**

**pk:** private key, it starts with **0x...**
## Set-up
* run `yarn install`

## Start

### Flags
**--pk** (Optional) private key, takes private key of wallet that will fund the other sender wallet and deploy opcode contracts.

**--rpcport** (Optional), specify url to node open for RPC, defaults to config value

* Must have rpc port exposed
* Must ensure the account associated with the private key provided is sufficiently funded
* run `yarn start [OPTIONS]`

**Please ensure that the account associated with the private key provided is sufficiently funded**