Quit Profile picture
Apr 29, 2024 13 tweets 4 min read Read on X
One of the questions I'm asked the most is "how do I get started becoming a solidity dev?". While there's no right answer, my response is always similar. So here it is in a thread:

How to take yourself from 0-1 as a solidity dev
1/🧵
2/ This thread will assume you have dev experience already - if you don't solidity might not be the best place to start.

Solidity doesn't necessarily have a steeper learning curve than other languages, but it has steeper penalties for getting it wrong.
3/ A good intro to the basics is available at . It's outdated - most of the program uses solc 0.5, and we're now at 0.8+ - a lot has changed, but it's quick, and enjoyable enough that it can ease the fear of "getting started", which is the hardest part.cryptozombies.io
4/ Study, study, study. The EVM is a dangerous place, full of simple mistakes with devastating consequences. Thankfully, most of those mistakes have already happened and are still publicly viewable.

Study the past to prevent making the same mistakes in the future.

Examples 👇
5/ Some large exploits that can help you get started:

- The DAO (and reentrancy in general)
- Popsicle Finance
- Nomad Bridge
- Wintermute

There are dozens of smaller exploits that happen pretty much weekly. If you see something, read about it.
6/ Don't just study the negative - study those that did things right, too. In fact, study everything.

If you deployed a smart contract in 2021, there's a good chance I read it.
7/ Now pick a protocol, and pick it apart.

- How do the pieces fit together?
- Why did they design it the way they did?
- What precautions are in place that you wouldn't have thought of?
- What puzzles you?

Something like Maker, Uniswap, or Seaport are good subjects.
8/ Write some code that follows basic guidelines, for example:

- Write a memecoin contract
- Write an ERC721/ERC1155 NFT contract
- Write an ERC4626 compliant vault

Play with them on testnets. Does everything work?
9/ Now write some wacky code that doesn't follow any guidelines at all, for example:

- An NFT that changes metadata when transferred
- A memecoin that transfers random amounts
- A vault that can only be used between sunset and sunrise

Play with them, do they behave as expected?
10/ Use to debug. Remix can be insanely helpful for gaining deeper understanding of what's going on between the text you write and what actually executes.

DON'T use Remix as your primary dev environment. For that, look to Foundry: remix.ethereum.org
book.getfoundry.sh
11/ Additional resources:

- @PatrickAlphaC on Youtube:
- Updraft tutorials:
- Ethernaut challenges:
- Alchemy University: youtube.com/c/PatrickColli…
updraft.cyfrin.io
ethernaut.openzeppelin.com
alchemy.com/university
12/ And how could I write a thread about solidity education without @q00ts? My own NFT project, a curated community of knowledge hungry devs with opportunities to test dev skills in risk free environments.

Join either team:

opensea.io/collection/q00…
opensea.io/collection/q00…
13/ The number one thing you need to have to see success as a solidity dev is passion. If you don't pay close attention to the space, you'll be punished accordingly. Good luck!

Follow me @0xQuit for more.

Like/Repost the quote below if you can:

• • •

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

Keep Current with Quit

Quit 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!

More from @0xQuit

Apr 9
A beginner's guide to bear markets:

Your portfolio is down bad. It's too late to short, too early to long, and swing trading will just bankrupt you faster. You're struggling mentally. Here's how to productively spend your time during crypto winter.

1/🧵
2/ Learn a skill and monetize it. Take your focus off the price charts and shitcoins, and CREATE. AI has made this easier than ever: vibe code some apps, create daily artworks—learn something that can earn you cash on the side.
3/ Use a percentage (not 100%, please) of that income to grow your crypto allocation. You'll be buying at favorable prices while developing marketable skills that last beyond any market cycle.
Read 13 tweets
Feb 28
1/ Shadows have begun their soft rollout -- the contracts are deployed and will publicly launch when the rest of the pieces (frontends, indexer, etc) come together.

I just did an in person tweet thread at ETH Denver, and shadowed my ape live on stage. Below is that thread 👇
2/ NFTs have traditionally existed on a single chain (usually Ethereum).

That's where they were born, and it's where the majority live even today. Bored Apes, CryptoPunks, Pudgy Penguins, Azuki, and more all live exclusively on Ethereum.
3/ Those NFTs have probably changed your life in some way, big or small. Maybe it was the ApeCoin drop, Lil Pudgies, $anime, or something else entirely.

Owning an NFT signals that you're part of a community, and with that comes benefits both intangible and tangible.
Read 24 tweets
Dec 21, 2024
Exited all my validators, and I think it's worth discussing: Ethereum has an incentive problem.

1/🧵
2/ Proof of stake is a simple concept on the surface: those with money at stake are rewarded in exchange for honest validation of new blocks.

If you're dishonest, your stake is vulnerable to slashing (aka, there is a high cost to dishonesty).
3/ Similar to difficulty adjustments with bitcoin, incentive to validate should naturally reach equilibrium as stakers reach consensus on what APY justifies the opportunity cost of locking up ETH.
Read 11 tweets
Oct 3, 2024
Flash loans are zero risk loans where the full loan amount must be paid back in the same transaction is was originated. They are useful for arbs or opportunities for profit where you simply don't have the ETH up front.

But this one actually sacrificed a punk...

1/🧵 Image
2/ Today's loan was not a profit opportunity - at least, not directly (we'll get to that later).

To execute, two contracts were used (we'll call them Contract A and Contract B).

Contract A is in charge of listing the punk, and Contract B handles buying it.
3/ The progression:

Contract A holds Punk #1563, Contract B holds nothing.

Contract A lists for 24,000 ETH.

Contract B borrows 24,000 ETH from Balancer.

Contract B buys #1563. Contract B now has #1563, contract A has 24,000 ETH.

Contract A returns ETH to Balancer. Image
Read 10 tweets
Sep 11, 2024
Punk 2386, with a current high bid of 600 eth, sold for 10 ETH today.

A combination of clever sleuthing, followed by an unfortunate miscalculation leads to a 7 figure payday for 0x282.

🧵 Image
2/ This ape punk was fractionalized into 10,000 ERC20 tokens on 9/26/2020, and spread out among what is now 257 holders.

This was done on a now decommissioned platform called niftex (the contracts continue to live forever).
3/ The setup is such that any shareholder can propose a "shotgun", whereby any shareholder can propose a buyout price, and if nobody counters, they can purchase the asset after 14 days.
Read 9 tweets
Feb 8, 2024
ERC404 has taken X by storm. Many have called it out for misusing the ERC label, and rightfully so, but let's take a moment to discuss another aspect of it: composability.

Is it safe?

1/🧵 Image
2/ If you haven't read a technical breakdown of ERC404, check out my thread here:

I'll be referring back to the topics covered there throughout this thread.
3/ Imagine a basic shared vault application: users can deposit and withdraw NFTs or tokens. This can be a lending protocol, a custodial marketplace, or anything else (and in fact, this design exists in many places already).

This one is basic, you can only deposit and withdraw: Image
Read 12 tweets

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

Don't want to be a Premium member but still want to support us?

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

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(