In it you can deposit or withdraw tokens and place, cancel or fill orders. It logs every transaction and shows the token's price changes in a dynamic candle shart. For the back-end and test units I used Hardhat, JavaScript with Chai and for the front-end I used React, Redux and Ethers.
To use the Exchange you'll need to get NOAH from the faucet. Then deposit it in the Exchange and then you can fill orders with it. The only pair available right now is NOAH/COO. When you make a trade; you can withdraw your new tokens to visualize them in your wallet.
Follow the steps below to download, install, and run this project.
Install these prerequisites to follow along with the tutorial. See free video tutorial or a full explanation of each prerequisite.
- NPM: https://nodejs.org
- Hardhat: https://hardhat.org/
- Metamask: https://metamask.io/
git clone https://github.com/itahand/Crypto-Exchange
$ cd crypto-exchange
$ npm install
$ npx hardhat node
$ npx hardhat run --network localhost scripts/1_deploy.js