This repo contains all the contracts for SWEEP Coin. It also contains the Stabilizer's implementation.
git clone https://github.com/SweeprFi/sweepr-contracts.git
cd sweepr-contracts
cp .env.example .env
npm install
npx hardhat compile
Repeat this for every file in the scripts folder:
npx hardhat run --network [your-network] scripts/deploy_N_[script].js
Store the output addresses in the .env file
The NETWORK in the .env must be 'arbitrum' to fork Arbitrum One
npx hardhat clean
npx hardhat coverage
or
npx hardhat test --network hardhat