FlowTip is a cutting-edge application demonstrating gasless USDC micro-tipping for creators using the Dynamic SDK.
- Frontend: React with Dynamic SDK integration
- Smart Contract: Solana (Rust/Anchor framework)
- Relayer Backend: Next.js API routes for gasless transactions
- Creator profile management with PDAs
- Gasless USDC micro-tipping functionality
- USDC Associated Token Account handling
- Next.js API routes for transaction relay
- Fee payer abstraction for seamless UX
-
Install dependencies:
npm install
-
Build and test the Anchor program:
npm run anchor:build npm run anchor:test
-
Start the relayer backend:
npm run relayer:dev
flowtip/
├── flowtip-program/ # Solana Anchor smart contract
│ ├── programs/
│ │ └── flowtip-program/
│ │ └── src/
│ │ └── lib.rs
│ ├── tests/
│ └── Anchor.toml
├── relayer/ # Gasless transaction relayer
│ ├── pages/
│ │ └── api/
│ └── package.json
└── README.md