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 for additional information on implementing reactive contracts and callbacks. The src/demos
directory contains the basic Reactive Network demo with its README.md
file.
The following environment variables are used in the instructions for running the demos, and should be configured beforehand.
Ethereum Sepolia RPC address — https://ethereum-sepolia-rpc.publicnode.com/
or https://1rpc.io/sepolia
.
Ethereum Sepolia private key.
Kopli Testnet RPC address — https://kopli-rpc.rkt.ink
.
Kopli Testnet private key.
The system contract address on Kopli Testnet
For callback proxy addresses, refer to the docs.