|
|
8 tháng trước cách đây | |
|---|---|---|
| .. | ||
| contracts | 1 năm trước cách đây | |
| forge-test | 9 tháng trước cách đây | |
| ts-scripts | 11 tháng trước cách đây | |
| .gitignore | 1 năm trước cách đây | |
| Makefile | 1 năm trước cách đây | |
| README.md | 1 năm trước cách đây | |
| foundry.toml | 1 năm trước cách đây | |
| package-lock.json | 8 tháng trước cách đây | |
| package.json | 8 tháng trước cách đây | |
These smart contracts allow for relaying on EVM chains.
The relayer contracts are built with Forge. See below for details on installing forge.
For the required version of solc, the required EVM version and the solidity library dependencies see the config file
To build the contracts do:
wormhole/relayer/ethereum$ make build
For details on deploying the relayer contracts see the scripts readme.
The tests for the relayer contracts reside in forge-test. To run the tests do:
wormhole/relayer/ethereum$ forge test
Some tests and scripts use Foundry. It can be installed via the official installer, or by running
wormhole/relayer/ethereum$ ../../scripts/install-foundry
The installer script installs foundry and the appropriate solc version to build the contracts.