Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Terminus web app

Closed Jul 4, 2022 42% complete

Besides the Terminus smart contract, we also need to provide users with a web application they can use to manage their Terminus authorization pools.

User stories

Create Terminus pool

  1. User wants to integrate Terminus with their smart contract (to be deployed on the Ethereum mainnet).
  2. They go to the Terminus web application at https://terminus.moonstream.to

Besides the Terminus smart contract, we also need to provide users with a web application they can use to manage their Terminus authorization pools.

User stories

Create Terminus pool

  1. User wants to integrate Terminus with their smart contract (to be deployed on the Ethereum mainnet).
  2. They go to the Terminus web application at https://terminus.moonstream.to or https://terminus.moonstreamdao.com
  3. They connect their Metamask wallet to the web application.
  4. They click on a New Terminus pool button
  5. This takes them to a form where they can configure their pool - what should be its capacity? should tokens from that pool be transferable? burnable?
  6. They confirm this configuration and click on Create pool
  7. The application checks that their address has enough MNSTR balance to pay for pool creation.
  8. If so, the application requests MNSTR transfer approval for the Terminus contract. If not, the user is shown instructions for how to get MNSTR (with an always available fallback of contacting us on Discord).
  9. Once Terminus is approved for MNSTR transfers on behalf of the user, the pool creation transaction is submitted to the blockchain.
  10. Once the transaction is mined, they can go to their Pools view and manage the pool.

milestone

Authorize an address manually

  1. Pool manager wants to authorize Aliya's address for their application.
  2. They go to the Pools page on the Terminus web application at https://terminus.moonstream.to
  3. They click on the authorization pool for their application.
  4. They click on Add authorization
  5. They are presented with a form where they can paste Aliya's address and determine how many authorization tokens should be minted to her. They are also shown the total capacity of the pool and how much of this capacity has already been used up.
  6. Once they are satisfied that they have correctly specified Aliya's authorization, they click Submit transaction.
  7. This submits a transaction through their connected Metamask wallet to the blockchain which mints tokens in their authorization pool to Aliya.

View authorized addresses

  1. Pool manager wishes to view the addresses that are authorized for their application.
  2. They go to the Pools page on the Terminus web application at https://terminus.moonstream.to
  3. They click on the authorization pool for their application.
  4. They are presented with a tabular view of the addresses authorized for their pool, along with the token balance of each address. They are also presented with notes associated with each address.
Loading