With that, your new wallet has been created! If you want a better way to see what's in your wallet, you can use the Solana Explorer. My token is called BUG and if you cant tell by its official logo it has absolutely zero value so please do not try and buy it. Youll also need to set up a command line wallet and fund it with SOL in order to pay for the creation of your token. Before we can create anything, we first have to install the necessary command line tools. It ensures that no matter what, there will be some liquidity both in Raydium for swapping and in Serum orderbooks. If you accidentally made any errors, the bot will provide you with feedback. On Solana, our token balances are each stored in their own unique accounts. The other type of token mint authority is known as Mint Authority. This one is pretty straightforward, as we used it earlier to mint ourselves 1 billion tokens. At the time of this writing, the official registry of all SPL Tokens lives on this GitHub repository hosted by the Solana Labs team. To find an address that starts with BUG, I ran: The --starts-with flag will search for words that start with the next argument (in my case, bug). Section two of this tutorial (Naming and Logos) is only applicable to Solanas mainnet. Only commit additions. Once submitted, youll see the bot run its tests. Yours will be different from mine but for the rest of the tutorial any time you see YOUR_ADDRESS, that means you should use your public address. If we had looked up our tokens mint before we actually made any instructions, it would have just appeared as a standard, empty account: Now, after telling the Token Program to create our account and initialize it as a token mint, the network will recognize it as a mint: Its time to make ourselves billionaires. We can get some free SOL on the devnet. The first way is to ask our friend to create and fund their own account just like we did. We can visualize this transaction like so: If you take a look at my transaction, youll see that the entire transaction cost my Friel account 0.0014716 SOL or ~$0.31. Just fill in the token Mint address for BASE, which you can find in your tokens page: and use USDC for Quote ( EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v ) : Make sure your tick size is small enough to cover the pricing expectations you want to set if youre not sure than 0.00001 is fine for a 100M+ supply. If you enjoyed this, you'll love his newsletter there. Boom! There are several ways to make a wallet but we will be making ours with the command line. Note: This step is what will cost you about 34 SOL. First, we need to install the Solana Tool Suite. Now that you have a token and market, to complete your project, just: And there you have it, keep your market liquid and keep paying shills to promote it and you just may make it. This is where well be making our additions. My goal in writing this tutorial is to help others gain a better understanding of Solana, and in the process deliver a practical guide to creating tokens. First, we need to set our config to use the devnet and point to where our keypair.json file is on our computer. Sorry to lead us astray (I wont do it again) but I cant pass up a good teaching moment. The first thing we can do is to send some tokens to a friend. Note: Save the Mint ID because this will be useful to give to your community so they can add it to various tools to interact with your token. In GitHub Desktop, double check that you are only making additions (only green, no red!). I may explore how you can integrate the Token Program with Rust and JavaScript in a future tutorial. There are two ways to get around this. Once again, well be sending instructions to the Token Program. Lets go ahead and fund our command line wallet with a little bit of SOL. In my case, this would be assets/mainnet/BUGuuhPsHpk8YZrL2GctsCtXGneL1gmT5zYb7eMHZDWf. Instead, it simply requires you to send instructions to the Token Program and it will create and mint tokens on your behalf. Lets go ahead and fix this with: Heres a quick visualization of what just happened: If we take a look at this latest transaction, well see that we are once again paying a relatively large sum to make this new account rent-exempt. If you found this tutorial helpful, please let me know via Twitter. To help you get a grasp on Solana. Remember back to when we first minted ourselves one billion units: we ran into an issue because we did not already have an associated token account to store our token balances. Sending BUG between two established parties costs less than one-tenth of one penny, further underscoring Solanas potential to let everyday people interact with one another on-chain. The issue is that when we asked the Token Program to mint us some tokens, it derived this new address but did not recognize it as an Associated Token Account for our newly created mint.

Both Solana and Ethereum allow people to build on top on their blockchain and use smart contracts for things like DeFi, Dapps, creating your own token, or NFTs. To make up for this resource consumption, Solana charges us a time-and-space based fee called rent, and will close our account if we fail to meet the minimum rent requirements. Note: if lots of people are buying the token from the pool, it will accumulate significant amounts of USDC as people buy, they add USDC; and take tokens, and the price of the token in the pool rebalances.

