1bcf810845dcfec62737bf453007d3f6e9ed72ef
* update assets config and chains * make clients dynamic * feat: formatted ChainSelect * fix infinite rerender on trade page * feat: added NTRN icon * fix: fixed ChainInfoID * fix: fixed autoLendEnabled for NTRN * fix: fixed the navigation and dependencies * fix: fixed the pricefeed id * fix: fixed the header menu * fix: fixed the trading charts * fix: fixed the healthbars * fix: fixed naming of pion-1 * feast: updated xdefi image * env: updated contracts * make localStorage chain agnostic * fix: made the selected chain persistant * fix: fixed the wallet providers * fix: updated auto connect * fix: fixed auto connecting * fix: added ChainSelect to focusMode * store raw strings in localstorage * 🔥 remnove tests * update caching keys + disconnect wallet on change chain * update contract types and add perps asset select overlay * fix build + add perps positions to accounts * fix healthcomputer errors * fix healthcomputer errors --------- Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, install the dependencies:
yarn install
Then, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
Trading charts
The trade charts are sourced with the TradingView charting_library. In order to enable the charts, request has to be requested from TradingView. This allows the charting_library package to be pulled-in during the application build process. For this, it is recommended to do the following:
- Request access to the TradingView repository
- Create a private fork
- Generate a Personal Access Token from Github
- Add the following to the environment variables: a. CHARTING_LIBRARY_USERNAME -> the username of the account with access b. CHARTING_LIBRARY_ACCESS_TOKEN -> the access token c. CHARTING_LIBRARY_REPOSITORY -> the URI of the Github repository
- Build the application by executing the
install_charting_library.shscript prior.
For development on localhost, run yarn install-charting-library. Ensure that you have a .env.local file defined with the variables mentioned above.
Languages
TypeScript
96.2%
JavaScript
2.7%
CSS
0.8%
Shell
0.2%