Cryptex Synthetic Derivatives is powered by perennial contracts.
curl -L https://foundry.paradigm.xyz | bash
foundryup
git submodule update --init --recursive
yarn install
npx hardhat compile
npx hardhat deploy --network arbitrumGoerli --tags Coordinator
set the env var COORDINATOR_ID with the value given by the previous command
npx hardhat deploy --network arbitrumGoerli