Back to Browse

Solana JavaScript tutorial: Get started with web3 development using gill

3.7K views
Feb 18, 2025
24:58

🎓 Web3 development tutorial for beginners - Complete guide to gill: The new #javascript library for #solana blockchain development and web3js v2 Learn how to harness the power of Gill - a game-changing JavaScript/TypeScript client library that simplifies Solana blockchain development. Whether you're a beginner or seasoned developer, this tutorial walks you through everything you need to know. Find the written guide for this video here: https://nick.af/articles/gill-solana-javascript-get-started ⌨️ What You'll Learn: • Setting up your first Solana project from scratch with gill • Loading keypair wallets from your filesystem • Creating a connection to the Solana blockchain (devnet, mainnet, testnet, localnet) • Calling Solana JSON RPC methods and getting the latest blockhash • Creating and managing Solana transactions with minimal code • Signing transactions with a keypair wallet • Sending transactions to the Solana blockchain • Best practices to optimize transactions • Pro tips for debugging Solana transactions • Inspecting and troubleshooting failed transactions with the Solana Explorer Inspector ⏱️ Timestamps: 00:00 What is gill? 00:43 Installing gill - the new web3js v2 framework 01:36 Load keypairs from your filesystem 03:33 esrun - running any javascript/typescript files 04:26 Create a connection to the Solana blockchain 05:15 Calling RPC methods - Get latest blockhash 07:34 Creating transactions 08:48 Creating instructions 11:04 Transaction fee payer - signer vs address 12:15 Signing transactions 13:33 Sending transaction to the Solana blockchain 14:10 Get transaction signature (even before sending) 15:24 Get Solana Explorer links 17:20 Optimizing transactions - improving landing rates with compute budget instructions 17:55 Setting priority fee and compute unit limit 20:01 Debug mode - troubleshooting transactions and debugging them 22:30 Debug log level - base64 transactions to inspect 22:57 Inspecting transactions and simulation on the Explorer Inspector 24:44 Closing remarks 🔗 Useful Links: Gill npm package: https://www.npmjs.com/package/gill Gill GitHub Repository: https://github.com/solana-foundation/gill Tweet thread about gill filled with tips: https://x.com/nickfrosty/status/1891588509128888432 Example code: https://github.com/solana-foundation/gill/blob/master/examples%2Fget-started%2Fsrc%2Fintro.ts Solana Developer CLI - mucho: https://github.com/solana-developers/mucho Solana Documentation: https://solana.com/docs Solana Explorer Inspector: https://explorer.solana.com/tx/inspector 💡 Related Videos: • How to create a token: https://youtu.be/UM1-oI8XBuU • How to MINT tokens on Solana: https://youtu.be/ibZRCeYjWPw 🔔 Subscribe for more Solana development tutorials and developer content! #SolanaDevelopment #Web3 #Blockchain #JavaScript #TypeScript #CodingTutorial #Programming #DApp #Cryptocurrency #SmartContracts #BlockchainDevelopment #SolanaEcosystem #Web3Development #CodingTips #DeFi Join me in the Solana community: Twitter: https://x.com/nickfrosty Website: https://nick.af DISCLAIMER The content herein is provided for educational, informational, and entertainment purposes only, and does not constitute an offer to sell or a solicitation of an offer to buy any securities, options, futures, or other derivatives related to securities in any jurisdiction, nor should not be relied upon as advice to buy, sell or hold any of the foregoing. This content is intended to be general in nature and is not specific to you, the user or anyone else. You should not make any decision, financial, investment, trading or otherwise, based on any of the information presented without undertaking independent due diligence and consultation with a professional advisor. Solana Foundation Foundation and its agents, advisors, council members, officers and employees (the “Foundation Parties”) make no representation or warranties, expressed or implied, as to the accuracy of the information herein and expressly disclaims any and all liability that may be based on such information or any errors or omissions therein. The Foundation Parties shall have no liability whatsoever, under contract, tort, trust or otherwise, to any person arising from or related to the content or any use of the information contained herein by you or any of your representatives. All opinions expressed herein are the speakers’ own personal opinions and do not reflect the opinions of any entities.

Download

0 formats

No download links available.

Solana JavaScript tutorial: Get started with web3 development using gill | NatokHD