Welcome to my Solana development portfolio! This repository showcases my journey in exploring the Solana through a series of Anchor programs. Each project demonstrates different aspects of Solana development, from basic concepts to more advanced implementations.
Hi, I'm Het, a software developer exploring Solana. This repository contains a collection of Anchor programs I've built while learning. These projects range from basic token vaults to more complex systems like automated market makers and NFT staking. By browsing this repo, you'll see my progress in understanding Solana's architecture and implementing various DeFi concepts.
A secure token storage solution implemented on Solana.
Key features:
- Secure token deposits and withdrawals
- Access control and ownership management
- Interest accrual mechanism (if applicable)
A trustless escrow service for secure peer-to-peer transactions.
Key features:
- Atomic swaps between two parties
- Time-locked transactions
- Cancellation and refund mechanisms
A decentralized exchange protocol for swapping tokens.
Key features:
- Liquidity pool management
- Constant product formula (x * y = k)
- Slippage protection and fee mechanism
A program that allows users to stake their NFTs and earn rewards.
Key features:
- NFT deposit and withdrawal
- Reward distribution based on staking duration
- Support for multiple NFT collections
The NFT staking program implemented for new MPL-Core standard.
Key features:
- Easy to implement
- Escrowless
- No need to manage rewards
My capstone project, addressing community fundraising in a novel way.
How to raise funds from the community without ripping them off?
Take the rent SOL from users' empty token accounts in exchange for your own token. The frontend should be a blink. Users get to clear their empty accounts in exchange for your tokens, creating a mutually beneficial deal.
- Users can clean up their empty token accounts
- In return, users receive project tokens
- Simple and quick user experience
- Fundraising mechanism for projects
- Limited by the number of empty token accounts (only 0.002 SOL per account)
- Need to clear 10,000 accounts to raise approximately $3,000
- No fair distribution mechanism (can be gamed)
- Primary goal is fundraising, not fair token distribution
The Clean and Claim program is implemented using Anchor framework. It allows users to close their empty token accounts and claim project tokens in return. The program includes functionality for initialization, replenishing the reward pool, and the main clean-and-claim operation.
Devnet Program ID: C5tBGFF2h8s2432GyS5xG5Qf5QWo7KJmfmUT9R8a51bu
To explore these projects and start your Solana development journey:
- Clone this repository
- Install Solana and Anchor on your local machine
- Navigate to each project folder
- Run
anchor build
to compile the programs - Run
anchor deploy
to deploy the programs on devnet - Run
anchor test
to execute the test suites
- Solana Cookbook - A developer resource for building on Solana
- Solana Programming Library (SPL) Documentation - Official docs for Solana's token standards and programs
- Anchor Documentation - Learn about the Anchor framework for Solana development
- Solana Developers Portal - Official resources and tools for Solana developers
- Solana Playground - Interactive web-based IDE for Solana development
- Solana Bootcamp - Video series covering Solana basics to advanced topics
- Buildspace Solana Core - Interactive course for building on Solana
- Solana Stack Exchange - Q&A platform for Solana developers
I'm always eager to discuss Solana development, blockchain technology, or potential collaborations. Feel free to reach out to me at:
- Email: [email protected]
- LinkedIn: Het Dagli
- Twitter: @daglihet
Thank you for exploring my Solana development journey!