Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 962 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 962 Bytes

Tipping dApp

A decentralized app on Solana for sending and receiving tips. Users can create tipping accounts, send tips, and withdraw funds securely.

Features

  • 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.

How to run locally

  1. Clone the project
  2. cd to "anchor_project"
  3. Set the cluster in "Anchor.toml" ("Localnet" if you want to run anchor test, and "Devnet" if you want to run the frontend)
  4. Run npm install in "anchor_project" dir
  5. Run anchor build
  6. Run anchor test (optional)
  7. cd to "frontend"
  8. Run npm install in "frontend dir
  9. Run npm run dev
  10. Navigate to localhost:3000 in your browser and have fun!

Deployment Links