I spent the last few days digging into Anchor and how to build programs on @solana. I put together a walkthrough based on my experience. Check it out!

brianfriel.xyz/learning-how-t…
Having no prior experience with Rust, I set a goal of building a simple voting app that lets the world vote for its favorite type of peanut butter: Crunchy or Smooth? The live version of this app can be found at:
pbvote.com
Feel free to copy my source code, which can be found here:
github.com/bfriel/crunchy…
Big thanks to @dabit3 and @paulxpaulxpaulx for their guides on how to build on Solana. I’d also like to thank all those who are active in the Anchor Discord, especially @armaniferrante and @0xjcaa
I wrote up a quick Part 2 in which we refactor our app using PDAs. Check it out!

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Brian Friel

Brian Friel Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(