mul53 / mStable-apps

All mStable apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mStable Apps

Web frontends for interacting with the mStable contracts.


Apps

This repository comprises multiple mStable apps, all built using common libraries and a common UI.

Status Name Nx project Port Public hosts
mStable Protocol protocol 3000
mStable Governance governance 3200
🧠 ...more

Development

This project was generated using Nx.

Quickstart

# Copy the default env vars so they can be overridden
cp .env .env.local

# Now edit the Subgraph API key env vars to add a local API key
# e.g. `vim .env.local`

# Then install, codegen, and run the apps
yarn
yarn codegen:typechain
yarn nx serve --parallel --all

Running an app

yarn nx run protocol:serve

Building an app

yarn nx run protocol:build

NX module boundaries

To get the benefit of nx modules, it's important to avoid creating dependency cycles. ESlint is set up to catch this, so simply run:

yarn nx affected:lint

About

All mStable apps

License:GNU Lesser General Public License v3.0


Languages

Language:TypeScript 99.3%Language:JavaScript 0.4%Language:HTML 0.3%Language:Shell 0.0%