Practical overview
When it fits
Use the repository when you need source code, tests or development tooling for examining the mStable protocol's core smart contracts. Its README is also useful for understanding the protocol mechanics the contracts are intended to support.
Who it is for
- Developers studying or adapting the core mStable contract design.
- Contributors who want to work with the repository's tests and Hardhat tasks.
Documented uses
- Inspect the contracts that implement the core mStable protocol.
- Use the included tests as a starting point for contract testing.
- Review or adapt the contract code for related protocol development.
Requirements & limits
The repository is public and specifies the AGPL-3.0 license.
- The README lists Node.js v14.16.1 and ganache-cli as development prerequisites.
- The documented test stack includes Hardhat, Ethers, Waffle, TypeScript and Typechain.
- The README distinguishes master and beta branches by their described release stages and typical network contexts.
- The repository describes one-week delays for governor changes and contract upgrades.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install dependencies and run the repository test suite
Prepare the documented development environment and invoke the contract tests.
Before you start
- Node.js v14.16.1
- ganache-cli
- Yarn
Steps
Install the listed prerequisites.
Run
yarnto install dependencies.Run
yarn testto invoke the test suite.
Expected outcome
The repository's documented Hardhat-based test command is invoked for its contract tests.
Guide limitations
- The instructions do not guarantee successful execution in a particular environment.
- The README describes tests running in Hardhat's EVM; this guide does not establish live-network testing.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- mstable/mStable-contracts · Official homepage title · retained in its source language

