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
Refer to TECH.md
for additional information on implementing reactive contracts and callbacks.
The src/demos
directory contains several elaborate demos, accompanied by README.md
files for each one.
The following environment variables are used in the instructions for running the demos, and should be configured beforehand.
The Sepolia Testnet RPC address; https://rpc2.sepolia.org
unless you want to use your own.
The private key to your Sepolia wallet.
For the Reactive Testnet RPC address, refer to the docs.
The private key to your Reactive wallet.
The address of your Reactive wallet.
For the system contract address on the Reactive testnet, refer to the docs.
For the callback sender address, refer to the docs.