A Solana Anchor program for interacting with Marinade Finance, enabling users to:
- Deposit SOL and receive mSOL
- Liquid unstake mSOL for SOL
- Order delayed unstake tickets
- Claim SOL from completed tickets
- Deposit SOL: Stake SOL via Marinade and receive mSOL
- Liquid Unstake: Instantly swap mSOL for SOL
- Order Unstake: Start a delayed unstake (ticket-based)
- Claim: Claim SOL from a completed unstake ticket
- Anchor (v0.31.1 or later)
- Solana CLI
- Node.js & Yarn
yarn installanchor buildanchor testBelow are example transactions for each main function, executed on Solana devnet:
Function: deposit_sol
View Transaction on Solana Explorer
Function: instant_unstake
View Transaction on Solana Explorer
Function: order_unstake
View Transaction on Solana Explorer
Function: claim
View Transaction on Solana Explorer
This is the project I have built for hiring process.
MIT