Skip to main content

Create a New Token

Complete Example with UI

Token Minting (@solana/kit)

Using Kit with SPL Tokens:
  • useAnchorWallet() provides Signer interface for SPL token functions (createMint, mintTo)
  • createKitSignersFromAdapter() provides Kit-native signers for custom transactions
  • Combine both approaches: use AnchorWallet for SPL operations, Kit signers for custom instructions
  • Future: Watch for @solana/spl-token Kit-native equivalents
When to use Kit for token operations:
  • Building with @solana/kit architecture
  • Need to combine SPL tokens with Kit-native programs
  • Want automatic blockhash handling via createKitTransaction
  • Prefer type-safe transaction building