Exploring basic solana-web3.js usage (in 7 minutes). Solana-web3.js tutorial for beginners.

preview_player
Показать описание

Solana-web3js is among the most popular methods of connecting to the Solana blockchain and building applications. Because of this, it’s really important to know what the library is capable of as well as how to actually use it.

In just 7 minutes, let's run through 3 examples of utilization:
• Minting an SPL token 🪙
• Sending a transaction 💸
• Staking SOL 🔒

More specifically, you will
1. Import the base libraries.
2. Establish a connection to the Solana blockchain through a Chainstack RPC endpoint.
3. Import a wallet.
4. Read the balance of that wallet.
5. Mint an SPL token.
6. Send a SOL transaction.
7. Stake 0.02 SOL.

Even if you are a beginner Web3 developer or an intermediate, this tutorial is perfect to help you on your journey to becoming a Solana developer.

-----

Byte-Size BUIDLing is a series from our Developer Relations Lead, TABASCOweb3, in which we "speed-walk" through the process of utilizing a specific library, setting up a tool, or building an application in just a few minutes.

Рекомендации по теме
Комментарии
Автор

Can you make a video on decoding the Solana Transaction instructions?

travisgreg
Автор

The only thing I don't get about the Sol transaction is why we need to put brackets around walletKeyPair variable inside signature object. Any help on this would be really appreciated.

Tsakos
Автор

does solana mint the same as claim for eth?

RomsaAnarx
Автор

What on Earth is this voice sped up 1.5x? Brutal to listen to

stephengardner
Автор

Hey chainstack love the video and thanks for the info. Currently trying to figure out how i can write a script on js that will allow my kings to be sent out every hour for the king royal game i play.

oldestsol
Автор

Please make a simple swap script using .js bro
Raydium is lack of documentation, lol

KomunitasBelajarForex
Автор

Makes sense, but you can talk a bit slower so people can actually get your teachings clearly, I had to pause before i could get you

adesojisotubo