posted an update —

Update smart contract build Instruction

Build

git clone --branch evm2wasm https://github.com/learnforpractice/evm4eosio evm4eosio --recursive
cd evm4eosio
mkdir build
cd build

To improve the performance of evm, there are three variables that can be configured to whether use intrinsic evm api or not. These intrinsic EVM API need a nodeos build from eos-with-evm to run.

USE_INTRINSIC_EVM_RECOVER_KEY
USE_INTRINSIC_EVM_EXECUTE
USE_INTRINSIC_EVM_GET_ACCOUNT_ID

Build With No Use Of Intrinsic EVM API

cmake ..
make -j$(nproc)

Build To Use Intrinsic EVM API evm_recovery_key

cmake -DUSE_INTRINSIC_EVM_RECOVER_KEY=TRUE ..
make -j$(nproc)

Build To Use Intrinsic EVM API evm_execute

cmake -DUSE_INTRINSIC_EVM_EXECUTE=TRUE ..
make -j$(nproc)

Build To Use Intrinsic EVM API evm_get_account_id

cmake -DUSE_INTRINSIC_EVM_GET_ACCOUNT_ID=TRUE ..
make -j$(nproc)

Log in or sign up for Devpost to join the conversation.