This is a project I completed which was offered as a bootcamp tutorial via Dapp University. The bootcamp involved writing token contracts (ERC20) and an exchange contract using Solidity. The contracts are then tested using the chai library in Javascript with hardhat as the blockchain framework.
I then created a front end "DApp" (Decentralized Application) on which users can swap tokens. The idea is that one user would create an order similar to a limit order on a centralized exchange, and another user would fill the order completing the swap.
- Solidity (Writing Smart Contract)
- Javascript (React & Testing)
- Ethers (Blockchain Interaction)
- Hardhat (Development Framework)
- Alchemy (Forking and Node connection)
- React(Front End Component based User Interface)
- MetaMask (Ethereum Wallet)
- Git/GitHub (Commit our code)
- Fleek (Website Deployment)
$ npm install
Create a .env file using this template:
ALCHEMY_API_KEY=""
PRIVATE_KEYS=","
In a separate CMD prompt/terminal run:
$ npm start
$ npx hardhat test