Contracts for GMX.
If npx is not installed yet:
npm install -g npx
Install packages:
npm i
npx hardhat compile
npx hardhat test
npx hardhat run scripts/peripherals/read.js --network arbitrum
TEST AGAINST HARDHAT ARBITRUM FORK ON LIVE GMX CONTRACTS
npx hardhat test test/mirror/mirrorTrading.js
TEST AGAINST HARDHAT ARBITRUM FORK ON LOCAL DEPLOYED GMX CONTRACTS
npx hardhat test test/mirror/mirrorTradingComplete.js