WINTΞR 💙💛 Profile picture
Former tech lead @meta Now full-time web3 consultant & startup advisor. My "EVM From Scratch" course launching soon: https://t.co/Vyp1L0lYOy
Jan 11, 2023 5 tweets 2 min read
The first @prtyDAO-native NFT!

I'm making a tic-tac-toe game with a twist: each player is a DAO! The winner takes the funds raised by both parties.

I'm very curious about how people will coordinate in this fast-paced environment.

But there's more ↓ Party membership is a liquid NFT. So members can buy other members' votes and sabotage the opponent team!

Game theory in action.
Nov 30, 2022 11 tweets 9 min read
If you only use Etherscan to browse Ethereum, you're missing out.

Here's a list of power tools (and their hidden features) that security researchers use to investigate hacks.

Image Etherscаn

✅ Fast and popular
🤫 Most people don't know about Logs and State tabs
🤫 New transaction decoder (click to jump to source code)
❌ UI is hard to navigate
☠️ Linking to Etherscаn gets you shadowbanned by Twitter ImageImageImageImage
Nov 17, 2022 12 tweets 2 min read
Spicy takes on web3 social.

I was around when phpBB was invented, I worked at Facebook for many years, I see "web3 social will change the world" narratives and I can't keep quiet

1. "Owning your data" doesn't make sense. You can own a house, a car, a pen; $100 in cash, a bank account, a share, a crypto asset. You can own intellectual property.

But if you "own" a digital file and share it online, you don't really own it anymore. And web3 social won't help
Sep 23, 2022 8 tweets 7 min read
FREE SMART CONTRACT ROAST 🔥

I'll review your Solidity code and provide feedback.

Rules:
- Has to be your code
- OK with me sharing some parts
- Export to Gist and send a DM
- No promises Image Austin offered his code for roasting. It's a multisig implementation that allows adding/removing owners. In the 30 mins I couldn't find critical vulnerabilities, but there is some low hanging fruit

github.com/austintgriffit… ImageImageImageImage
Sep 21, 2022 6 tweets 2 min read
Here's a new pattern I started using lately: allow the owner of the NFT contract to execute any transaction on its behalf.

It's more flexible and future-proof than the old pattern of withdrawing balance & coins. It DOES NOT allow the owner to rug the project.

Details ↓ Image Here's the initial problem: as an owner of an NFT project, you want to have a way to withdraw the funds from the contract, so you add withdrawBalance.

Next, you learn that some marketplaces pay royalties in ERC20 tokens, so you add withdrawCoin.
Sep 9, 2022 4 tweets 1 min read
Idea: adjust VRGDA to produce negative prices.

That's right, pay the users to mint.

"But why?"

↓ To sell out, of course! "Sold out" is such a powerful status message, especially in the current market.

Looks like the NFT degen meta slowly shifted from expensive mints, to cheap mints, to free mints. Owners make money from royalties (while it's still a thing).
Sep 7, 2022 5 tweets 1 min read
This is how I'm prepping for the merge.

Just 3 easy steps.
MUST-READ for the builders.

1. Upgrade your local node's consensus and execution clients to the latest versions
Sep 5, 2022 8 tweets 3 min read
When I was working on @1mpx_nft I always felt that something is lacking. A set of rules that would make it interesting, prevent it from becoming a dead space like other similar projects.

Finally, I found the missing ingredient: VRGDAs! Here's my thinking so far ↓ The idea to replicate the One Million Dollars homepage on top of Ethereum is not new. In fact, ERC721 was inspired by one such project — @SuSquares!

However, they all end up being dead spaces ☠️…
Aug 19, 2022 13 tweets 4 min read
I looooove building MVPs. Here's a thread about building the "Drop Your ENS" tool.

For the last couple of days I've been building a minimal version of the app. Here's a little about the motivation, tech & learnings My thesis is this: "Drop Your ENS" tactic is popular because it "hacks" the Twitter's algo: a tweets gets a lot of engagement and Twitter shows it to more people. Additionally users also experience FOMO (for missing a drop) and get an ability to show off their cool ENS name.
Aug 16, 2022 8 tweets 2 min read
How to become a better Solidity developer, in 5 easy steps.

Let's go ↓ 1. Read "Mastering Ethereum" by @aantonop. Seriously. It's old, but it's very good.

You'll learn the fundamentals and the history.
Apr 4, 2022 10 tweets 4 min read
Which ERC721 implementation is the best? I tested:

@OpenZeppelin
@transmissions11's solmate
@AzukiOfficial's ERC721A
@ShadowQuest_NFT's ERC721:Shadow

Let's go ↓ It's all about the storage 💾

Storage is the most expensive resource in EVM. Reading data costs 2,100 gas, updating data costs 2,900 gas, and writing new data costs 20,000 gas!

EVM reads and writes data in chunks of 32 bytes. Storing number 1 and storing 32b blob costs the same
Apr 1, 2022 10 tweets 4 min read
The diversity and the innovation in NFTs make web3 more centralized.

If this is not obvious to you, let me try to explain.

@cryptopunksnfts is the first NFT ever created. It's even older than the NFT specification itself!

Conceptually though, it's definitely an NFT: unique tokens that can be transferred (or traded).
Mar 31, 2022 10 tweets 4 min read
Here's @lootproject — one of the first "fully on-chain" NFTs. It used ERC721 spec in a very clever way that brought an avalanche of on-chain projects.

Let's take a look ↓ tokenURI is a function that's supposed to return a URI to metadata — a JSON document that tells your wallet how to display the NFT: image, title, description attributes.

Usually tokenURI is an address, like https://… or ipfs://. But loot returns something like this:
Mar 30, 2022 12 tweets 5 min read
Just finished reviewing @okpcnft's contract and let me tell you — it's as elegant as the NFT itself.

Here are some details (and a few small issues) that caught my eye:

The hello() event in the constructor is super cute. Don't think it's used for anything, but gives the NFT a little more personality
Mar 16, 2022 6 tweets 1 min read
Why not L2?

Someone on Discord asked why we choose to go with Ethereum mainnet for @watchfacesworld NFT instead of an L2. Here's our thinking process on this… We want to make Watchfaces last forever. The kind of antique rare physical timepieces that represent the times they were crafted in.

It's fully on-chain and will be alive for as long as Ethereum is alive. No external dependencies, no servers, no IPFS.
Mar 16, 2022 11 tweets 3 min read
I'm building web3 projects in the open. This is a meta-thread of all the interesting things I've learned ↓ Getting payments is not as easy as one might think:
Mar 15, 2022 11 tweets 3 min read
Should you build a minting pass for your upcoming NFT project? I definitely recommend you do! It’s actually super simple, and I’ve learned a lot when building one for @watchfacesworld.

Here are 3 principles I want to share, a few bonus tips, and a code sample ↓ First, what is a minting pass?

It's a simple NFT token that gives the holder access to private minting. They became very popular lately, esp. for high-profile projects to help alleviate gas wars and frustrations.

But minting passes can be useful for every upcoming NFT project
Mar 14, 2022 8 tweets 4 min read
Best practices when handing payments 💸 in NFT contracts #solidity ↓ Pull, don't push.
* If you forward ether payments from your mint function, it makes minting more expensive.
* If your contract gets some Ether without triggering the mint function, these funds will be lost forever.

Instead, make a function that transfers you the full balance. Image