-
Install dependencies:
forge soldeer update -
Compile all:
chmod +x helpers/* & ./helpers/0-all.sh -
Add any network configurations to
foundry.toml&.env -
Deploy C3Ping:
./helpers/deploy/all.sh(you need to add the scripts per-network you wish to test) -
As they deploy, take the output
PING_1=0x...and paste into.env -
After deployment to each network, initialize with
./helpers/set-peers.sh- this will use the environment variables saved from before. -
The ping endpoints are now in sync - run a ping from one network to the others using
./helpers/ping/xyz.sh.
NOTE: When running the 'read inbox' or 'read outbox' scripts, make sure to pipe to a text file if you wish to analyse data at a later date.