exchange= https://goerli.etherscan.io/address/0xEAB749422E979f1D3A68be627925743d878598B9#code
exchangeInfo=
https://goerli.etherscan.io/address/0x5E07aC161537572054e0F1A76F73fefCDe6c4545#code
Gold = https://goerli.etherscan.io/address/0x6B1383F637d4Ad470c3F27d320340c9189fE8f47#code
GoldInfo =
https://goerli.etherscan.io/address/0x91C6623357C1C6E94674feBCD26e6e21FB6Eb382#readContract
Silver =
https://goerli.etherscan.io/address/0x9b6F6D0994De28DF13d820F7fAA29a2d29224DcB#writeContract
SilverInfo=
https://goerli.etherscan.io/address/0x5Cd93F5C4ECE56b7faC31ABb3c1933f6a6FE7182#readContract
It's recommended that you've gone through the hardhat getting started documentation before proceeding here.
- git
- You'll know you did it right if you can run
git --version
and you see a response likegit version x.x.x
- You'll know you did it right if you can run
- Nodejs
- You'll know you've installed nodejs right if you can run:
node --version
and get an ouput like:vx.x.x
- You'll know you've installed nodejs right if you can run:
- Yarn instead of
npm
- You'll know you've installed yarn right if you can run:
yarn --version
And get an output like:x.x.x
- You might need to install it with npm
- You'll know you've installed yarn right if you can run:
If you're familiar with
npx
andnpm
instead ofyarn
, you can usenpx
for execution andnpm
for installing dependencies.
- Clone and install dependencies
After installing all the requirements, run the following:
git clone https://github.com/nexlabs22/Nex-Dex-Contracts.git
cd Nex-Dex-Contracts
Then:
yarn
or
npm i
- Change .env.sample file name to .env
- You can now do stuff!
yarn test
or
yarn hardhat test
If you run yarn hardhat --help
you'll get an output of all the tasks you can run.
First add your private key(if you want deploy contracts) to .env file
After thet run:
yarn hardhat deploy