A decentralized app on Solana for sending and receiving tips. Users can create tipping accounts, send tips, and withdraw funds securely.
- Initialize Tipping Account: Create a PDA for receiving tips.
- Send Tips: Send SOL tips to the PDA.
- Withdraw Tips: Withdraw tips to as tip receiver to your owner wallet.
- Clone the project
- cd to "anchor_project"
- Set the cluster in "Anchor.toml" ("Localnet" if you want to run anchor test, and "Devnet" if you want to run the frontend)
- Run
npm install
in "anchor_project" dir - Run
anchor build
- Run
anchor test
(optional) - cd to "frontend"
- Run
npm install
in "frontend dir - Run
npm run dev
- Navigate to
localhost:3000
in your browser and have fun!
- Program (Devnet): CvXUBi9yK2GFqsJgrYRi2QVgTBzKSBQovkABEwbxS2bv
- Frontend Link: https://sol-tipping-dapp-frontend.vercel.app/