{"id":104969,"date":"2025-03-06T18:15:03","date_gmt":"2025-03-06T18:15:03","guid":{"rendered":"https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/"},"modified":"2025-03-06T18:15:03","modified_gmt":"2025-03-06T18:15:03","slug":"how-to-create-a-token-on-solana-with-metadata-and-javascript","status":"publish","type":"post","link":"https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/","title":{"rendered":"How to create a token on Solana with metadata and JavaScript"},"content":{"rendered":"<div class=\"youtubomatic-video-container\"><iframe loading=\"lazy\" width=\"580\" height=\"380\" src=\"https:\/\/www.youtube.com\/embed\/UM1-oI8XBuU?autoplay=1&#038;controls=1&#038;hl=en\" frameborder=\"0\" allowfullscreen><\/iframe><\/div>\n<p>\ud83c\udf93 Learn how to create a Solana token (with metadata) using JavaScript and the gill SDK<\/p>\n<p>This tutorial provides a step-by-step guide to creating tokens on the Solana blockchain, from basic setup to advanced features. It covers connecting to Solana, wallet integration, transaction basics, various token minting methods, metadata enhancement, and simplified creation tools like the &#8220;gill&#8221; transaction builder, making it valuable for both beginners and experienced developers.<\/p>\n<p>\u2328\ufe0f What You&#8217;ll Learn:<br \/>\n\u2022 How to connect to the Solana blockchain and set up a local wallet<br \/>\n\u2022 Creating and structuring basic Solana transactions<br \/>\n\u2022 Multiple methods for token creation on Solana<br \/>\n\u2022 Step-by-step token mint initialization process<br \/>\n\u2022 Viewing and verifying tokens on Solana Explorer<br \/>\n\u2022 Adding and managing token metadata<br \/>\n\u2022 Implementing off-chain JSON metadata through URIs<br \/>\n\u2022 Using simplified token creation approaches like the &#8220;gill&#8221; builder<\/p>\n<p>\u23f1\ufe0f Timestamps:<br \/>\n00: 00 Introduction<br \/>\n00: 31 Connecting to the Solana blockchain<br \/>\n01: 37 Get a Solana wallet \/ Signer from your computer<br \/>\n02: 31 Create a basic Solana transaction<br \/>\n03: 50 Get the latest blockhash<br \/>\n04: 43 Ways to create tokens on Solana<br \/>\n06: 24 Create token instructions<br \/>\n09: 39 Initialize the token mint<br \/>\n13: 34 Viewing the token mint on the Solana Explorer<br \/>\n14: 13 Adding metadata to a Solana token<br \/>\n16: 09 Get the token metadata account<br \/>\n18: 26 Token metadata URI for offchain json metadata<br \/>\n20: 12 Easiest way create a Solana token<br \/>\n22: 25 Create token transaction builder using gill<\/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 MINT tokens on Solana: <a href=\"https:\/\/youtu.be\/ibZRCeYjWPw\" target=\"_blank\">https:\/\/youtu.be\/ibZRCeYjWPw<\/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 create a Solana token (with metadata) using JavaScript and the gill SDK This tutorial provides a step-by-step guide to creating tokens on the Solana blockchain, from basic setup to advanced features. It covers connecting to Solana, wallet integration, transaction basics, various token minting methods, metadata enhancement, and simplified creation tools like the &#8220;gill&#8221; transaction builder, making it valuable for both beginners and experienced developers. \u2328\ufe0f What&#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-104969","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to create a token on Solana with metadata and 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-create-a-token-on-solana-with-metadata-and-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create a token on Solana with metadata and JavaScript - UshopWell.com\" \/>\n<meta property=\"og:description\" content=\"\ud83c\udf93 Learn how to create a Solana token (with metadata) using JavaScript and the gill SDK This tutorial provides a step-by-step guide to creating tokens on the Solana blockchain, from basic setup to advanced features. It covers connecting to Solana, wallet integration, transaction basics, various token minting methods, metadata enhancement, and simplified creation tools like the &#8220;gill&#8221; transaction builder, making it valuable for both beginners and experienced developers. \u2328\ufe0f What...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"UshopWell.com\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-06T18:15:03+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-create-a-token-on-solana-with-metadata-and-javascript\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-create-a-token-on-solana-with-metadata-and-javascript\\\/\"},\"author\":{\"name\":\"UShopWell\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#\\\/schema\\\/person\\\/6fd1f9e0ff932e534c86c70d5acff0fc\"},\"headline\":\"How to create a token on Solana with metadata and JavaScript\",\"datePublished\":\"2025-03-06T18:15:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-create-a-token-on-solana-with-metadata-and-javascript\\\/\"},\"wordCount\":561,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-create-a-token-on-solana-with-metadata-and-javascript\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-create-a-token-on-solana-with-metadata-and-javascript\\\/\",\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-create-a-token-on-solana-with-metadata-and-javascript\\\/\",\"name\":\"How to create a token on Solana with metadata and JavaScript - UshopWell.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#website\"},\"datePublished\":\"2025-03-06T18:15:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-create-a-token-on-solana-with-metadata-and-javascript\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-create-a-token-on-solana-with-metadata-and-javascript\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/how-to-create-a-token-on-solana-with-metadata-and-javascript\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create a token on Solana with metadata and 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 create a token on Solana with metadata and 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-create-a-token-on-solana-with-metadata-and-javascript\/","og_locale":"en_US","og_type":"article","og_title":"How to create a token on Solana with metadata and JavaScript - UshopWell.com","og_description":"\ud83c\udf93 Learn how to create a Solana token (with metadata) using JavaScript and the gill SDK This tutorial provides a step-by-step guide to creating tokens on the Solana blockchain, from basic setup to advanced features. It covers connecting to Solana, wallet integration, transaction basics, various token minting methods, metadata enhancement, and simplified creation tools like the &#8220;gill&#8221; transaction builder, making it valuable for both beginners and experienced developers. \u2328\ufe0f What...","og_url":"https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/","og_site_name":"UshopWell.com","article_published_time":"2025-03-06T18:15:03+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-create-a-token-on-solana-with-metadata-and-javascript\/#article","isPartOf":{"@id":"https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/"},"author":{"name":"UShopWell","@id":"https:\/\/ushopwell.com\/ublog\/#\/schema\/person\/6fd1f9e0ff932e534c86c70d5acff0fc"},"headline":"How to create a token on Solana with metadata and JavaScript","datePublished":"2025-03-06T18:15:03+00:00","mainEntityOfPage":{"@id":"https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/"},"wordCount":561,"commentCount":0,"publisher":{"@id":"https:\/\/ushopwell.com\/ublog\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/","url":"https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/","name":"How to create a token on Solana with metadata and JavaScript - UshopWell.com","isPartOf":{"@id":"https:\/\/ushopwell.com\/ublog\/#website"},"datePublished":"2025-03-06T18:15:03+00:00","breadcrumb":{"@id":"https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ushopwell.com\/ublog\/how-to-create-a-token-on-solana-with-metadata-and-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ushopwell.com\/ublog\/"},{"@type":"ListItem","position":2,"name":"How to create a token on Solana with metadata and 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\/104969","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=104969"}],"version-history":[{"count":0,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/posts\/104969\/revisions"}],"wp:attachment":[{"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/media?parent=104969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/categories?post=104969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/tags?post=104969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}