Web frontends for interacting with the mStable contracts.
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 | Google Cloud |
✅ | mStable Governance | governance |
3200 | Google Cloud |
This project was generated using Nx.
# 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 <PROJECT>
yarn nx serve protocol
yarn nx serve governance
yarn nx run build protocol
yarn nx run build governance
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