evmemulator

command module
v0.0.0-...-c7601a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

README

evmemulator

The evmemulator tool provides a JSONRPC server with Solo as a backend, allowing to test Ethereum contracts.

Example: Uniswap test suite

The following commands will clone and run the Uniswap contract tests against ISC's EVM.

Start the evmemulator:

evmemulator

In another terminal, clone uniswap:

git clone https://github.com/Uniswap/uniswap-v3-core.git
yarn install
npx hardhat compile

Edit hardhat.config.ts, section networks:

wasp: {
    chainId: 1074,
    url: 'http://localhost:8545',
},

Run the test suite:

npx hardhat test --network wasp

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL