pencilflip πŸ„ Profile picture
doing stuff @openai
Jerome Ku Profile picture Varsha Haris Lobo Profile picture 2 subscribed
Jul 20, 2022 β€’ 8 tweets β€’ 2 min read
Metaplex recently announced a new Digital Asset Standard, which is meant to improve upon the existing Metaplex NFT Protocol

Their doc, while thorough, is also long and complex πŸ˜΅β€πŸ’«

So here's a quick and simple summary of the most important improvements

1/ COST

The DAS reduces the cost to mint a basic NFT from ~0.012 SOL β†’ ~0.003 SOL

I assume NFT compression (basically, moving more data off-chain to save costs) will reduce minting costs even more, but estimated costs for compressed NFTs are not mentioned in the docs Image
Mar 22, 2022 β€’ 14 tweets β€’ 5 min read
Solana NFTs 101 πŸŽ“

🌟 Part 1: Account overview 🌟

Solana NFTs are composed of at least three accounts:

1. Token mint account
2. Token account
3. Metadata account
4. [Optional] Edition account

Let's review these accounts one-by-one Image 1/ Every token in Solana, fungible or non-fungible, has a mint account

The mint account's address uniquely identifies the token

This account also determines who is allowed to mint more tokens and how many tokens are in supply

NFT mints should have supply = 1 and decimals = 0 Image
Jan 19, 2022 β€’ 33 tweets β€’ 9 min read
.@armaniferrante recently published a great repository of 10 vulnerabilities to avoid when writing Solana programs.

Here's the quick rundown if you don't feel like digging into the code πŸ‘‡

ImageImageImage 1) Signer authorization

If your instruction takes in an "authority" account, make sure the account has signed the transaction.

Why? Because only the owner of the "authority" account can sign for itβ€”but anyone can pass in the account as a non-signer.
Jan 16, 2022 β€’ 14 tweets β€’ 4 min read
The @metaplex team is working on a new metadata standard for both fungible and non-fungible tokens.

It's backwards compatible and has official support for on-chain collections. And it's currently being tested in devnet.

For more details, see below πŸ‘‡ 1/ First, and perhaps most importantly, this new standard is backwards compatible.

This means NFTs that use the old standard will still function properly (e.g. be displayed properly in Phantom) once the new standard rolls out.
Dec 30, 2021 β€’ 7 tweets β€’ 3 min read
If you're writing Solana instructions involving tokens/NFTs, please require the token's mint account to be passed!

Otherwise, if you query for the mint's transactions, transactions that include your instruction may not show up... more on this πŸ‘‡ For exampleβ€”the regular "Transfer" instruction of the SPL Token Program does not take in the mint account.

Thus, if you transfer an NFT using this instruction, it WON'T show up on that NFT's Solana Explorer page. Image
Dec 12, 2021 β€’ 14 tweets β€’ 3 min read
Solana vs. Ethereum L2s, a UX comparison 1/ A lot of people are excited about ZK-rollups, and for good reason.

However, from a UX experience, ZK-rollups aren't too different than existing L2s. E.g. Polygon already offers low fees and fast transactions.

Let's look at Solana vs. L2s, and see why one might be preferred.
Dec 10, 2021 β€’ 9 tweets β€’ 3 min read
How do Solana CPIs work?

That is, how do Solana programs call into other Solana programs?

Here's a quick 6 tweet explanation πŸ‘‡ 1/ If you're unfamiliar with Solana transactions/instructions, you might want to take a look at this first.

Dec 4, 2021 β€’ 20 tweets β€’ 6 min read
Is Solana centralized?

There are three main reasons why people say Solana is centralized:

1. Expensive to run a validator
2. Token distribution
3. Only one blockchain software client

Let's take a look at each of these reasons πŸ‘‡ 1/ IMO it doesn't matter how much it costs to be a validatorβ€”it matters how many validators there actually are, and what the Nakamoto coefficient is.

Turns out Solana's Nakamoto coefficient is pretty high (19 validators required to halt the network).

Nov 23, 2021 β€’ 8 tweets β€’ 3 min read
Here's a diagram that shows all the different parts of a Solana transaction.

More details below πŸ‘‡ 1/ Each Solana transaction contains a message, and the first part of each message is its header.

The header is simple, it just contains the numbers described in the diagram.
Nov 18, 2021 β€’ 40 tweets β€’ 16 min read
1/ Here's a thread of all the Solana threads I've written (a thread of threads), plus some great threads/tweets by other folks. I'll try to keep adding onto this in the future.

First, 11 resources to get started with Solana development

2/ Solana accounts explained in 5 tweets

Nov 15, 2021 β€’ 10 tweets β€’ 3 min read
Here's my smooth brained understanding of Solana and rollups 1/ First off, a rollup is a L2 scaling solution. With rollups, a bunch of transactions are executed off-chain, and their data is posted on L1. This increases throughput, because instead of L1 processing 10 individual txs, it can process 1 "rolled-up" tx.
Nov 15, 2021 β€’ 5 tweets β€’ 1 min read
Just spent the past hour reading about Solana and rollups on Twitter. 99% of it went over my head but it was interesting πŸ˜†. Links to some of the more interesting threads I read below...
Nov 14, 2021 β€’ 38 tweets β€’ 10 min read
The 🍬 Candy Machine 🍬 is a program built by @redacted_j and @baalazamon that's commonly used to mint Solana NFT collections.

This thread is about how the program works (not how to use the Candy Machine for your own collection).

Let's go! πŸ‘‡ 1/ First, if you want a simpler, shorter explanation, check out this comic!

Nov 12, 2021 β€’ 4 tweets β€’ 2 min read
gm πŸ„ Excited to share @TheMycoverse, the project @petrichorate and I are working on!

We're starting with a mushroom-inspired NFT collection (b/c mushrooms are awesome), but our larger goal is to help onboard more artists and creators into web3. Right now, getting into web3 as an artist is hard πŸ˜΅β€πŸ’«.

Which blockchain should you choose? Which marketplace should you list on? How do you make an NFT collection? How do you airdrop NFTs to people? How do you market yourself?
Nov 10, 2021 β€’ 10 tweets β€’ 3 min read
How do NFT whitelists work on Ethereum? It's pretty simpleβ€”let's take a look at the @smilesssvrs smart contract to see how they did it πŸ‘‡

1/ The contract has a state variable called "_mintStatus."

This determines whether minting is only open to people on the whitelist (Acts 1-4), or is open to the public (Public 1-2).

Each status is associated with a minting limit. E.g. during Act 1, one person can mint 9 NFTs. Image
Nov 9, 2021 β€’ 5 tweets β€’ 2 min read
3 real world use cases of #Solana PDAs in 3 tweets.

If you don't know what a PDA is, check out this thread first.

1/ The metadata of a Metaplex NFT is stored in a PDA account.

Each NFT is associated with a unique mint account. The metadata PDA is derived from the mint account's address + the metadata program's info. Image
Nov 3, 2021 β€’ 37 tweets β€’ 9 min read
PDAs, or program derived addresses, are one of the trickier #Solana concepts πŸ€”. They're also something that every Solana dev should understand.

In this thread, I'll go over what they are, and why they're useful πŸ‘‡ 1/ First of all, if you don't know how Solana's account model works, check out this thread. It's only 5 tweets!

Oct 29, 2021 β€’ 21 tweets β€’ 5 min read
How do #Solana tokens work? What are the Solana equivalents of ERC20 and ERC721? Let's find out πŸ‘‡ 1/ In Ethereum, fungible tokens use the ERC20 standard, and non-fungible tokens use the ERC721 standard.

Each ERC20 token has its own smart contract, and each NFT collection has its own ERC721 contract.

Things work quite differently in Solana land.

Oct 25, 2021 β€’ 12 tweets β€’ 3 min read
Proof of Stake is used by #Solana and Ethereum 2.0. But what is Proof of Stake, and how does it work? A short thread πŸ‘‡ 1/ "Proof of stake is a type of consensus mechanism used by blockchain networks to achieve distributed consensus."

In other words, Proof of Stake enables nodes in a blockchain network to agree on the state of the blockchain.
Oct 24, 2021 β€’ 7 tweets β€’ 2 min read
#Solana accounts explained in 5 tweets πŸ‘‡ 1/ There are 2 kinds of accounts in Solana.

Data accounts store data. Program accounts store executable programs.

Each account has an address (usually a public key) and an owner (address of a program account). There are a few more fields every account stores, see πŸ‘‡
Oct 23, 2021 β€’ 13 tweets β€’ 8 min read
I'm currently learning how to program on @solana, and have found it much more difficult than learning to program on Ethereum.

Luckily, there are lots of great resources out there. Here are the ones I've found most helpful! πŸ‘‡ 1/ First, it's helpful to at least slightly understand Rust πŸ¦€ before diving into Solana dev.

Luckily, there's a great free book about it!

You don't need to read the whole thing, just enough to get the syntax down. You can always refer back to it later.

doc.rust-lang.org/book/