Practical overview
When it fits
Use it when you need a codebase for an Anchor-based SPL token staking flow or the documented token minting and administration scripts, and can work with the repository's program and script configuration.
Who it is for
- Solana developers implementing an SPL token deposit-and-return staking flow.
- Token operators preparing SPL token mints, metadata or authority settings with the included scripts.
Documented uses
- Create a program-associated token account to hold users' deposited tokens.
- Accept SPL tokens and issue a stake token, then return the deposited tokens when the stake token is returned.
- Mint SPL tokens and update token metadata using the repository scripts.
- Disable mint, metadata-mutable or freeze authority using the corresponding scripts.
Requirements & limits
- The staking program's documented behavior is deposit and return; the README does not explain a reward calculation or distribution process.
- The staking program is identified as Anchor/Rust, while companion scripts use TypeScript.
- Minting and metadata updates require .env values and metadata configuration in scripts/spl/splHelper/consts.ts.
- A helper script is provided to retrieve account addresses needed for staking function parameters.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Prepare the SPL token mint and metadata scripts
Set the documented inputs used by the minting and metadata-update scripts.
Before you start
- The repository's SPL scripts
- The required values for the .env file
- Token metadata values for scripts/spl/splHelper/consts.ts
Steps
Set the required values in the .env file.
Set token metadata in scripts/spl/splHelper/consts.ts.
Expected outcome
The documented configuration inputs are prepared for the mint or metadata-update script.
Guide limitations
- The README does not specify the required environment variable names or describe the subsequent script execution in detail.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 18 October 2026
- Original website title
- aabdullah29/solana-spl-staker · Official homepage title · retained in its source language

