for people looking to build solana mini-apps on farcaster fast, some tips below πŸ‘‡:
Cast image embed
10Kviews
aryan avatar
1. you don’t need to write smart contracts for 90% of use cases. most protocols already expose great typescript and rust sdks. πŸ‘‰ github.com/sendaifun/so... has everything to get you started.
Cast image embed
GitHub - sendaifun/solana-agent-kit: connect any ai agents to solana protocols
github.com
GitHub - sendaifun/solana-agent-kit: connect any ai agents to solana protocols
1
1
14
aryan avatar
2. landing a transaction on solana is tricky. use this guide to properly set priority fees: www.helius.dev/blog/how-to-... or use jito bundles for transaction atomicity.
How to Land Transactions on Solana
helius.dev
How to Land Transactions on Solana
1
8
aryan avatar
3. everything is an account, and every account has an owner. half of the bugs happen because you’re accessing the wrong account. understand the account model well:
Cast image embed
The Solana Programming Model: An Introduction to Developing on Solana
helius.dev
The Solana Programming Model: An Introduction to Developing on Solana
1
6
aryan avatar
4. evm β†’ svm mental model: abi = idl eoa = account (owned by system program β€” the godfather) contracts = programs aka program accounts (owned by bpf loader)
2
6
aryan avatar
5. once you understand pdas, they become an incredibly powerful tool. this guide helps you shift from evm to svm thinking
How to Migrate From Ethereum to Solana: A Guide for Devs
helius.dev
How to Migrate From Ethereum to Solana: A Guide for Devs
1
10
aryan avatar
6. if you’re using partial signing: make sure the frontend (farcaster wallet) signs the transaction before the backend does. ⚠️ not recommended as-is β€” the frontend can send a malicious transaction. if you do this, use it with a nonce. the current farcaster wallet setup invalidates previous signatures β€” the team is working on fixing this.
Offline Transactions
solana.com
Offline Transactions
1
7
aryan avatar
7. use good rpcs: helius, triton, or quicknode are reliable choices. once you understand the solana account model and how transactions are formed, it all gets much simpler. the solana community is actually super welcoming β€” way more beginner-friendly and supportive than people often perceive.
1
8
aryan avatar
some more deep dives 1. solana.com/developers/ [ the best? ] 2. www.helius.dev/blog [ domain specific ] 3. blog.quicknode.com/tag/solana-2/
Developers: Resources and Information for Building on Solana | Solana
solana.com
Developers: Resources and Information for Building on Solana | Solana
Helius Blog - Solana Development Hub
helius.dev
Helius Blog - Solana Development Hub
7
jp avatar
too late. i already deployed the rust contract and am trying to figure out how to create a frontend around it
3
7
aryan avatar
lmao, anchor = viem of solana
1
GMonchain.base.eth avatar
I really appreciate your post, thearyanaq. very usΓΉeul, this is what i need
1
48
Nanhan avatar
β€œLooking forward to launching on Sol soon.”
bolaji.eth avatar
Really useful. Thanks
1
Carlos Acevedo avatar
This is great. Thanks for laying it out so clearly.
1
pski avatar
appreciate this very much, was looking into how to build mini apps yesterday, making it my weekend project 🫑
1
Celestine avatar
Nice work, landing transactions on Solana is very tricky
1
Ikhsan Abrori | Product Designer avatar
Really useful. Thanks
Iqbal_mp avatar
Amazing
spirobel avatar
can you write more about the farcaster part, for pops that already know about solana ? πŸ™‚ pls πŸ˜†πŸ™
Show more replies