DocumentationCoursesGuidesCookbookTerminologyRPC APIStack Exchange

Home

Edit Page

Solana Cookbook

The Solana Cookbook is a developer resource that provides examples and references for building applications on Solana. Each example and reference will focus on specific aspects of Solana development while providing additional details and usage examples.

Next
How to Start a Local Validator »
  • Solana Cookbook
      • How to Start a Local Validator
      • Connecting to a Solana Environment
      • Getting Test SOL
      • Subscribing to Events
      • Using Mainnet Accounts and Programs
      • How to Create a Keypair
      • How to Restore a Keypair
      • How to Verify a Keypair
      • How to Validate a Public Key
      • How to Generate Mnemonics for Keypairs
      • How to Restore a Keypair from a Mnemonic
      • How to Generate a Vanity Address
      • How to Sign and Verify a Message
      • How to Connect a Wallet with React
      • How to Send SOL
      • How to Send Tokens
      • How to Calculate Transaction Cost
      • How to Add a Memo to a Transaction
      • How to Add Priority Fees to a Transaction
      • How to Optimize Compute Requested
      • Offline Transactions
      • How to Create an Account
      • How to Calculate Account Creation Cost
      • How to Create a PDA's Account
      • How to Sign with a PDA's Account
      • How to Close an Account
      • How to Get Account Balance
      • How to Transfer SOL in a Solana Program
      • How to get clock in a program
      • How to change account size
      • How to do Cross Program Invocation
      • How to create a Program Derived Address
      • How to read accounts in a program
      • Reading Multiple Instructions
      • How to verify accounts in a Solana program
      • How to Create a Token
      • How to Get a Token Mint
      • How to Create a Token Account
      • How to Get a Token Account
      • How to get a token account's balance
      • How to Mint Tokens
      • How to Transfer Tokens
      • How to Burn Tokens
      • How to Close Token Accounts
      • How to Set Authority on Token Accounts or Mints
      • How to Delegate Token Accounts
      • How to Revoke a Token Delegate
      • How to Use Wrapped SOL
      • How to Get All Token Accounts by Authority
      • How to create an NFT
      • How to Fetch the NFT Metadata
      • How to get the owner of an NFT
      • How to get all NFTs from a wallet?

Managed by

© 2024 Solana Foundation. All rights reserved.
Solana
  • Grants
  • Break Solana
  • Media Kit
  • Careers
  • Disclaimer
  • Privacy Policy
Get Connected
  • Blog
  • Newsletter
© 2024 Solana Foundation. All rights reserved.