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
Refer to Docs or TECH.md for additional information on implementing reactive contracts and callbacks. 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.
Ethereum Sepolia RPC URL, which can be found on Chainlist.
Ethereum Sepolia private key.
Reactive Kopli RPC URL — https://kopli-rpc.rkt.ink
.
Reactive Kopli private key.
For the system contract address, refer to Reactive Docs
For callback proxy addresses, refer to Reactive Docs.