Go to file
2024-02-09 10:35:09 +01:00
.github Fixes bob (#443) 2023-09-11 10:14:40 +02:00
.husky Mp 2837 pre commit hook (#549) 2023-10-17 09:03:15 +02:00
.vscode Upgrade next (#100) 2023-02-24 09:47:27 +01:00
public List milkTIA (#757) 2024-01-31 14:37:31 +01:00
src perps: add tradingfee percentage tooltip (#787) 2024-02-09 10:35:09 +01:00
.env.example feat: preperations for open sourcing the repo (#771) 2024-02-06 10:27:58 +01:00
.eslintignore [task] add LTV to vault tables (#381) 2023-08-21 14:02:32 +03:00
.eslintrc.json feat: refactored the toast responses (#442) 2023-09-11 10:35:13 +02:00
.gitignore [CM details] support changes (#359) 2023-08-14 09:55:53 -03:00
.prettierignore Mp 2837 pre commit hook (#549) 2023-10-17 09:03:15 +02:00
.prettierrc feat: refactored the toast responses (#442) 2023-09-11 10:35:13 +02:00
Dockerfile Upgrade next (#100) 2023-02-24 09:47:27 +01:00
generate_types.sh Withdraw assets from account (#43) 2022-11-07 16:36:12 +00:00
install_charting_library.js add scripts for installing charting_library + update readme (#298) 2023-07-13 14:38:08 +02:00
install_charting_library.sh add scripts for installing charting_library + update readme (#298) 2023-07-13 14:38:08 +02:00
next.config.js Set new caching rules (#542) 2023-10-14 16:54:41 +02:00
package.json Morph summary (#763) 2024-02-06 10:05:42 +01:00
postcss.config.js initial setup wip 2022-09-02 15:30:58 +01:00
README.md add scripts for installing charting_library + update readme (#298) 2023-07-13 14:38:08 +02:00
sentry.client.config.js WIP (#12) 2022-09-29 20:21:31 +01:00
sentry.properties sentry setup 2022-09-02 22:29:22 +01:00
sentry.server.config.js WIP (#12) 2022-09-29 20:21:31 +01:00
tailwind.config.js Morph summary (#763) 2024-02-06 10:05:42 +01:00
tsconfig.json Websocket implementation (#726) 2024-01-12 09:07:55 +01:00
validate-env.js feat: preperations for open sourcing the repo (#771) 2024-02-06 10:27:58 +01:00
vercel.json Env update (#113) 2023-03-09 10:26:16 +01:00
yarn.lock Build(deps-dev): bump typescript from 5.2.2 to 5.3.3 (#768) 2024-02-05 08:47:37 +01:00

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:

  1. Request access to the TradingView repository
  2. Create a private fork
  3. Generate a Personal Access Token from Github
  4. 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
  5. Build the application by executing the install_charting_library.sh script prior.

For development on localhost, run yarn install-charting-library. Ensure that you have a .env.local file defined with the variables mentioned above.