To set up foundry
environment, run:
curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc
foundryup
Install dependencies:
forge install
To compile artifacts:
forge compile
To run the test suite:
forge test -vv
To inspect the call tree:
forge test -vvvv
The src/demos
directory contains several demos with their README.md
files.
The following environment variables are used in the instructions for running the demos, and should be configured beforehand.
RPC URL for the origin/destination chain (see Chainlist).
Private key for signing transactions on the origin/destination chain.
RPC URL for the Reactive Network (see Reactive Docs).
Private key for signing transactions on the Reactive Network.
The service address for the Reactive Network (see Reactive Docs).
The address that verifies callback authenticity (see Reactive Docs).