Link | Instructor | Event |
---|---|---|
Recording | Joe Caulfield | N/A |
Program | Link |
---|---|
v1 | |
v2 |
This workshop demonstrates how to create a social media app (like Twitter) using Solana's PDAs and on-chain data.
You can find all of the details on how this program works in the Diagrams section below.
This demo is broken up into two programs: v1 and v2.
- v1:
- Demonstrates how to use PDAs to create profiles and tweets, and also likes and retweets
- Leverages seed mapping and counter fields to load a user's data
- v2:
- Build on top of v1, with some new features
- Introduces the ability to mint users tokens based on their earned likes & retweets
- Demonstrates how to create mints that are PDAs off of the program
- Demonstrates how to designate the program (via a PDA) as the Mint Authority
- Demonstrates how to airdrop users tokens without requiring action on their part