Back to Examples
Solana
Explore Solana's high-performance blockchain with comprehensive guides and tutorials for developers to build scalable applications for mass adoption.
Lines
3,705
Sections
64
Want your own llms.txt file?
Generate a professional, AI-friendly file for your website in minutes!
llms.txt Preview
# Solana Documentation
> Solana is the high-performance blockchain designed for mass adoption. This documentation provides comprehensive guides, references, and tutorials for developers looking to build scalable blockchain applications on Solana.
The Solana documentation is organized into several key sections covering core concepts, client-side development, program development, and validator operations. This LLMs.txt file provides structured access to the most important documentation resources.
## Cookbook
- [Solana Cookbook](https://solana.com/cookbook/?utm_source=llms&utm_medium=ai&utm_campaign=txt): The Solana Cookbook is a collection of code snippets, useful examples, and references for building on Solana.
## Cookbook - Accounts
- [How to Calculate Account Creation Cost](https://solana.com/cookbook/accounts/calculate-rent?utm_source=llms&utm_medium=ai&utm_campaign=txt): Every time you create an account, that creation costs an amount of SOL. Learn how to calculate how much an account costs at creation.
- [How to Create an Account](https://solana.com/cookbook/accounts/create-account?utm_source=llms&utm_medium=ai&utm_campaign=txt): Accounts are the basic building blocks of anything on Solana. Learn how to create accounts on the Solana blockchain.
- [How to Get Account Balance](https://solana.com/cookbook/accounts/get-account-balance?utm_source=llms&utm_medium=ai&utm_campaign=txt): Every account on Solana has a balance of SOL stored. Learn how to retrieve that account balance on Solana.
## Cookbook - Development
- [Connecting to a Solana Environment](https://solana.com/cookbook/development/connect-environment?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to connect to a Solana environment.
- [Getting Test SOL](https://solana.com/cookbook/development/test-sol?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to get test SOL for development purposes by requesting an airdrop in your source code.
- [How to Start a Local Validator](https://solana.com/cookbook/development/start-local-validator?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to start a local solana validator.
- [Load a local json file keypair](https://solana.com/cookbook/development/load-keypair-from-file?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to load a keypair from file.
- [Subscribing to Events](https://solana.com/cookbook/development/subscribing-events?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to subscribe to events in the Solana network.
- [Using Mainnet Accounts and Programs](https://solana.com/cookbook/development/using-mainnet-accounts-programs?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to use the Mainnet accounts and programs in your local development environment.
## Cookbook - Tokens
- [How to Get All Token Accounts by Authority](https://solana.com/cookbook/tokens/get-all-token-accounts?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to retrieve Solana token accounts by owner, including all accounts or filtered by mint.
- [How to Get a Token Account](https://solana.com/cookbook/tokens/get-token-account?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to retrieve Solana token account details, including owner, mint, and balance
- [How to Get a Token Mint](https://solana.com/cookbook/tokens/get-token-mint?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to retrieve Solana token mint information, including supply, authority, and decimals.
- [How to get a Token Account's Balance](https://solana.com/cookbook/tokens/get-token-balance?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to quickly retrieve a Solana token account
## Cookbook - Transactions
- [How to Add Priority Fees to a Transaction](https://solana.com/cookbook/transactions/add-priority-fees?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to increase your transaction priority with priority fees on Solana.
- [How to Add a Memo to a Transaction](https://solana.com/cookbook/transactions/add-memo?utm_source=llms&utm_medium=ai&utm_campaign=txt): Transactions come with metadata information about what was transacted. Learn how to add a memo to your transactions on Solana.
- [How to Calculate Transaction Cost](https://solana.com/cookbook/transactions/calculate-cost?utm_source=llms&utm_medium=ai&utm_campaign=txt): Every transaction costs compute units and a fee in lamports to execute on Solana. Learn how to calculate the cost of a transaction on Solana.
- [How to Optimize Compute Requested](https://solana.com/cookbook/transactions/optimize-compute?utm_source=llms&utm_medium=ai&utm_campaign=txt)
- [How to Send SOL](https://solana.com/cookbook/transactions/send-sol?utm_source=llms&utm_medium=ai&utm_campaign=txt): The most common action on Solana is sending SOL. Learn how to send SOL on Solana.
- [Offline Transactions](https://solana.com/cookbook/transactions/offline-transactions?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to create and sign transactions offline.
## Cookbook - Wallets
- [How to Connect a Wallet with React](https://solana.com/cookbook/wallets/connect-wallet-react?utm_source=llms&utm_medium=ai&utm_campaign=txt): Every application on Solana requires a connection with a user
- [How to Create a Keypair](https://solana.com/cookbook/wallets/create-keypair?utm_source=llms&utm_medium=ai&utm_campaign=txt): Every transaction requires a signature from a keypair on Solana. Learn how to create Keypairs on Solana.
- [How to Generate Mnemonics for Keypairs](https://solana.com/cookbook/wallets/generate-mnemonic?utm_source=llms&utm_medium=ai&utm_campaign=txt): Mnemonics make it easy for users to store their keypair
- [How to Generate a Vanity Address](https://solana.com/cookbook/wallets/generate-vanity-address?utm_source=llms&utm_medium=ai&utm_campaign=txt): Creating custom addresses that begin with specific characters. Learn how to create vanity addresses on Solana.
- [How to Restore a Keypair from a Mnemonic](https://solana.com/cookbook/wallets/restore-from-mnemonic?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to restore keypairs from a mnemonic on Solana
- [How to Restore a Keypair or Signer](https://solana.com/cookbook/wallets/restore-keypair?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to restore keypairs from a secret key on Solana.
- [How to Sign and Verify a Message](https://solana.com/cookbook/wallets/sign-message?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to sign messages on Solana.
- [How to Validate a Public Key](https://solana.com/cookbook/wallets/check-publickey?utm_source=llms&utm_medium=ai&utm_campaign=txt): Public keys on Solana can be validated with a small amount of code. Learn how to validate public keys on Solana.
- [How to Verify a Keypair](https://solana.com/cookbook/wallets/verify-keypair?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to verify keypairs on Solana match a given public address.
## Courses - Connecting-to-offchain-data
- [Connecting to offchain data](https://solana.com/courses/connecting-to-offchain-data/?utm_source=llms&utm_medium=ai&utm_campaign=txt): Connect to offchain data from inside your Anchor programs.
- [Oracles and Oracle Networks](https://solana.com/courses/connecting-to-offchain-data/oracles?utm_source=llms&utm_medium=ai&utm_campaign=txt): Access real-world data inside a Solana program.
- [Verifiable Randomness Functions](https://solana.com/courses/connecting-to-offchain-data/verifiable-randomness-functions?utm_source=llms&utm_medium=ai&utm_campaign=txt): Use proper cryptographic randomness in your onchain programs.
## Courses - Intro-to-solana
- [Course Guide](https://solana.com/courses/intro-to-solana/getting-started?utm_source=llms&utm_medium=ai&utm_campaign=txt): Understand what web3, blockchains, and Solana are.
- [Create Transactions on the Solana Network](https://solana.com/courses/intro-to-solana/intro-to-writing-data?utm_source=llms&utm_medium=ai&utm_campaign=txt): Make your first transactions on DevNet, using the System and memo programs!
- [Cryptography and the Solana Network](https://solana.com/courses/intro-to-solana/intro-to-cryptography?utm_source=llms&utm_medium=ai&utm_campaign=txt): Understand asymmetric cryptography and how Solana uses it.
- [Interact With Wallets](https://solana.com/courses/intro-to-solana/interact-with-wallets?utm_source=llms&utm_medium=ai&utm_campaign=txt): Connect with installed browser wallets from your React apps.
- [Introduction to cryptography and Solana clients](https://solana.com/courses/intro-to-solana/?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn the basics of how to interact with the Solana blockchain.
- [Read Data From The Solana Network](https://solana.com/courses/intro-to-solana/intro-to-reading-data?utm_source=llms&utm_medium=ai&utm_campaign=txt): Connect to Solana DevNet from TypeScript and read data from the blockchain!
- [Using custom onchain programs](https://solana.com/courses/intro-to-solana/intro-to-custom-onchain-programs?utm_source=llms&utm_medium=ai&utm_campaign=txt): Make instructions for arbitrary programs using the
## Courses - Mobile
- [Building Solana Mobile dApps with Expo](https://solana.com/courses/mobile/solana-mobile-dapps-with-expo?utm_source=llms&utm_medium=ai&utm_campaign=txt): How to use Solana in your Expo apps.
- [Exploring Mobile Wallet Adapter](https://solana.com/courses/mobile/mwa-deep-dive?utm_source=llms&utm_medium=ai&utm_campaign=txt): Initiate transactions on mobile wallets in your native mobile apps.
- [Introduction to Solana Mobile](https://solana.com/courses/mobile/intro-to-solana-mobile?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to build native mobile apps using blockchain functionality
- [Solana Mobile Development](https://solana.com/courses/mobile/?utm_source=llms&utm_medium=ai&utm_campaign=txt): Use Solana features from native mobile apps for both Android and iOS.
## Courses - Native-onchain-development
- [Create a Basic Program, Part 1 - Handle Instruction Data](https://solana.com/courses/native-onchain-development/deserialize-instruction-data?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how native programs distinguish instructions for different functions.
- [Create a Basic Program, Part 2 - State Management](https://solana.com/courses/native-onchain-development/program-state-management?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how programs store data using Solana
- [Create a Basic Program, Part 3 - Basic Security and Validation](https://solana.com/courses/native-onchain-development/program-security?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to secure your Solana program with ownership, signer, and account validation checks.
- [Cross Program Invocations](https://solana.com/courses/native-onchain-development/cross-program-invocations?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to invoke functions in other Solana programs.
- [Deserialize Program Data](https://solana.com/courses/native-onchain-development/deserialize-custom-data-frontend?utm_source=llms&utm_medium=ai&utm_campaign=txt): Deserialize instructions in JS/TS clients to send to your native program.
- [Hello World](https://solana.com/courses/native-onchain-development/hello-world-program?utm_source=llms&utm_medium=ai&utm_campaign=txt): Create an onchain program for Solana using native Rust, without Anchor.
- [Native onchain program development](https://solana.com/courses/native-onchain-development/?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to build Solana programs without using Anchor.
- [Page, Order, and Filter Program Data](https://solana.com/courses/native-onchain-development/paging-ordering-filtering-data-frontend?utm_source=llms&utm_medium=ai&utm_campaign=txt): Learn how to efficiently query account data from Solana.
- [Program Derived Addresses (PDAs)](https://solana.com/courses/native-onchain-development/program-derived-addresses?utm_source=llms&utm_medium=ai&utm_campaign=txt): Get a deeper understanding of PDAs.
- [Serialize Custom Instruction Data for Native Program Development](https://solana.com/courses/native-onchain-development/serialize-instruction-data-frontend?utm_source=llms&utm_medium=ai&utm_campaign=txt): How to deserialize data fetched from Solana accounts.
## Courses - Offline-transactions
- [Durable Nonces](https://solana.com/courses/offline-transactions/durable-nonces?utm_source=llms&utm_medium=ai&utm_campaign=txt): Use durable nonces to sign transactions ahead of time.
- [Offline transactions](https://solana.com/courses/offline-transactions/?utm_source=llms&utm_medium=ai&utm_campaign=txt): Use durable nonces to sign transactions ahead of time.
## Courses - Onchain-development
- [Anchor CPIs and Errors](https://solana.com/courses/onchain-development/anchor-cpi?utm_source=llms&utm_medium=ai&utm_campaign=txt): Invoke other Solana programs from your Anchor app.
- [Anchor PDAs and Accounts](https://solana.com/courses/onchain-development/anchor-pdas?utm_source=llms&utm_medium=ai&utm_campaign=txt): Store arbitrary data on Solana, using PDAs, an inbuilt key-value store.
- [Intro to Anchor development](https://solana.com/courses/onchain-development/intro-to-anchor?utm_source=llms&utm_medium=ai&utm_campaign=txt): Create your first Solana onchain program in Anchor.
- [Intro to Solana Onchain Development](https://solana.com/courses/onchain-development/intro-to-onchain?utm_source=llms&utm_medium=ai&utm_campaign=txt): Discover how onchain programs ( often called
Preview of Solana's llms.txt file. View complete file (3,705 lines) →
Ready to create yours?
Generate a professional llms.txt file for your website in minutes with our AI-powered tool.
Generate Your llms.txt File