Frontend Dev ๐ป (React, Next, Nuxt) | Learning Building on @Solana | Believe in Building ๐งข | Community Lead ๐ | 1100@chess.com โ๏ธ
Sep 27, 2022 โข 7 tweets โข 4 min read
NFTs on Solana are simply just some SPL-Tokens. But what makes them special from other tokens? Few things... #Day11#Solana#NFTs1. Max Supply - The max supply of such tokens is restricted to 1. Which means at any time, there won't exist more than 1 such token.
Sep 27, 2022 โข 5 tweets โข 2 min read
Spent the last few days building my own token-minter application using Next and Chakra-UI.
Got to learn why we can't simply use inbuilt functions to build trxs when we need to send them to the user's wallet for approval.
3. Transferring tokens from user's acc โก๏ธ receiver's acc โ
4. Checking Available Token in one's acc โ
Sep 20, 2022 โข 7 tweets โข 3 min read
The curious case of using offset values with data slice property ๐ค #Solana#Day8#offset
dataSlice is used to literally slice ๐ช the returned data buffer.
Let's say you have a dataBuffer in which the first 8bytes are storing data you don't need. So, we can slice that from all the data and then carry out operations on the remaining data. Optimized much? ๐ค
Sep 19, 2022 โข 8 tweets โข 4 min read
Analogy: You can either buy all the potatoes and then decide what potatoes to use for making ๐ or you can filter out the good potatoes while purchasing them. In either case the fries will be made of good ๐ฅ #Day7#Solana#filtering
Sorry ๐, stay with me. Here purchasing ๐ฅ refer to fetching accounts data using 2 approaches:
1. Fetching all acc. without any data (just their pubKeys) ~ (purchasing all)
2. Filtering what acc. to fetch, before fetching them without any data ~ (filtering before buying)