Skip to content

Reactive-Network/system-smart-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System Smart Contracts for Reactive Network

Development & Deployment Instructions

Environment Setup

To set up foundry environment, run:

curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc
foundryup

Install dependencies:

forge install

Development & Testing

To compile artifacts:

forge compile

To run the test suite:

forge test -vv

To inspect the call tree:

forge test -vvvv

Additional Documentation & Demos

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.

Environment Variable Configuration

The following environment variables are used in the instructions for running the demos, and should be configured beforehand.

SEPOLIA_RPC

Ethereum Sepolia RPC address — https://ethereum-sepolia-rpc.publicnode.com/ or https://1rpc.io/sepolia.

SEPOLIA_PRIVATE_KEY

Ethereum Sepolia private key.

REACTIVE_RPC

Kopli Testnet RPC address — https://kopli-rpc.rkt.ink.

REACTIVE_PRIVATE_KEY

Kopli Testnet private key.

SYSTEM_CONTRACT_ADDR

The system contract address on Kopli Testnet

CALLBACK_PROXY_ADDR

For callback proxy addresses, refer to the docs.

About

Reactive Network Subscription Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •