<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: CryptoPack</title>
    <description>The latest articles on DEV Community by CryptoPack (@cryptopack).</description>
    <link>https://dev.to/cryptopack</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4186773%2F74ba92b7-ab80-44d1-a568-d122795ef263.jpg</url>
      <title>DEV Community: CryptoPack</title>
      <link>https://dev.to/cryptopack</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cryptopack"/>
    <language>en</language>
    <item>
      <title>Creating a Solana Token Is Easy. Here's What I'd Check Before Doing It</title>
      <dc:creator>CryptoPack</dc:creator>
      <pubDate>Fri, 16 Oct 2026 08:43:46 +0000</pubDate>
      <link>https://dev.to/cryptopack/creating-a-solana-token-is-easy-heres-what-id-check-before-doing-it-533a</link>
      <guid>https://dev.to/cryptopack/creating-a-solana-token-is-easy-heres-what-id-check-before-doing-it-533a</guid>
      <description>&lt;p&gt;Creating a token on Solana sounds like a bigger engineering task than it actually is.&lt;/p&gt;

&lt;p&gt;If you're coming from Ethereum, you might assume you'll need to write a smart contract, configure Hardhat, deploy it, and verify everything afterward. That's how a lot of ERC-20 projects start.&lt;/p&gt;

&lt;p&gt;Solana works a little differently.&lt;/p&gt;

&lt;p&gt;For a basic fungible token, you don't need to deploy a custom smart contract. The SPL Token Program already handles most of the functionality. You're essentially creating a new mint account and configuring how that token should behave.&lt;/p&gt;

&lt;p&gt;The creation part is fairly straightforward. The decisions you make before creating it are where things get interesting.&lt;/p&gt;

&lt;h2&gt;
  
  
  First, what kind of token are you creating?
&lt;/h2&gt;

&lt;p&gt;Solana has two token programs worth knowing about.&lt;/p&gt;

&lt;p&gt;The original SPL Token Program handles the usual stuff: token supply, transfers, minting, and account freezing. For a simple community token, app reward token, or experimental project, it's often all you need.&lt;/p&gt;

&lt;p&gt;Then there's Token-2022, also called Token Extensions.&lt;/p&gt;

&lt;p&gt;Token-2022 adds functionality such as transfer fees, non-transferable tokens, and other extensions. These can be useful, but they also introduce compatibility considerations.&lt;/p&gt;

&lt;p&gt;Personally, I wouldn't choose Token-2022 just because it has more features. I'd start with the regular SPL Token Program unless the application actually needs an extension.&lt;/p&gt;

&lt;p&gt;Not every wallet, DEX, or third-party integration supports every extension equally well. That's something you want to discover before launch, not afterward.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three settings I'd pay attention to
&lt;/h2&gt;

&lt;p&gt;Let's say you're creating a token for a small application. Maybe users earn points for contributing, and you eventually want those points to be transferable.&lt;/p&gt;

&lt;p&gt;You need to decide on the supply, the decimal precision, and who controls the token.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Supply and decimals&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Suppose you create a token with an initial supply of 1,000,000 and 9 decimals.&lt;/p&gt;

&lt;p&gt;That means each token can be divided into a billion smaller units. It doesn't mean you've created one billion tokens.&lt;/p&gt;

&lt;p&gt;This distinction matters when working with APIs, because token amounts are generally represented in base units rather than the human-readable values displayed in wallets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mint authority&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This determines whether someone can create additional tokens after the initial supply is issued.&lt;/p&gt;

&lt;p&gt;If your application distributes new rewards every month, keeping mint authority might make sense.&lt;/p&gt;

&lt;p&gt;If you're creating a token with a fixed supply, you can revoke that authority once the intended supply has been minted.&lt;/p&gt;

&lt;p&gt;The important detail: revoking mint authority is irreversible.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Freeze authority&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A freeze authority can prevent individual token accounts from transferring their tokens.&lt;/p&gt;

&lt;p&gt;There are legitimate use cases for it, but it also gives the authority holder significant control over token holders.&lt;/p&gt;

&lt;p&gt;For a community token, I'd think carefully about whether that control is actually necessary.&lt;/p&gt;

&lt;p&gt;There's also metadata update authority, which determines whether certain token information can be changed later.&lt;/p&gt;

&lt;p&gt;I wouldn't revoke everything automatically. I'd decide what the application needs first, then remove permissions that have no reason to exist.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do you actually need to write code to create the token?
&lt;/h2&gt;

&lt;p&gt;Not necessarily.&lt;/p&gt;

&lt;p&gt;If you're building a token creation service or need to generate tokens programmatically, using the Solana SDK or CLI makes sense. You get more control and can incorporate mint creation into your own workflow.&lt;/p&gt;

&lt;p&gt;For a one-off token, though, I'm not convinced there's much value in writing and maintaining a deployment script unless you specifically want to learn how the instructions work.&lt;/p&gt;

&lt;p&gt;A browser-based creator is another option.&lt;/p&gt;

&lt;p&gt;For example, &lt;a href="https://solana.pandatool.org/en/create" rel="noopener noreferrer"&gt;PandaTool's Solana token creator&lt;/a&gt; provides a wallet-connected interface for configuring and creating a token.&lt;/p&gt;

&lt;p&gt;The basic workflow is simple: connect a wallet such as Phantom, enter the token name, symbol, decimals, initial supply, and logo, review the configuration and fees, then approve the transaction.&lt;/p&gt;

&lt;p&gt;You get a mint address after creation.&lt;/p&gt;

&lt;p&gt;That's useful when you need a standard token without turning token deployment into a separate development task. There are service fees involved, though, so I'd compare the cost with using the CLI directly.&lt;/p&gt;

&lt;p&gt;And regardless of which method you choose, I'd still verify the result on-chain.&lt;/p&gt;

&lt;p&gt;A successful-looking interface is not a substitute for checking what was actually created.&lt;/p&gt;

&lt;h2&gt;
  
  
  A quick way to verify your token with TypeScript
&lt;/h2&gt;

&lt;p&gt;Once you have the mint address, you can inspect the token using &lt;code&gt;@solana/web3.js&lt;/code&gt; and &lt;code&gt;@solana/spl-token&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Install the dependencies:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; @solana/web3.js @solana/spl-token
npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-D&lt;/span&gt; tsx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then create a file called &lt;code&gt;inspect-mint.ts&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;Connection&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;PublicKey&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;clusterApiUrl&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;@solana/web3.js&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;getMint&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;TOKEN_PROGRAM_ID&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;TOKEN_2022_PROGRAM_ID&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;@solana/spl-token&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;connection&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Connection&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="nf"&gt;clusterApiUrl&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;mainnet-beta&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;confirmed&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;inspectMint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;address&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;mintAddress&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;PublicKey&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;address&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;account&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;connection&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getAccountInfo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;mintAddress&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;account&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Mint account not found&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;programId&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;account&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;owner&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;programId&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;TOKEN_PROGRAM_ID&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;
    &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;programId&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;TOKEN_2022_PROGRAM_ID&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Not a supported SPL token mint&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;mint&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;getMint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="nx"&gt;connection&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nx"&gt;mintAddress&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;confirmed&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nx"&gt;programId&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
    &lt;span class="na"&gt;program&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;programId&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;TOKEN_2022_PROGRAM_ID&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
      &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Token-2022&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
      &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;SPL Token&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;supplyBaseUnits&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;mint&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;supply&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toString&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="na"&gt;decimals&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;mint&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;decimals&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;mintAuthority&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;mint&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;mintAuthority&lt;/span&gt;&lt;span class="p"&gt;?.&lt;/span&gt;&lt;span class="nf"&gt;toBase58&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;freezeAuthority&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;mint&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;freezeAuthority&lt;/span&gt;&lt;span class="p"&gt;?.&lt;/span&gt;&lt;span class="nf"&gt;toBase58&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nf"&gt;inspectMint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;argv&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]).&lt;/span&gt;&lt;span class="k"&gt;catch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run it with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx tsx inspect-mint.ts YOUR_MINT_ADDRESS
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This gives you a few things worth checking.&lt;/p&gt;

&lt;p&gt;Does the token use the program you expected? Are the decimals correct? Is the supply what you intended, remembering that the value returned here is in base units?&lt;/p&gt;

&lt;p&gt;More importantly, are the mint and freeze authorities still active?&lt;/p&gt;

&lt;p&gt;If an authority is &lt;code&gt;null&lt;/code&gt;, that authority has been removed.&lt;/p&gt;

&lt;p&gt;You can also inspect the same mint address using &lt;a href="https://explorer.solana.com/" rel="noopener noreferrer"&gt;Solana Explorer&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For production applications, I'd use a dedicated RPC endpoint rather than relying on the public endpoint for repeated requests.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating a token doesn't mean it's ready to trade
&lt;/h2&gt;

&lt;p&gt;This is another distinction that's easy to miss.&lt;/p&gt;

&lt;p&gt;Creating an SPL token doesn't automatically give it a market price, liquidity pool, or exchange listing.&lt;/p&gt;

&lt;p&gt;If you want the token to be tradable on a DEX, you'll need to think about liquidity separately. You may also need to distribute tokens, configure application integrations, and verify that wallets display the token metadata correctly.&lt;/p&gt;

&lt;p&gt;And if your token is purely an internal reward or access mechanism, you might not need a liquidity pool at all.&lt;/p&gt;

&lt;p&gt;There's no reason every token has to become a trading pair.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd do for a small project
&lt;/h2&gt;

&lt;p&gt;If I were adding a token to a side project, I'd keep the first version pretty boring.&lt;/p&gt;

&lt;p&gt;Start with the regular SPL Token Program. Decide whether the supply should ever increase. Choose the required authorities and make sure they're controlled by the right wallet.&lt;/p&gt;

&lt;p&gt;Test the token's behavior in a development environment where possible. For a mainnet launch, review the wallet transaction and costs before signing.&lt;/p&gt;

&lt;p&gt;Then verify the mint address and permissions independently.&lt;/p&gt;

&lt;p&gt;Whether the mint was created with a script, the Solana CLI, or a tool like PandaTool wouldn't really change that checklist.&lt;/p&gt;

&lt;p&gt;The deployment method is just one part of the process. The token's on-chain configuration is what matters afterward.&lt;/p&gt;

&lt;p&gt;I'm curious how other Solana developers handle this. Do you usually create tokens directly through the SDK or CLI, or use an existing interface for simple deployments?&lt;/p&gt;

&lt;p&gt;And for a small project, would you keep mint authority initially or revoke it from day one?&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>crypto</category>
      <category>cryptocurrency</category>
      <category>web3</category>
    </item>
  </channel>
</rss>
