From 8db84148faa78cc88175712fdf17c98484e62f80 Mon Sep 17 00:00:00 2001 From: Kayan <37097018+taokayan@users.noreply.github.com> Date: Thu, 8 Jun 2023 15:48:21 +0800 Subject: [PATCH] Update README.md --- peripherals/tx_wrapper/README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/peripherals/tx_wrapper/README.md b/peripherals/tx_wrapper/README.md index fe4e4621..cc6af93d 100644 --- a/peripherals/tx_wrapper/README.md +++ b/peripherals/tx_wrapper/README.md @@ -1,5 +1,11 @@ # evm_poc_tx_wrapper +## Prerequisite +You need to have a miner account (for example: a123) with enough CPU & NET resource. Then open the evm account balance +``` +./cleos push action eosio.evm open '{"owner":"a123"}' -p a123 +``` + ## Build ``` yarn @@ -15,9 +21,16 @@ EOS_RPC="http://127.0.0.1:8888|http://192.168.1.1:8888" EOS_KEY="5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3" HOST="0.0.0.0" PORT="18888" -EOS_EVM_ACCOUNT="evmevmevmevm" + +# the evm contract account, eosio.evm for testnet & mainnet. +EOS_EVM_ACCOUNT="eosio.evm" + +# the miner account EOS_SENDER="a123" + +# the miner's permission to use EOS_PERMISSION="active" + EXPIRE_SEC=60 ```