Mint an SPL Token

The SPL token program, and specifically minting some tokens using TypeScript, should be the first starting point in your journey as a Solana developer.
If you are new to the SPL Token program, follow this course before!
In this challenge, we're going to implement four simple instructions:
Create a Mint: Create a
Mint Accountusing the raw instruction or the abstracted instruction that the SDK has.Initialize Mint: Initialize the
Mint Accountcreated using the raw instruction or the abstracted instruction that the SDK has. The mint should have 6 decimals, with mint authority set to the wallet that is running the code, and no freeze authority.Create an Associated Token Account: Create and initialize an
Associated Token Accountusing the raw instruction or the abstracted instruction that the SDK has.Mint 21 million Tokens: Mint 21 million (21,000,000) of the newly created tokens to the newly created
Associated Token Account.
Note: If you're not familiar with how to use the SPL-Token program with TypeScript, you should start by reading the SPL Token with Web3.js to familiarize with the SDKs that we're going to need in this challenge.
Blueshift Sandbox Environment
The challenge is designed to be completed in the Blueshift Sandbox Environment.
This zero-config sandbox comes with everything you need to complete the challenge. You have access to a built-in editor with type support, pre-packaged libraries, a wallet, and an RPC node in an isolated environment.
Ready to start coding? Click the button below to open the sandbox and begin your challenge.