Skip to content

synthe-x/contracts

Repository files navigation

SyntheX Contracts

Compile Contracts

yarn compile

Deployment

yarn deploy --network [network]

Tasks

  1. Deploy SynthEx
npx hardhat run tasks/synthex
  1. Deploy SYX and esSYX
npx hardhat run tasks/syx
  1. Deploy Vault
npx hardhat run tasks/vault
  1. Deploy Pool
npx hardhat run tasks/pools/new
  1. Add collateral to pool
npx hardhat run tasks/pools/collateral
  1. Deploy and add Synth to pool
npx hardhat run tasks/pools/synth