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
- Host: GitHub
- URL: https://github.com/chainsafe/anemone
- Owner: ChainSafe
- License: lgpl-3.0
- Created: 2019-06-15T15:44:12.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-01-04T14:14:42.000Z (about 3 years ago)
- Last Synced: 2025-10-02T02:53:24.162Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 708 KB
- Stars: 12
- Watchers: 1
- Forks: 4
- Open Issues: 17
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
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**