pontus-dev / mini-dex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solidity mini dex challenge in TypeScript

What is this?

This is a challenge I did for my portfolio where I build a decentralized exchange. The challenge is a speedrunethereum challenge. I used scaffold-eth-typescript from the buidlguidl as a starting template for the project. I also converted all the JavaScript needed into TypeScript for the challenge from here. This includes app specific react components, testing and hardhat deployment scripts. I also grabbed the bare bones (only contains empty functions and events) DEX.sol contract that goes along with that test here.

Quick Start

Running the app

  1. install your dependencies

    yarn install
  2. start a hardhat node

    yarn chain
  3. run the app, open a new command prompt

    # build hardhat & external contracts types
    yarn contracts:build
    # deploy your hardhat contracts
    yarn deploy
    # start vite
    yarn start

About

License:MIT License


Languages

Language:TypeScript 81.7%Language:JavaScript 7.6%Language:Shell 4.6%Language:Solidity 3.2%Language:Dockerfile 1.2%Language:HTML 0.9%Language:CSS 0.6%Language:Less 0.3%