/fheaam

Primary LanguageJavaScript

FHE-AMM

Set up environment

Install Truffle: npm install -g truffle Install Ganache Install Uniswap v3 core: npm install @uniswap/v3-core

Run locally

In the terminal, run:

  • npx truffle migrate
  • npx truffle console

In the Truffle console, run:

  • let instance = await FHEAMM.deployed()
  • instance.doSomethingWithPool() (or run any other function)

Inspired from this guide.