Astroport Lbp Frontend screenshot

Astroport Lbp Frontend

Author Avatar Theme by Astroport fi
Updated: 11 Dec 2021
7 Stars

Template frontend code to use in combination with LBP smart contract code

Categories

Overview

The Astroport Token Sales Frontend is an app designed for buying and selling tokens using Astroport’s LBP (Liquidity Bootstrapping Pool) contracts. It allows teams to customize and host their own frontend for token sales. This guide provides instructions on configuring and deploying the app, as well as customizing its appearance and integrating error tracking services.

Features

  • Buy and sell tokens using Astroport’s LBP contracts
  • Customizable frontend for token sales
  • Supports mainnet and testnet deployments
  • Integration with Sentry for error tracking and reporting

Installation

  1. Fork the Astroport Token Sales Frontend repository.
  2. Replace the default logo (src/assets/images/logo.svg) with your own logo.
  3. Customize the color scheme in theme.css.
  4. Update src/config/networks.js with the following information:
    • Mainnet Astroport LBP factory contract address
    • Mainnet Astroport LBP pair contract address(es)
    • Testnet factory and pair contract addresses (optional)
  5. Customize the UI using CSS files in src/components or tailwind.config.js.
  6. Set the REACT_APP_SENTRY_DSN environment variable if using Sentry.
  7. Configure continuous deployment via Github Actions or manually build and upload the static site to a web host.

Summary

The Astroport Token Sales Frontend is a customizable app that enables users to buy and sell tokens using Astroport’s LBP contracts. It provides a framework for teams to host their own frontend for token sales, with support for mainnet and testnet deployments. The app offers customization options for logos, color schemes, and UI styles. Additionally, it integrates with Sentry for error tracking and reporting.