Lakshya Profile picture
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 #NFTs 1. 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.

#Day10 #Solana #TokenMinter Added 4 different functionalities:

1. Creating Mints & Token Accounts โœ…

2. Minting Tokens to the account user wants โœ…

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 Image 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) Image