Decentralized Exchange (DEX)
- Solidity
- Truffle
- Web3.js
- Chai
- Vue 3, Vite
- Pinia
- Order Book
- Metamask Wallet Support
- Buy/Sell Order
- User Trade History
- Auto-fill/Cancel Order
- Price Chart
- Smart Contract Unit Tests
- Run
yarn install
to install dependencies - Start a new development blockchain with Ganache
- Run
truffle test
to make sure all tests pass - Run
truffle migrate
to build and deploy contracts to the development blockchain - Run
truffle exec scripts/seed-exchange.js
to seed exchange with orders and transactions - Run
truffle networks
to ensure the dev blockchain & app network ID's match - Run
yarn run dev
to start server