To install contract dependencies, run the following command:
forge soldeer install
source .env && forge clean && forge build --via-ir && \
forge script --chain arbitrum scripts/DeployRiftExchange.s.sol:DeployRiftExchange \
--rpc-url $ARBITRUM_RPC_URL --broadcast --sender $SENDER --private-key $SENDER_PRIVATE_KEY \
--verify --etherscan-api-key $ARBITRUM_ETHERSCAN_API_KEY --ffi -vvvv --via-ir
forge test
- Install slither
- Run:
python -m slither .
- Install mythril
- Run:
myth analyze src/RiftExchange.sol --solc-json mythril.config.json