Chris Cantino Profile picture
Jan 9, 2022 12 tweets 5 min read Read on X
How to read a smart contract—and why you’d want to in the first place. 🧵
Reading a smart contract gives you insight into the popularity of a project, how distributed its ownership is, and what it’s capable of.

Plus, you can investigate the details of every transaction.

A big advantage in web3. One day, they’ll probably teach this stuff in schools.
First, what is a smart contract?

It’s a program that executes code on the blockchain when conditions are met. Parties sign the contract digitally, giving it permission to execute.

This could be anything from sending money to a friend, to fractionalizing an NFT.
So, how do you find a smart contract?

Ethereum contracts, transactions, and wallets are browsable on @etherscan.

To look up an NFT contract, navigate to the listing on OpenSea and tap “Details.” This reveals a “Contract address” link.

Click it.
Lots to look at here, so let’s break it down.

Balance + Value

This shows how much coin the contract holds.

My Name Tag

If logged in, you can create private notes to yourself here.

Creator

The wallet that created the contract, and a link to the original tx. Let’s click it.
Here we have details on the transaction that created the contract.

We can see:

-Transaction confirmation
-Timestamp
-Quantity minted of each token
-Contract creator
-Fees paid

Good stuff. Now, back to the main contract.
Tracker

Let’s click for insight into:

-minimum token value
-max total supply of the token (if a maximum has been set)
-how many wallets hold the token
-how many transfers have occurred

Very valuable info. But there’s another cool thing here that most people don’t know about.
Click “Holders” in the list of tabs.

This displays a ranking of who holds the most tokens in the contract. If you click “Token Holders Chart,” you can even see a chart. 📊👀

OK, back to the main contract page.
Let’s dive into the “Transactions” tab.

Column 1 is a chronological list of all transactions. Each can be clicked into.

Next is “Method.” These are functions executed via the contract. Every contract is different, but common methods include mint, transfer, and approval setting.
Now, let’s investigate the “Contracts” tab.

Code: Displays the contract’s source code.

Read Contract: Displays the functions.

Write Contract: Allows you to initiate functions (if your wallet has permission) like burning tokens, granting roles, pausing, and more.
Finally, let's check “Analytics.”

Here, we find charts showcasing transactions, fees, ETH balance, and more. The chart below highlights the rise of Cryptopunks.

I also recommend @nansen_ai for more detail on volume, project wallet overlaps, notable token holders, and more.
That concludes Contract Reading 101! Now you're better equipped to interact with web3 contracts.

For more web3 how-tos, follow along with me @chriscantino. Thx for reading.

• • •

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

Keep Current with Chris Cantino

Chris Cantino 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 @chriscantino

Feb 9, 2023
Introducing Craft Nouveau: A series of collections advancing intersections of generative art and craft.

In partnership with @trameparis + @artblocksengine + @CPGCLUB.

Our genesis collection “Navette” brings the work of Alexis André @MacTuitui to life. 🧵 collectibles.trameparis.com
“Navette” feeds André’s code into a digital loom, producing NFT artworks paired with large-format tapestries from acclaimed French atelier Néolice.

Alexis and Néolice worked hand-in-hand to optimize outputs for stitching, dyes, and material process—marrying coded art and craft.
“Navette,” a 300 piece collection of digital artworks, explores a juxtaposition of virtual and reality.

The first eight collectors will be airdropped a token redeemable for a 67" x 98” tapestry of their NFT.

The collection mints 3/2 in an auction powered by Art Blocks Engine.
Read 5 tweets
Jan 31, 2023
An edition to turn the open edition meta on its head. 🧵
Introducing “Icons of the Internet,” an homage to the NFT community and open edition culture.

Tomorrow, two free, zero-royalty editions will be released: “LIGHT MODE” and “DARK MODE.”

The mechanics of both editions are 100% utility-based. ImageImage
Public minting for “LIGHT MODE” begins tomorrow @ 12pm PT.

It will be open only for a very, very brief window, then close temporarily before advancing to wave 2.

Wave 2 details will be announced following the mint. app.manifold.xyz/c/light-mode
Read 9 tweets
Nov 23, 2022
Everything you need to know about the Black Friday fashion drop from @CPGCLUB.

Plus, how to claim a free NFT with utility in the CPG Rewards™ program. 🧵
At the heart of our capsule is the concept of “Composable Clothing,” an ambitious design system in which garments have spots to affix patches representing communities—from Doodles to Cryptopunks.

This is exemplified in our hero piece, the Chore Coat.

(+Peep the @Ledger pocket) ImageImageImage
Included in the composable patch system are the following communities:

@doodles
@moonbirds
@MyBFF
@Ledger
@cryptopunksnfts
@ZenAcademy_
@nounsdao

They also get 15% off on the drop, and a free NFT to boot.

The shop is open to the public, btw.

CPG = Bridging communities 🤝 Image
Read 11 tweets
Sep 14, 2022
Venture capital and web3. 🧵
NFT Twitter has been lobbing grenades at VC.

Apes were recently valued at $4B. Doodles and Proof approaching unicorn status. All were initially bootstrapped, and have early users to thank.

But what does it mean when projects outgrow their communities, and turn to VC for growth?
First, let’s dispense with the us vs. them mentality.

We all know: not all VCs are bad. They help founders shoot their shots.

But we also know why these narratives exist. To warn against repeating the flaws of web2.

VC is not perfect. But web3 is improving the model.
Read 18 tweets
Sep 11, 2022
Ethereum is that killer bootstrapped app that can’t be stopped because it has the foundation for persistent incremental progress

You can use transact on other blockchains today faster, and more cheaply

But ETH is chosen for its flexibility, security, and decentralization (1/6)
ETH maxis are boring; I am long SOL BTC MATIC and so on

Every chain has its purpose, but ETH has set its sights to be the de facto decentralized mainnet

Everyone contending on this specific value proposition can not overcome ETH

Why? (2/6)
-Customer trust
-Developer preference
-Billions deployed into innovation
-Network security
-Sustainable protocol model
-Persistent iterative improvements

And: Decentralization

Many claim to do specific things better than ETH, but only at the cost of decentralization (3/6)
Read 6 tweets
Aug 29, 2022
Billion dollar projects and brands aren’t just built differently—they think differently.

Here’s how you can too. 🧵
They don't see purchases—they see routines

→Instead of hyper-focusing on revenue, they obsess over how, when, and why customers use and collect their products
→New products and drops aren’t just revenue drivers—they’re to embed the brand further into buyer routines
They don't see customers—they see communities

→Their products are designed to be shared
→Leveraging user-generated content to activate word of mouth
→Tapping into member networks to grow capabilities and reach
→Rewarding top contributors to incentivize participation
Read 10 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!

:(