delef / parrot-ido

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parrot IDO - Frontend

A modification of the Mango Token Sale with some improvements.

  • Support for multiple IDO pools
  • Support for RPC selection
  • Parrot UI components/styling

Security

Review that mainnet addresses in constants.ts match the Parrot IDO mainnet addresses.

Serving The UI

The IDO UI is hosted at https://ido.parrot.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, you should see the IDO UI:

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 80.2%Language:HTML 11.7%Language:JavaScript 4.8%Language:SCSS 3.1%Language:Shell 0.2%