Skip to content

Latest commit

 

History

History
66 lines (45 loc) · 1.63 KB

README.md

File metadata and controls

66 lines (45 loc) · 1.63 KB

Reservoir AMM-periphery

Setup

Install global dependencies

This repo uses foundry as the main tool for compiling and testing smart contracts. You can install foundry via:

curl -L https://foundry.paradigm.xyz | bash

For alternative installation options & more details see the foundry repo.

Install project dependencies

git submodule update --init --recursive
nvm use
npm install
npm run install 

Building

forge build

Testing

To run unit tests:

forge test

Deploying

To deploy this onto a testnet / mainnet, run:

forge script script/setup_scaffold.s.sol --target-contract SetupScaffold 
--rpc-url "http://127.0.0.1:8545" --broadcast -vvv

Contributing

Are you interested in helping us build the future of Reservoir? Contribute in these ways:

  • For SECURITY related or sensitive bugs, please get in touch with the team at security@reservoir.fi or on discord instead of opening an issue on github.

  • If you find bugs or code errors, you can open a new issue ticket here.

  • If you find an issue and would like to submit a fix for said issue, follow these steps:

    • Start by forking the amm-periphery repository to your local environment.
      • Make the changes you find necessary to your local repository.
      • Submit your pull request.
  • Have questions, or want to interact with the team and the community? Join our discord!