The tool is DexLab a laboratory for you to easily create Solana SPL tokens your very own shitcoin factory: https://minting.dexlab.space. Note that even if you generate your own vanity address, you wont be able to generate the exact same address I did. If you liked my teaching style, join me on ZappyCode! Once you submit, it will do three on-chain transactions minting it out of a wallet that you create within the DexLab platform. The issue is that our friend has not already set up an associated token account for our mint. Note: Similar to Uniswap, there appears to be bots that are tracking early listings and buying portions of any liquidity that gets thrown up on the orderbooks. It's a Chrome/Brave extension that makes it easy to view your wallet and interact with Solana Dapps. Make sure you properly backup your recovery phrase. Lets change that. Every account has a specified owner, and a single owner can own many different kinds of accounts. Now youve officially got your token created AND your market live! When burning tokens, the mint authority must provide the token account address they would like to burn from, otherwise they will by default burn from their own balances. Now what? aka swapman. If you dont already you should download Phantom.app so that you have a local Solana wallet (this will be used to connect to DexLab/Serum and Raydium with your tokens). Terms like accounts, programs, mints, and authorities are often misunderstood, as each refers to something unique to the Solana ecosystem. In my case, I paid 0.00204428 SOL or ~$0.44 cents. If we turn our attention back to the Token Program, we can see theres a few things we can do right away. These accounts are called Associated Token Accounts, and their addresses are derived from the addresses of their owner and the mint itself. The account holds some SOL that we deposited from an external source. Now this is a little tricky but we need to create an account, in our wallet, to hold this new token. To get these changes merged into the official Solana Labs version, head over to the Pull Request tab of their repository here. By creating a new account, were asking all Solana validators to keep track of the information it stores in memory. If Brian already had a token account for BUG, I could have dropped the --fund-recipient flag and either kept the same or replaced it with his associated token account address. The two mistakes that trip people up the most are: Make sure you update the JSON fields with your relevant information. You should see an output of "Creating token YOUR_TOKEN" (YOUR_TOKEN will be a string of letters and numbers just like your public address). Think of it as Ethereum's ETH). To create a new account (this is carried out by the, Right away, you should notice that this mint is for an Unknown Token. To avoid any issues, its important to take time to ensure that you are not committing any deletions or potential syntax errors. And voila these four steps have given you: People can trade your token on the market either in the orderbook or on a PancakeSwap style swap tool using your Mint ID. Part of the benefit here is that the trades history and chart data are preserved, unlike other Serum UIs which you have to manually add the market ID in your browser. By plugging my Brian wallet into Phantom, we can see that we are now the proud owner of 1 BUG! Now in our terminal, let's move to our Desktop, make a folder where we'll store our wallet data, and create a wallet. Love podcasts or audiobooks? It will ask for a password but I'd recommend not setting one as we're just testing things out. Once you add the tokens, you will get in your wallet in replacement LP tokens represent the ownership of the liquidity (aka the set of the two assets). Furthermore, the transaction failed because the Token Program told us that it could not parse this new address as a token account. Solana Labs uses a bot to automatically test and merge updates to the Token List without requiring human review. Accounts can be thought of as storage buckets, capable of storing nearly everything Solana touches: from tokens such as SOL and SRM, to a programs state (e.g. Could your meme coin be the next DOGE, SHIB, or SAMO? Go there, on the top right chain mainnet to devnet, and paste in YOUR_ADDRESS. Once a result is found, the CLI will print a JSON file with your new vanity address. Access your tokens in the https://minting.dexlab.space/management/spl-wallets. The higher the better: Traders have a unit bias where they like to hold large amounts and psychologically see low prices (fractions of a penny) as cheap. Solana will crop your logo to a square, so make sure you design it appropriately. The :1 option tells the CLI to just return the first result it finds. An introduction to the SPL Token Program and Solana's account model, complete with a guide on how to create a token on Solana. All you have to do is sign up and its free (well, minor Solana transaction costs) to create a token with no command-line / CLI needed, purely on GUI in a website.