{"id":105947,"date":"2025-03-13T13:30:24","date_gmt":"2025-03-13T13:30:24","guid":{"rendered":"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/"},"modified":"2025-03-13T13:30:24","modified_gmt":"2025-03-13T13:30:24","slug":"how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript","status":"publish","type":"post","link":"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/","title":{"rendered":"How to MINT tokens on Solana (Solana development tutorial with JavaScript)"},"content":{"rendered":"<div class=\"youtubomatic-video-container\"><iframe loading=\"lazy\" width=\"580\" height=\"380\" src=\"https:\/\/www.youtube.com\/embed\/ibZRCeYjWPw?autoplay=1&#038;controls=1&#038;hl=en\" frameborder=\"0\" allowfullscreen><\/iframe><\/div>\n<p>\ud83c\udf93 Learn how to MINT Solana tokens to any wallet using JavaScript and the gill SDK<\/p>\n<p>This comprehensive Solana tutorial walks you through the process of minting Solana tokens to any wallet using JavaScript and the gill SDK, covering everything from connecting to the blockchain to creating transactions and understanding token ownership.<br \/>\nYou will learn both the underlying mechanics of Solana token minting and the simplified approach using the gill transaction builder, with practical demonstrations verified on the Solana Explorer.<\/p>\n<p>\u2328\ufe0f What You&#8217;ll Learn:<br \/>\n\u2022 How to connect to the Solana blockchain<br \/>\n\u2022 How to create a Solana transaction in JavaScript\/TypeScript<br \/>\n\u2022 How minting tokens work on Solana<br \/>\n\u2022 How token ownership works on Solana (including the associated token account, ATA)<br \/>\n\u2022 Creating the associated token account (ATA) for a Solana token<br \/>\n\u2022 Minting tokens directly to any Solana wallet<br \/>\n\u2022 Reading the Solana Explorer for tokens<br \/>\n\u2022 Easiest way to mint tokens on Solana (using a gill transaction builder)<\/p>\n<p>\u23f1\ufe0f Timestamps:<br \/>\n00: 00 &#8211; Intro<br \/>\n00: 38 &#8211; Connect to the Solana blockchain<br \/>\n01: 00 &#8211; Get Solana wallet from filesystem<br \/>\n02: 09 &#8211; Create a transaction on Solana<br \/>\n03: 47 &#8211; Using token mint from last video<br \/>\n04: 38 &#8211; How does token minting work on Solana?<br \/>\n05: 59 &#8211; Create associated token account in JavaScript<br \/>\n07: 43 &#8211; Derive the associated token account for a mint<br \/>\n08: 47 &#8211; Mint tokens to a wallet<br \/>\n09: 31 &#8211; Understanding decimals for minting tokens<br \/>\n11: 49 &#8211; Sign and send the mint token transaction<br \/>\n12: 36 &#8211; Reading the Solana Explorer for minting tokens<br \/>\n15: 03 &#8211; Minting to a non-signer address<br \/>\n16: 11 &#8211; Easiest way to mint tokens on Solana (gill transaction builder)<br \/>\n17: 40 &#8211; Verifying the transaction on the Explorer (again)<\/p>\n<p>\ud83d\udd17 Useful Links:<br \/>\nGill npm package: <a href=\"https:\/\/www.npmjs.com\/package\/gill\" target=\"_blank\">https:\/\/www.npmjs.com\/package\/gill<\/a><br \/>\nGill GitHub Repository: <a href=\"https:\/\/github.com\/solana-foundation\/gill\" target=\"_blank\">https:\/\/github.com\/solana-foundation\/gill<\/a><br \/>\nTweet thread about gill filled with tips: <a href=\"https:\/\/x.com\/nickfrosty\/status\/1891588509128888432\" target=\"_blank\">https:\/\/x.com\/nickfrosty\/status\/1891588509128888432<\/a><br \/>\nExample code: <a href=\"https:\/\/github.com\/solana-foundation\/gill\/tree\/master\/examples\" target=\"_blank\">https:\/\/github.com\/solana-foundation\/gill\/tree\/master\/examples<\/a><br \/>\nSolana Developer CLI &#8211; mucho: <a href=\"https:\/\/github.com\/solana-developers\/mucho\" target=\"_blank\">https:\/\/github.com\/solana-developers\/mucho<\/a><br \/>\nSolana Documentation: <a href=\"https:\/\/solana.com\/docs\" target=\"_blank\">https:\/\/solana.com\/docs<\/a><br \/>\nSolana Explorer Inspector: <a href=\"https:\/\/explorer.solana.com\/tx\/inspector\" target=\"_blank\">https:\/\/explorer.solana.com\/tx\/inspector<\/a><\/p>\n<p>\ud83d\udca1 Related Videos:<br \/>\n\u2022 Get started on with Solana\/JavaScript with gill: <a href=\"https:\/\/youtu.be\/qfogmHaICg8\" target=\"_blank\">https:\/\/youtu.be\/qfogmHaICg8<\/a><br \/>\n\u2022 How to create a token on Solana (with metadata): <a href=\"https:\/\/youtu.be\/UM1-oI8XBuU\" target=\"_blank\">https:\/\/youtu.be\/UM1-oI8XBuU<\/a><\/p>\n<p>\ud83d\udd14 Subscribe for more Solana development tutorials and developer content!<\/p>\n<p>#SolanaDevelopment #Web3 #Blockchain #JavaScript #TypeScript #CodingTutorial #Programming #DApp #Cryptocurrency #SmartContracts #BlockchainDevelopment #SolanaEcosystem #Web3Development #CodingTips #DeFi<\/p>\n<p>Join me in the Solana community:<br \/>\nTwitter: <a href=\"https:\/\/x.com\/nickfrosty\" target=\"_blank\">https:\/\/x.com\/nickfrosty<\/a><br \/>\nWebsite: <a href=\"https:\/\/nick.af\" target=\"_blank\">https:\/\/nick.af<\/a><\/p>\n<p>DISCLAIMER<br \/>\nThe 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 \u201cFoundation Parties\u201d) 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\u2019 own personal opinions and do not reflect the opinions of any entities.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83c\udf93 Learn how to MINT Solana tokens to any wallet using JavaScript and the gill SDK This comprehensive Solana tutorial walks you through the process of minting Solana tokens to any wallet using JavaScript and the gill SDK, covering everything from connecting to the blockchain to creating transactions and understanding token ownership. You will learn both the underlying mechanics of Solana token minting and the simplified approach using the gill&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","tve_updated_post":"","tve_custom_css":"","tve_user_custom_css":"","tve_globals":{},"tcb2_ready":0,"tcb_editor_enabled":0,"tve_landing_page":"","_tve_header":"","_tve_footer":""},"categories":[1],"tags":[],"class_list":["post-105947","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to MINT tokens on Solana (Solana development tutorial with JavaScript) - UshopWell.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to MINT tokens on Solana (Solana development tutorial with JavaScript) - UshopWell.com\" \/>\n<meta property=\"og:description\" content=\"\ud83c\udf93 Learn how to MINT Solana tokens to any wallet using JavaScript and the gill SDK This comprehensive Solana tutorial walks you through the process of minting Solana tokens to any wallet using JavaScript and the gill SDK, covering everything from connecting to the blockchain to creating transactions and understanding token ownership. You will learn both the underlying mechanics of Solana token minting and the simplified approach using the gill...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"UshopWell.com\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-13T13:30:24+00:00\" \/>\n<meta name=\"author\" content=\"UShopWell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"UShopWell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\\\/\"},\"author\":{\"name\":\"UShopWell\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#\\\/schema\\\/person\\\/6fd1f9e0ff932e534c86c70d5acff0fc\"},\"headline\":\"How to MINT tokens on Solana (Solana development tutorial with JavaScript)\",\"datePublished\":\"2025-03-13T13:30:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\\\/\"},\"wordCount\":619,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\\\/\",\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\\\/\",\"name\":\"How to MINT tokens on Solana (Solana development tutorial with JavaScript) - UshopWell.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#website\"},\"datePublished\":\"2025-03-13T13:30:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to MINT tokens on Solana (Solana development tutorial with JavaScript)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#website\",\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/\",\"name\":\"UshopWell.com\",\"description\":\"The Premiere Online Marketplace\",\"publisher\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#organization\",\"name\":\"UshopWell\",\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/pandaSwea.png\",\"contentUrl\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/pandaSwea.png\",\"width\":365,\"height\":359,\"caption\":\"UshopWell\"},\"image\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#\\\/schema\\\/person\\\/6fd1f9e0ff932e534c86c70d5acff0fc\",\"name\":\"UShopWell\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g\",\"caption\":\"UShopWell\"},\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/author\\\/kburnettu\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to MINT tokens on Solana (Solana development tutorial with JavaScript) - UshopWell.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/","og_locale":"en_US","og_type":"article","og_title":"How to MINT tokens on Solana (Solana development tutorial with JavaScript) - UshopWell.com","og_description":"\ud83c\udf93 Learn how to MINT Solana tokens to any wallet using JavaScript and the gill SDK This comprehensive Solana tutorial walks you through the process of minting Solana tokens to any wallet using JavaScript and the gill SDK, covering everything from connecting to the blockchain to creating transactions and understanding token ownership. You will learn both the underlying mechanics of Solana token minting and the simplified approach using the gill...","og_url":"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/","og_site_name":"UshopWell.com","article_published_time":"2025-03-13T13:30:24+00:00","author":"UShopWell","twitter_card":"summary_large_image","twitter_misc":{"Written by":"UShopWell","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/#article","isPartOf":{"@id":"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/"},"author":{"name":"UShopWell","@id":"https:\/\/ushopwell.com\/ublog\/#\/schema\/person\/6fd1f9e0ff932e534c86c70d5acff0fc"},"headline":"How to MINT tokens on Solana (Solana development tutorial with JavaScript)","datePublished":"2025-03-13T13:30:24+00:00","mainEntityOfPage":{"@id":"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/"},"wordCount":619,"commentCount":0,"publisher":{"@id":"https:\/\/ushopwell.com\/ublog\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/","url":"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/","name":"How to MINT tokens on Solana (Solana development tutorial with JavaScript) - UshopWell.com","isPartOf":{"@id":"https:\/\/ushopwell.com\/ublog\/#website"},"datePublished":"2025-03-13T13:30:24+00:00","breadcrumb":{"@id":"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ushopwell.com\/ublog\/how-to-mint-tokens-on-solana-solana-development-tutorial-with-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ushopwell.com\/ublog\/"},{"@type":"ListItem","position":2,"name":"How to MINT tokens on Solana (Solana development tutorial with JavaScript)"}]},{"@type":"WebSite","@id":"https:\/\/ushopwell.com\/ublog\/#website","url":"https:\/\/ushopwell.com\/ublog\/","name":"UshopWell.com","description":"The Premiere Online Marketplace","publisher":{"@id":"https:\/\/ushopwell.com\/ublog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ushopwell.com\/ublog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ushopwell.com\/ublog\/#organization","name":"UshopWell","url":"https:\/\/ushopwell.com\/ublog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ushopwell.com\/ublog\/#\/schema\/logo\/image\/","url":"https:\/\/ushopwell.com\/ublog\/wp-content\/uploads\/2018\/01\/pandaSwea.png","contentUrl":"https:\/\/ushopwell.com\/ublog\/wp-content\/uploads\/2018\/01\/pandaSwea.png","width":365,"height":359,"caption":"UshopWell"},"image":{"@id":"https:\/\/ushopwell.com\/ublog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/ushopwell.com\/ublog\/#\/schema\/person\/6fd1f9e0ff932e534c86c70d5acff0fc","name":"UShopWell","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g","caption":"UShopWell"},"url":"https:\/\/ushopwell.com\/ublog\/author\/kburnettu\/"}]}},"_links":{"self":[{"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/posts\/105947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/comments?post=105947"}],"version-history":[{"count":0,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/posts\/105947\/revisions"}],"wp:attachment":[{"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/media?parent=105947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/categories?post=105947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/tags?post=105947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}