Design Your Stablecoin
Implementation Guide: NoYield
Step-by-step guide for deploying the NoYield treasury model stablecoin on Solana and SVM chains.
Getting Started
The SVM deployment guide is currently being finalized. For immediate support deploying a NoYield extension on Solana, please get in touch with the M0 team.
1. Clone the Repository
git clone https://github.com/m0-foundation/solana-m-extensions.git
cd solana-m-extensions
2. Setup Your Environment
Follow the setup instructions in the repository's README to install Anchor, Solana CLI, and other dependencies.
3. Configure Your Extension
Configure your extension parameters including:
- Token name and symbol for your stablecoin.
- Admin address that will control rewards claiming and configuration.
- Token program choice (Token-2022 recommended, legacy Token Program supported).
4. Deploy and Test
- Deploy to Solana Devnet first for testing.
- Verify all functionality including
claim_fees. - Deploy to Solana Mainnet once validated.
5. Enable Earning
After deployment, your extension's vault must be registered as an earner. The vault then begins to accrue rewards. The admin can call claim_fees at any time to collect accumulated rewards.
Next Steps
- Gaining Earner Approval - Get your extension approved.
- Contract Addresses - View deployed Solana program addresses.
- Cross-Chain Interoperability - Bridge your extension across chains.