EVM based chain test tool. There is a simple solidity contract to test(store and inquiry number).
- Go, Geth, Nodejs
- Set config file
./config/config.json
{ "targetUrl":"http://localhost:8545", "gasLimit":"58360" }
targetUrl: Target chain informationgasLimit: Transaction gas limit
- Set contract config file
./config/configContract.json
{ "contractDir":"./rpc/contracts/", "contractAbiDir":"contractAbi.json", "contractBytecodeDir":"contractBytecode.json", "contractAddressDir":"contractAddress.json" }
contractDir: Default directory of contractcontractAbiDir,contractBytecodeDir: Solidity contract ABI and bytecode file to deploy (Default test solidity contract ABI & bytecode are set)contractAddressDir: After deploying contract, contract address saved file directory automatically
- Set key config file
./config/configKey.json
{ "mnemonic":"" }
mnemonic: mnemonic words to crate eth test tool's address and private key
- Set config file
- ./start.sh
- If account has no coin, send coin to ETH account address in order to pay gas fee
- Test
- Contract deploy
- Send invoke transaction
- Call transaction
- Get transaction information (by hash)
- Get block information (by hash or height)
- Account info(eth-test-tool)
- Account info(retrieve account)
- Send coin(from eth-test-tool address to others)