88a7c27a28
* ✨finish adding liquidation price * fix minor issues * v2.0.6 and use feature flag for auto repay (#650) * 🐛incorrect deposit cap utilization (#647) * Initialize perps (#648) * setup routing * add basic perps interface * small fix * feat: listed dydx and AKT (#652) * Deposit Cap and Utilization Fix (#654) * fix: fixed the deposit cap and total supplied / utilization rate * fix: fixed build * fix: fixed build * fix: avoid deposit cap usage over 100% * refactor market data apy/ltv * fix: fixed the withdraw from vaults modal * tidy: refactor --------- Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com> * stATOM and stOSMO TradingView support (#653) * feat: listed dydx and AKT * fix: removed theGraph support for now * adjust liq price loading and null/0 values --------- Co-authored-by: Linkie Link <linkielink.dev@gmail.com> |
||
---|---|---|
__mocks__ | ||
__tests__ | ||
.github | ||
.husky | ||
.vscode | ||
public | ||
src | ||
.env.example | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
Dockerfile | ||
generate_types.sh | ||
install_charting_library.js | ||
install_charting_library.sh | ||
jest.config.js | ||
jest.setup.js | ||
next.config.js | ||
package.json | ||
postcss.config.js | ||
README.md | ||
sentry.client.config.js | ||
sentry.properties | ||
sentry.server.config.js | ||
tailwind.config.js | ||
tsconfig.json | ||
validate-env.js | ||
vercel.json | ||
yarn.lock |
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.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.