Skip to content

sentimentxyz/protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment

Instructions

Requirements

  1. Rust
  2. Foundry - https://github.com/gakonst/foundry

Cloning Repo

git clone --recurse-submodules [email protected]:sentimentxyz/protocol.git

Building Contracts

forge build

Running tests

Unit/Functional tests

forge test --no-match-contract Integration -vvv

Integration tests

Ethereum mainnet
forge test --match-contract Integration --no-match-contract ArbiIntegration --fork-url https://rpc.ankr.com/eth
Arbitrum mainnet
forge test --match-contract ArbiIntegration --fork-url https://arb1.arbitrum.io/rpc -vvv

Configuring mappings

forge config > remappings.txt