Created
September 26, 2019 15:20
-
-
Save jacqueswww/8d44eaa61d21fa80bf203d3af8904cf7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LIB_HERA_PATH="./hera/build/src/libhera.so" | |
TMP_PATH="./ewasm-node/4201/" | |
if [[ ! -d $TMP_PATH ]]; then | |
./build/bin/geth --datadir $TMP_PATH init ewasm-testnet-geth-config.json | |
fi | |
./build/bin/geth --vm.ewasm="$LIB_HERA_PATH,metering=true,fallback=true" \ | |
--cache 1024 \ | |
--datadir $TMP_PATH \ | |
--etherbase 0xb29Bc34840F158C1F3d535E8f4a6dC4AADa574b4 \ | |
--rpc --rpcapi "web3,net,eth,debug" --rpcvhosts="*" --rpcaddr "0.0.0.0" --rpccorsdomain "*" \ | |
--vmodule "miner=12,rpc=12" \ | |
--networkid 66 \ | |
--bootnodes "enode://53458e6bf0353f3378e115034cf6c6039b9faed52548da9030b37b4672de4a8fd09f869c48d16f9f10937e7398ae0dbe8b9d271408da7a0cf47f42a09e662827@23.101.78.254:30303" \ | |
--mine --miner.threads 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment