Skip to content

Base Chain Trading Application that users can buy/sell tokens they want. You have to config token addresses that you want to track.

Notifications You must be signed in to change notification settings

crypmancer/base-trading-app

Repository files navigation

Base Chain Trading App

Purpose

THe purpose of this project is to create a basic trading app using typescript on Base (EVM L2 Blockchain)

Funtionality

  1. Show information about a specific asset (Price, 6h Volume, 6h Price Change, FDV, Others...)
  2. Buy/Sell asset with/for native token
  3. Show portfolio data (In USD)
  4. Track and show transactions for the wallet

Helpful APIs/Docs

Implementation

  1. Completed

    You can specify the token list that you want to track in /app/props/data.ts/tokenAddrs. Get the token data by calling getTokenInfo function of /app/lib/api.ts.

  2. Completed

    Completed funtionality that can make buy/sell transaction using @0x/swap-ts-sdk SDK.

  3. Completed

    In the first page https://localhost:3000/ we can see all infomation of token in USD.

  4. Completed

    We can check the buy/sell transactions of specific token in http://localhost:3000/token/${tokenAddr}.

    Completed using alchemy-sdk.

    getTxHistory() function of /app/lib/api.ts.

About

Base Chain Trading Application that users can buy/sell tokens they want. You have to config token addresses that you want to track.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published