The Solana Token Staking DApp is a decentralized application (DApp) built on the Solana blockchain. It allows $SYNCS token holders to stake their tokens and earn rewards through a staking mechanism. This README provides an overview of the project, including its features, setup instructions, and usage guidelines.
- Staking Platform: Users can connect their wallets and stake $SYNCS tokens.
- Integration with Token Contract: The DApp integrates with the client's existing $SYNCS token contract.
- Transfer Fee Mechanism: A 5% transfer fee is applied to staking and unstaking transactions, with fees collected in a treasury wallet.
- Reward Distribution: Rewards are distributed weekly to stakers.
- Referral System: Users can benefit from a 15% rebate through a referral program.
- APY Cap: The APY is capped at 100% to ensure sustainable growth.
- Frontend: A user-friendly interface displays staking information and allows for easy interaction.
- Error Handling and Logging: Proper error handling, input validation, and event logging ensure the reliability and security of the DApp.
- Rust
- Anchor
- Solana CLI
- Alchemy RPC URL for building and deploying
- Solana Playground for initial testing and development
- Clone the repository to your local machine.
- Install Rust and Solana CLI if not already installed.
- Run
anchor build
to build the project. - Deploy the smart contract using Solana CLI.
- Set up the frontend by installing necessary dependencies and configuring the connection to the deployed smart contract.
- Launch the frontend application.
- Connect your wallet to the DApp.
- Stake $SYNCS tokens using the provided interface.
- Monitor staking performance and rewards earned.
- Refer others to the platform to earn additional rewards.
- Withdraw staked tokens and rewards as needed.
This project is licensed under the MIT License.