Nosana Programs
The Nosana Network is powered by a suite of Solana smart contracts (programs) that enable decentralized GPU compute. These programs work together to create a permissionless marketplace where users can stake tokens, run compute jobs, host GPUs, and earn rewards.
Source Code
All Nosana programs are open source and available on GitHub:
Programs Overview
The Nosana Program Library consists of four core programs:
| Program | Address | Documentation |
|---|---|---|
| Nosana Staking | nosScmHY2uR24Zh751PmGj9ww9QRNHewh9H59AfrTJE | View Docs |
| Nosana Rewards | nosRB8DUV67oLNrL45bo2pFLrmsWPiewe2Lk2DRNYCp | View Docs |
| Nosana Pools | nosPdZrfDzND1LAR28FLMDEATUPK53K8xbRBXAirevD | View Docs |
| Nosana Jobs | nosJhNRqr2bc9g1nfGDcXXTXvYUmxD4cVwy2pMWhrYM | View Docs |
What You Can Do
With the Nosana programs, you can:
- Stake NOS tokens - Lock up NOS tokens to earn xNOS and participate in governance
- Post compute jobs - Submit GPU workloads to the decentralized marketplace
- Register GPU nodes - Join the network as a GPU provider and earn rewards
- Earn rewards - Receive NOS tokens for network participation
- Join vesting pools - Participate in token distribution pools
- Use the Nosana Token - The native token powering the network
Getting Started
To interact with Nosana programs, you can:
Use the TypeScript SDK - The easiest way to interact with programs
- See the SDK documentation for examples and guides
- Install:
npm install @nosana/kit
Use Anchor - Direct interaction with Solana programs
- See individual program documentation for Anchor examples
- Each program page includes code samples
Use the CLI - Command-line interface for common operations
- See the CLI documentation
Security & Audits
External security audits have been conducted on the Nosana Staking program:
- Audit Report 1 by Op Codes (10-08-2022) ✅
- Audit Report 2 by Op Codes (23-08-2022) ✅
All audit reports are available in the audits folder of the repository.
Documentation
Each program has detailed documentation covering:
- Instructions - Available operations and how to invoke them
- Accounts - Data structures and account layouts
- Types - Custom types and enums
- Errors - Error codes and their meanings
- Examples - Code samples using Anchor and the TypeScript SDK
Start exploring:
- Staking Program - Stake tokens and earn xNOS
- Jobs Program - Post and manage compute jobs
- Rewards Program - Earn rewards for participation
- Pools Program - Join vesting pools
- Nodes Program - Register and manage GPU nodes
- Token Program - Learn about the NOS token
Contributing
Contributions to the Nosana programs are welcome! See the contributing guidelines on GitHub.
Significant contributions may be compensated with a grant from the Nosana Foundation.
License
The Nosana programs are licensed under the MIT License.