owlonex / ido-ui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solend IDO - Frontend

The repo running the Solend IDO site. This is a fork of the Parrot IDO site which itself was modification of the Mango Token Sale with some improvements.

Changes were mostly stylistic to follow the Solend design system.

Before running

Update that mainnet addresses on IDO_ENDPOINTS in constants.ts to match the Solend IDO mainnet addresses.

Serving The UI

The IDO UI is hosted at https://ido.solend.fi/, but if you'd like to server your own UI, a pre-compiled static HTML site is available in out. You can use any static web server to serve that content.

For example, to use python's http server:

(cd out && python3 -m http.server 8899)

Then open http://localhost:8899.

Development

To start the vue server:

yarn dev

To build for production:

yarn build

Configuration

The configuration for the available RPCs and IDO pools are in constants.ts

Storybook

We use storybook to test the different states of the pool

yarn storybook:dev

About


Languages

Language:TypeScript 75.5%Language:HTML 14.9%Language:SCSS 5.7%Language:JavaScript 3.7%Language:Shell 0.2%