### Getting Started with SendAI Source: https://solana.com/developers/guides/getstarted/intro-to-ai This section guides users through setting up a basic AI agent using SendAI's Solana Agent Kit. It covers necessary dependencies like Node.js and recommends an IDE for development. ```APIDOC Getting Started with SendAI: Purpose: Set up a basic AI agent using SendAI's Solana Agent Kit to perform actions on the Solana blockchain. Dependencies: - Modern IDE (Cursor recommended for integrated AI features) - Node.js version 23.x.x Setup Steps: 1. Open an empty folder using your IDE (e.g., Cursor or VS Code). 2. Run the following command in the terminal to initialize the project: (Command details not fully provided in source text, but implies project initialization) Note: If you are building an AI framework, feel free to open a PR to add it to the list. ``` -------------------------------- ### Creating Tokens with Token Extensions Source: https://solana.com/developers/guides/token-extensions/getting-started Guides users on how to create tokens utilizing the advanced features provided by Solana Token Extensions. It points to necessary installation steps for getting started. ```APIDOC How to Create a Token with Token Extensions: Prerequisites: - Installation of necessary tools and SDKs. - Refer to the installation guide for setup instructions. Steps: - Follow the detailed steps outlined in the documentation to initiate token creation. Related Documentation: - Installation Guide: /docs/intro/installation ``` -------------------------------- ### Install Project Dependencies Source: https://solana.com/developers/guides/getstarted/intro-to-ai Command to install all necessary project dependencies after setting up the environment. ```bash npm install ``` -------------------------------- ### Solana AI Tools Guide Links Source: https://solana.com/developers/guides/getstarted/intro-to-ai Provides links to the Solana AI tools guide in various languages. ```APIDOC APIDOC: Description: Links to the 'Introduction to AI tools on Solana' guide. Content: - en: https://solana.com/developers/guides/getstarted/intro-to-ai - pt: https://solana.com/pt/developers/guides/getstarted/intro-to-ai - ru: https://solana.com/ru/developers/guides/getstarted/intro-to-ai - tr: https://solana.com/tr/developers/guides/getstarted/intro-to-ai - uk: https://solana.com/uk/developers/guides/getstarted/intro-to-ai - vi: https://solana.com/vi/developers/guides/getstarted/intro-to-ai - zh: https://solana.com/zh/developers/guides/getstarted/intro-to-ai ``` -------------------------------- ### Set Up Node.js Environment Source: https://solana.com/developers/guides/getstarted/intro-to-ai Manages Node.js versions and installs project dependencies. Requires Node.js and pnpm to be installed. ```bash node --version nvm install 23 nvm use 23 pnpm install --no-frozen-lockfile pnpm build ``` -------------------------------- ### Solana Agent Kit Contribution and Examples Source: https://solana.com/developers/guides/getstarted/intro-to-ai Information on contributing to the Solana agent kit and utilizing provided examples. It highlights the possibility of building web chat interfaces with React and deploying them. ```markdown Contribution Guide: https://github.com/sendaifun/solana-agent-kit/blob/main/CONTRIBUTING.md Example Web Chat Agent: https://github.com/sendaifun/solana-agent-kit/tree/main/examples/agent-kit-nextjs-langchain ``` -------------------------------- ### Solana Game Development Examples Source: https://solana.com/developers/guides/games/hello-world A list of open source games and examples on Solana with tutorials to get you started. This guide covers games, anchor, program, react, web3js, unity, and rust. ```markdown A list of open source games and examples on Solana with tutorials to get you started. This guide covers games, anchor, program, react, web3js, unity, and rust. ``` -------------------------------- ### Install Dependencies (SendAI) Source: https://solana.com/developers/guides/getstarted/intro-to-ai Instructions for installing necessary dependencies to begin developing with SendAI, focusing on Node.js version and terminal commands. ```bash # Ensure Node.js version 23.x.x is installed # Example command to initialize a project (actual command may vary) # npm create sendai-agent@latest # or # yarn create sendai-agent ``` -------------------------------- ### Solana LLM Configuration Example Source: https://solana.com/developers/guides/getstarted/intro-to-ai An example JSON configuration object for a Solana LLM setup. It specifies the model name, client types, model provider, and voice settings. ```json { "name": "Sol", "clients": ["twitter"], "modelProvider": "openai", "settings": { "voice": { "model": "en_US-neural" }, ... } } ``` -------------------------------- ### Solana Learning: Getting Started Source: https://solana.com/courses/connecting-to-offchain-data/oracles A basic guide to Solana, covering essential concepts and steps for new users to begin interacting with the network and its digital transactions. ```APIDOC SolanaTutorial_GettingStarted: title: Getting Started with Solana description: Learn the basics of Solana and how to get started with digital transactions category: Solana Basics ``` -------------------------------- ### React Component: Getting Started Section Source: https://solana.com/developers/guides/getstarted/full-stack-solana-development This HTML snippet defines a 'Getting Started' section within a React component. It includes a heading, a link to the section, and a quickstart card with a rocket icon. The card links to the quick-start documentation and provides a brief description. ```HTML 34:[[\"$\",\"h2\",null,{\"className\":\"flex scroll-m-28 flex-row items-center gap-2\",\"id\":\"getting-started\",\"children\":[[\"$\",\"a\",null,{\"data-card\":\"\",\"href\":\"#getting-started\",\"className\":\"peer\",\"children\":\"Getting Started\"}],[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-link size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100\",\"aria-label\":\"Link to section\",\"children\":[[\"$\",\"path\",\"1cjeqo\",{\"d\":\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\"}],[\"$\",\"path\",\"19qd67\",{\"d\":\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\"}],\"$undefined\"]}]}]],\"\\n\",[[\"$\",\"div\",null,{\"children\":[[\"$\",\"$L3c\",null,{\"ref\":\"$undefined\",\"href\":\"/docs/intro/quick-start\",\"prefetch\":\"$undefined\",\"replace\":\"$undefined\",\"children\":[[\"$\",\"div\",null,{\"className\":\"not-prose mb-2 w-fit rounded-md border bg-fd-muted p-1.5 text-fd-muted-foreground [\u0026_svg]:size-4\",\"children\":[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-rocket\",\"children\":[[\"$\",\"path\",\"m3kijz\",{\"d\":\"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z\"}],[\"$\",\"path\",\"1fmvmk\",{\"d\":\"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z\"}],[\"$\",\"path\",\"1f8sc4\",{\"d\":\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0\"}],[\"$\",\"path\",\"qeys4\",{\"d\":\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5\"}],\"$undefined\"]}]}]],[\"$\",\"h3\",null,{\"className\":\"not-prose mb-1 text-sm font-medium\",\"children\":\"Quickstart\"}],null,[\"$\",\"div\",null,{\"className\":\"text-sm text-fd-muted-foreground prose-no-margin\",\"children\":[\"$\",\"p\",null,{\"children\":\"Build your first Solana program directly in the browser\"}]}]],\"data-card\":true,\"className\":\"block rounded-lg border bg-fd-card p-4 text-fd-card-foreground shadow-md transition-colors ``` -------------------------------- ### Configure Environment Variables Source: https://solana.com/developers/guides/getstarted/intro-to-ai Sets up the project's environment variables by copying an example file. Essential for API keys, Solana RPC URLs, and cluster configuration. ```bash cp .env.example .env ``` -------------------------------- ### Integrate Solana into Your Exchange Source: https://solana.com/developers/guides/depin/getting-started A guide for exchanges on integrating Solana. Covers essential details for node setup, and implementation specifics for handling deposits and withdrawals efficiently. ```APIDOC Exchange Integration Guide: Node Setup: - Requirements for running a Solana validator or RPC node. - Configuration for high availability and performance. Deposits: - Monitoring incoming transactions to specific wallet addresses. - Confirming transaction finality before crediting user accounts. - Handling potential transaction failures or delays. Withdrawals: - Constructing and signing withdrawal transactions. - Broadcasting transactions to the Solana network. - Managing transaction fees and network congestion. API Endpoints (Conceptual): - GET /balance/{address}: Retrieve the balance for a given Solana address. - POST /transfer: Initiate a token or SOL transfer. - Parameters: - from: Sender's public key. - to: Recipient's public key. - amount: Amount to transfer. - token: Token mint address (optional, for SPL tokens). - Returns: - transactionSignature: Signature of the submitted transaction. - status: Status of the transaction submission. - GET /transaction/{signature}: Get details of a specific transaction. Key Considerations: - Transaction confirmation times and finality. - Handling of different token standards (e.g., SPL Tokens). - Security best practices for key management and transaction signing. ``` -------------------------------- ### Solana Learning: Getting Started Source: https://solana.com/cookbook/development/load-keypair-from-file A basic guide to Solana, covering essential concepts and steps for new users to begin interacting with the network and its digital transactions. ```APIDOC SolanaTutorial_GettingStarted: title: Getting Started with Solana description: Learn the basics of Solana and how to get started with digital transactions category: Solana Basics ``` -------------------------------- ### Copy Environment File Source: https://solana.com/developers/guides/getstarted/intro-to-ai Copies the example environment file to a new file named .env. This is a common step for setting up project configurations. ```shellscript cp .env.example .env ``` -------------------------------- ### Solana Developer Guide Structure Source: https://solana.com/developers/guides/getstarted/intro-to-ai This snippet represents the internal structure for organizing developer guides on Solana, including folders, pages, descriptions, tags, and difficulty levels. ```json { "type": "folder", "name": "Advanced", "children": [ { "type": "page", "name": "How to auto approve transactions", "url": "/developers/guides/advanced/auto-approve", "$ref": { "file": "advanced/auto-approve.mdx" }, "description": "By auto approving transactions dApps and games can create a more fluid user experience. This is especially interesting for on-chain games.", "slug": "advanced/auto-approve", "tags": [ "games", "wallets", "transactions", "unity" ], "difficulty": "beginner" }, { "type": "page", "name": "How to Optimize Compute Usage on Solana", "url": "/developers/guides/advanced/how-to-optimize-compute", "$ref": { "file": "advanced/how-to-optimize-compute.mdx" }, "description": "Minimizing the amount of compute a program uses is critical both for the performance and cost of executing transactions. This guide will show you how to optimize compute usage in your programs on Solana.", "slug": "advanced/how-to-optimize-compute", "featured": true, "tags": [ "rust", "compute" ], "difficulty": "intermediate" }, { "type": "page", "name": "How to Request Optimal Compute Budget", "url": "/developers/guides/advanced/how-to-request-optimal-compute", "$ref": { "file": "advanced/how-to-request-optimal-compute.mdx" }, "description": "Learn how to use transaction simulation to get the compute units consumed and build an optimal transaction.", "slug": "advanced/how-to-request-optimal-compute", "tags": [ "compute" ], "difficulty": "intermediate" } ] } ``` -------------------------------- ### Install Solana LLM Dependencies Source: https://solana.com/developers/guides/getstarted/intro-to-ai Provides the command to install the specified project dependencies using pnpm. This command ensures all necessary libraries for Langchain and Solana integration are added to the project. ```bash pnpm add @langchain/core @langchain/openai @langchain/langgraph dotenv bs58 ``` -------------------------------- ### Solana Development Guides - Advanced Topics Source: https://solana.com/developers/guides/games/getting-started-with-game-development This snippet outlines specific guides for Solana development, detailing topics like auto-approving transactions for a better user experience in dApps and games, and optimizing compute usage for performance and cost efficiency on the Solana blockchain. ```markdown This guide will show you how to optimize compute usage in your programs on Solana.\",\"slug\":\"advanced/how-to-optimize-compute\",\"featured\":true,\"tags\":[\"rust\",\"compute\"],\"difficulty\":\"intermediate\"},{\"type\":\"page\",\"name\":\"How to Request Optimal Compute Budget\",\"url\":\"/developers/guides/advanced/how-to-request-optimal-compute\",\"$ref\":{\"file\":\"advanced/how-to-request-optimal-compute.mdx\"},\"description\":\"Learn how to use transaction simulation to get the compute units consumed and build an optimal transaction.\",\"slug\":\"advanced/how-to-request-optimal-compute\",\"tags\":[\"rust\",\"compute\"],\"difficulty\":\"intermediate\"}]}]}]}]]) ``` -------------------------------- ### Solana Learning: Getting Started Source: https://solana.com/courses/onchain-development/intro-to-anchor A basic guide to Solana, covering essential concepts and steps for new users to begin interacting with the network and its digital transactions. ```APIDOC SolanaTutorial_GettingStarted: title: Getting Started with Solana description: Learn the basics of Solana and how to get started with digital transactions category: Solana Basics ``` -------------------------------- ### Solana DePIN Reward Distribution Examples Source: https://solana.com/developers/guides/depin/getting-started Provides sample reference implementations for reward distribution mechanisms in DePIN projects on Solana. These examples often involve off-chain oracles, Anchor programs, and rewarding users with SPL tokens. ```Rust /* Example structure for an Anchor program handling reward distribution. This is a conceptual representation based on common patterns. */ use anchor_lang::prelude::*; use anchor_spl::token::{Mint, Token, TokenAccount}; #[derive(Accounts)] pub struct DistributeRewards<'info> { #[account(mut)] pub user_account: Account<'info, TokenAccount>, pub reward_mint: Account<'info, Mint>, pub token_program: Program<'info, Token>, // Other accounts like program authority, reward vault, etc. } pub fn handler(ctx: Context, amount: u64) -> Result<()> { // Logic to determine reward amount (e.g., based on sensor data, oracle price) // Transfer SPL tokens to the user's account anchor_spl::token::transfer( CpiContext::new( ctx.accounts.token_program.to_account_info(), anchor_spl::token::Transfer { from: ctx.accounts.reward_vault.to_account_info(), // Assuming a reward vault to: ctx.accounts.user_account.to_account_info(), authority: ctx.accounts.program_authority.to_account_info(), // Assuming a program authority }, ), amount, )?; Ok(()) } // Placeholder for off-chain oracle integration or data fetching logic fn get_reward_amount() -> u64 { // Fetch data from oracle, calculate reward, etc. 1000 } ``` ```TypeScript // Example of interacting with a Solana program for reward claiming (using @solana/web3.js) import * as web3 from '@solana/web3.js'; import { Program, AnchorProvider, Idl } from '@project-serum/anchor'; // Assume programId and idl are defined elsewhere const programId = new web3.PublicKey('YOUR_PROGRAM_ID'); const idl: Idl = { /* your IDL JSON */ }; async function claimRewards(connection: web3.Connection, userWallet: web3.Keypair) { const provider = new AnchorProvider(connection, new web3.Wallet(userWallet), AnchorProvider.defaultOptions()); const program = new Program(idl, programId, provider); try { // Find PDA for user's reward account or other relevant accounts const [userRewardAccount, bump] = await web3.PublicKey.findProgramAddress( [Buffer.from("reward_account"), userWallet.publicKey.toBuffer()], programId ); // Execute the 'claim_rewards' instruction (or similar) const tx = await program.methods.claimRewards().accounts({ userAccount: userRewardAccount, // ... other accounts like reward mint, token program, etc. }).rpc(); console.log('Transaction signature', tx); } catch (error) { console.error('Error claiming rewards:', error); } } ``` -------------------------------- ### Getting Started with Solana Validators Source: https://solana.com/courses/onchain-development/intro-to-onchain Guides users on how to begin their journey as a Solana validator. It points to essential documentation, validator explorers, educational resources, and the Foundation's delegation program. ```APIDOC GettingStarted: Documentation: header: Get started text: Go here for documentation related to all things Validator, from validator requirements, to troubleshooting. ValidatorsExplorer: header: Validators explorer text: View the current list of validators, their ranking by stake amount, and information about commission. button: View Validators ValidatorEducation: header: Validator Education text: A 2-part series on important Solana validator concepts and steps to set up a new validator. DelegationProgram: header: Delegation Program text: Foundation Delegation participants are eligible to receive a delegation from the Solana Foundation. button: Dashboard ``` -------------------------------- ### Install Solana Agent Kit Dependencies Source: https://solana.com/developers/guides/getstarted/intro-to-ai Installs necessary Node.js packages for building AI agents on Solana using SendAI's Solana Agent Kit. This includes core Langchain libraries, OpenAI integration, and Solana-specific utilities. ```bash node --version nvm install 23 nvm use 23 pnpm install solana-agent-kit pnpm add @langchain/core @langchain/openai @langchain/langgraph dotenv bs58 ``` -------------------------------- ### Solana Learning: Getting Started Source: https://solana.com/courses/token-extensions/permanent-delegate A basic guide to Solana, covering essential concepts and steps for new users to begin interacting with the network and its digital transactions. ```APIDOC SolanaTutorial_GettingStarted: title: Getting Started with Solana description: Learn the basics of Solana and how to get started with digital transactions category: Solana Basics ``` -------------------------------- ### Solana Tutorials and Guides Source: https://solana.com/courses/native-onchain-development/serialize-instruction-data-frontend A collection of tutorials and guides for Solana development, including 'Hello World', 'Bootcamp', 'EVM to SVM', and 'Installation'. These resources provide hands-on learning experiences. ```Solana Tutorials: All Guides Hello World Bootcamp EVM to SVM Installation ``` -------------------------------- ### Check Node.js Version Source: https://solana.com/developers/guides/getstarted/intro-to-ai Displays the current installed Node.js version. This command is useful for verifying your Node.js setup. ```shellscript node --version # Check current version ``` -------------------------------- ### Getting Started with Game Development on Solana Source: https://solana.com/developers/guides/token-extensions/permanent-delegate Introduction to building games on Solana, highlighting its speed, low fees, and suitability for various game genres. Includes quickstart guides. ```unity This entry describes a guide to game development on Solana using Unity, but does not contain specific code snippets. ``` ```quickstart This entry describes a guide to game development on Solana, including quickstart information, but does not contain specific code snippets. ``` -------------------------------- ### Getting Started with Solana Playground Source: https://solana.com/developers/guides/token-extensions/required-memo Instructions for users new to Solana Playground, covering the initial steps of creating a Playground Wallet and funding it with devnet SOL before proceeding with the guide's examples. ```markdown Start by opening this Solana Playground\nlink with the following\nstarter code. If it is your first time using Solana Playground, you'll first need to create a\nPlayground Wallet and fund the wallet with devnet SOL. ``` -------------------------------- ### Solana LLM Guide - Table of Contents Source: https://solana.com/developers/guides/token-extensions/transfer-fee This snippet defines the table of contents for a Solana LLM guide, listing key sections like 'Getting Started', 'Add Dependencies', 'Mint Setup', 'Build Instructions', and 'Send Transaction'. It uses a structured format suitable for navigation within the documentation. ```APIDOC SolanaLLMGuide: TableOfContents: - title: Getting Started url: "#getting-started" depth: 2 - title: Add Dependencies url: "#add-dependencies" depth: 2 - title: Mint Setup url: "#mint-setup" depth: 2 - title: Build Instructions url: "#build-instructions" depth: 2 - title: Send Transaction url: "#send-transaction" depth: 2 PageContent: - title: How to use the Transfer Fee extension date: "2023-12-06T00:00:00.000Z" difficulty: "beginner" baseHref: "/developers/guides" Navigation: - Home - Developers - Guides - How to use the Transfer Fee extension ``` -------------------------------- ### Hello World for Solana Game Development Source: https://solana.com/developers/guides/games/hello-world Get started building Solana games with a basic adventure game using the Anchor framework. This guide covers games, anchor, program, web3js, quickstart, and rust. ```rust // Example Rust Anchor program for a Solana game (not provided in source text) // This snippet is a placeholder based on tags. ``` ```web3js // Example Web3.js client for a Solana game (not provided in source text) // This snippet is a placeholder based on tags. ``` -------------------------------- ### Advanced Rust Agent Development with Rig and Listen.rs Source: https://solana.com/developers/guides/getstarted/intro-to-ai Guides developers on building AI agents using Rust, leveraging the Rig framework for LLM connectivity and the Listen.rs library for Solana integration. Listen.rs facilitates transaction monitoring and sending, including Jito bundles. ```rust // Example of using Rig and Listen.rs for Solana integration // While the Rig framework gives you an easy way to connect to LLMs the Listen.rs toolkit provides the Solana integration including Transaction monitoring and sending transactions using Jito bundles for example. ``` -------------------------------- ### Solana Learning Path: Basics Source: https://solana.com/courses/intro-to-solana/getting-started An introductory guide to Solana, covering its core concepts, how to set up a wallet, and perform basic transactions. ```APIDOC SolanaLearningPath: hero: title: Learn about Solana subtitle: Master the essentials of Solana with these no code learning resources for builders, investors, and enthusiasts. start_learning: Start Learning build: Build on Solana tutorials: aria_label: Complete learning path part_label: Part read_more: Read more read_more_aria_label: Read more about items: - id: what-is-solana title: What is Solana? description: An introduction to Solana - a fast, low-cost network that enables new ways to transfer value, create applications, and interact online. category: Solana Basics - id: what-is-a-wallet title: What is a Wallet? description: Learn what a Solana wallet is, how it works, and how to set one up safely. Your wallet is the tool you’ll use to interact with Solana applications. category: Wallet Basics - id: getting-started title: Getting Started with Solana description: Learn the basics of Solana and how to get started with digital transactions category: Solana Basics - id: understanding-solana-transaction-fees title: Understanding Solana Transaction Fees description: Learn how transaction fees work on Solana, why they’re low, and what this means for different use cases. category: Transaction Fees - id: sending-and-receiving-sol title: Sending and Receiving SOL description: Learn how to send and receive SOL tokens - the fundamental skill for interacting with the Solana network and its applications. category: Transfer SOL ``` -------------------------------- ### Solana Playground Setup Source: https://solana.com/developers/guides/games/hello-world Instructions on how to use Solana Playground, a web-based IDE, for coding, building, and deploying Solana programs. It also mentions the need to create a Playground Wallet for initial setup. ```APIDOC Solana Playground: - Visit: https://beta.solpg.io/ - Create a new Anchor project. - Create a Playground Wallet if you are new to Solana Playground. - Example usage: https://beta.solpg.io/tutorials/tiny-adventure ``` -------------------------------- ### Solana Validator Getting Started Guide Source: https://solana.com/cookbook/transactions/add-memo Provides resources for new and existing validators to get started and manage their nodes. It includes links to official documentation, a validator explorer, educational materials, and information on the Foundation Delegation Program. ```APIDOC getting-started: header: "Getting Started" cards: docs-header: "Get started" docs-text: "Go here for documentation related to all things Validator, from validator requirements, to troubleshooting." explorer-header: "Validators explorer" explorer-text: "View the current list of validators, their ranking by stake amount, and information about commission below." explorer-btn: "View Validators" education-header: "Validator Education" education-text: "The Solana Validator Education is a 2 part series on important Solana validator concepts and the steps needed to get a new validator setup." delegation-header: "Delegation Program" delegation-text: "Foundation Delegation participants are eligible to receive a delegation from the Solana Foundation." delegation-btn: "Dashboard" ``` -------------------------------- ### Solana Documentation - Start Building Source: https://solana.com/courses/onchain-development/intro-to-onchain Guides and resources for developers new to Solana. Covers essential concepts like wallets, DeFi, transactions, and fees, providing a learning path for building on the platform. ```APIDOC Developer Learning Center: Start Building: - What is Solana: Fast, low-cost network for digital assets. - Wallet: Your gateway to internet capital markets. - DeFi: Explore decentralized finance opportunities. - Transactions: Master the basics of Solana transactions. - Fees: Learn why Solana’s fees enable global access. - All: View the complete learning path. Official Documentation: - Solana Documentation: Official documentation for the Solana blockchain. - Solana Program Library Documentation: Official docs for the Solana Program Library (SPL). - Cookbook: Snippets and copyable example code for Solana applications. - Resources: Extensive developer tooling for building on Solana. - Courses: Online, self-paced classes to guide you through development. - Hackathon: Kickstart your crypto journey. - API: Solana RPC API reference documentation. Tutorials: - All Guides: Comprehensive list of available tutorials. - Hello World: A basic introduction to building a Solana application. - Bootcamp: In-depth training program. - EVM to SVM: Guide for migrating from Ethereum Virtual Machine to Solana Virtual Machine. - Local Setup: Instructions for setting up a local Solana development environment. ``` -------------------------------- ### Solana Validator Getting Started Guide Source: https://solana.com/cookbook/transactions/send-sol Provides resources for new and existing validators to get started and manage their nodes. It includes links to official documentation, a validator explorer, educational materials, and information on the Foundation Delegation Program. ```APIDOC getting-started: header: "Getting Started" cards: docs-header: "Get started" docs-text: "Go here for documentation related to all things Validator, from validator requirements, to troubleshooting." explorer-header: "Validators explorer" explorer-text: "View the current list of validators, their ranking by stake amount, and information about commission below." explorer-btn: "View Validators" education-header: "Validator Education" education-text: "The Solana Validator Education is a 2 part series on important Solana validator concepts and the steps needed to get a new validator setup." delegation-header: "Delegation Program" delegation-text: "Foundation Delegation participants are eligible to receive a delegation from the Solana Foundation." delegation-btn: "Dashboard" ``` -------------------------------- ### Solana Validator Getting Started Guide Source: https://solana.com/cookbook/tokens/get-token-mint Provides resources for new and existing validators to get started and manage their nodes. It includes links to official documentation, a validator explorer, educational materials, and information on the Foundation Delegation Program. ```APIDOC getting-started: header: "Getting Started" cards: docs-header: "Get started" docs-text: "Go here for documentation related to all things Validator, from validator requirements, to troubleshooting." explorer-header: "Validators explorer" explorer-text: "View the current list of validators, their ranking by stake amount, and information about commission below." explorer-btn: "View Validators" education-header: "Validator Education" education-text: "The Solana Validator Education is a 2 part series on important Solana validator concepts and the steps needed to get a new validator setup." delegation-header: "Delegation Program" delegation-text: "Foundation Delegation participants are eligible to receive a delegation from the Solana Foundation." delegation-btn: "Dashboard" ``` -------------------------------- ### Solana Tutorials Source: https://solana.com/cookbook/wallets/create-keypair A collection of guides and tutorials for learning Solana development, including 'Hello World', 'Bootcamp', and cross-chain migration guides. ```APIDOC Solana Tutorials: title: Tutorials items: all-guides: All Guides hello-world: Hello World bootcamp: Bootcamp evm-to-svm: EVM to SVM local-setup: Installation description: Guides for learning Solana development, from basic setup to advanced topics. ``` -------------------------------- ### Solana Validator Getting Started Guide Source: https://solana.com/cookbook/tokens/fetch-all-nfts Provides resources for new and existing validators to get started and manage their nodes. It includes links to official documentation, a validator explorer, educational materials, and information on the Foundation Delegation Program. ```APIDOC getting-started: header: "Getting Started" cards: docs-header: "Get started" docs-text: "Go here for documentation related to all things Validator, from validator requirements, to troubleshooting." explorer-header: "Validators explorer" explorer-text: "View the current list of validators, their ranking by stake amount, and information about commission below." explorer-btn: "View Validators" education-header: "Validator Education" education-text: "The Solana Validator Education is a 2 part series on important Solana validator concepts and the steps needed to get a new validator setup." delegation-header: "Delegation Program" delegation-text: "Foundation Delegation participants are eligible to receive a delegation from the Solana Foundation." delegation-btn: "Dashboard" ``` -------------------------------- ### Solana Developer Tutorials Source: https://solana.com/courses/intro-to-solana/intro-to-cryptography Guides and tutorials for developers, covering topics from basic setup to advanced concepts. ```APIDOC Developer Tutorials: title: Tutorials all-guides: All Guides items: - title: Hello World - title: Bootcamp - title: EVM to SVM - title: Local Setup description: Installation ``` -------------------------------- ### Quickstart Example Setup Source: https://solana.com/developers/guides/token-extensions/dynamic-meta-data-nft Instructions for setting up a local environment to run the Solana LLMs example. This example is based on the Solana Games Preset, which provides a scaffold with JavaScript and Unity clients. ```bash # Placeholder for the command to run the quickstart example locally. # The text mentions running it with a specific command after setting up the environment. # Example: anchor run --program-keypair dev-program-keypair.json ``` -------------------------------- ### Solana Tutorials Source: https://solana.com/cookbook/wallets/verify-keypair A collection of guides and tutorials for learning Solana development, including 'Hello World', 'Bootcamp', and cross-chain migration guides. ```APIDOC Solana Tutorials: title: Tutorials items: all-guides: All Guides hello-world: Hello World bootcamp: Bootcamp evm-to-svm: EVM to SVM local-setup: Installation description: Guides for learning Solana development, from basic setup to advanced topics. ``` -------------------------------- ### Install Dependencies and Build Project Source: https://solana.com/developers/guides/getstarted/intro-to-ai Installs project dependencies using pnpm and then builds the project. The `--no-frozen-lockfile` flag ensures the lockfile is updated during installation. The comments suggest managing Node.js versions. ```shellscript pnpm install --no-frozen-lockfile pnpm build # Install Node.js 23 if needed # Switch to Node.js 23 ``` -------------------------------- ### Install Node.js via NVM Source: https://solana.com/developers/guides/getstarted/intro-to-ai Instructions for installing the required Node.js version using the Node Version Manager (nvm). This is a prerequisite for running the project's dependencies. ```bash nvm install 23.x.x ``` -------------------------------- ### Rust Agents for Algorithmic Trading on Solana Source: https://solana.com/developers/guides/getstarted/intro-to-ai Introduces tools for building advanced algorithmic trading agents using Rust on Solana. It highlights the Rig framework for LLM connectivity and the Listen.rs library for Solana integration, including transaction monitoring and Jito bundles. ```APIDOC Rust_Algorithmic_Trading_Agents: Primary_Language: Rust Frameworks_Libraries: - Rig: - Purpose: Simplifies connecting Rust agents to Large Language Models (LLMs). - Usage: Facilitates LLM integration for trading strategies. - Listen.rs: - Purpose: Provides Solana integration toolkit. - Features: - Transaction Monitoring: Tracks on-chain transaction activity. - Transaction Sending: Enables sending transactions, including optimization via Jito bundles. Integration: - Rig and Listen.rs work together. - Rig handles LLM communication. - Listen.rs handles Solana-specific operations like transaction management and Jito bundle usage. ``` -------------------------------- ### Solana Learning Path: Basics Source: https://solana.com/courses/onchain-development/local-setup An introductory guide to Solana, covering its core concepts, how to set up a wallet, and perform basic transactions. ```APIDOC SolanaLearningPath: hero: title: Learn about Solana subtitle: Master the essentials of Solana with these no code learning resources for builders, investors, and enthusiasts. start_learning: Start Learning build: Build on Solana tutorials: aria_label: Complete learning path part_label: Part read_more: Read more read_more_aria_label: Read more about items: - id: what-is-solana title: What is Solana? description: An introduction to Solana - a fast, low-cost network that enables new ways to transfer value, create applications, and interact online. category: Solana Basics - id: what-is-a-wallet title: What is a Wallet? description: Learn what a Solana wallet is, how it works, and how to set one up safely. Your wallet is the tool you’ll use to interact with Solana applications. category: Wallet Basics - id: getting-started title: Getting Started with Solana description: Learn the basics of Solana and how to get started with digital transactions category: Solana Basics - id: understanding-solana-transaction-fees title: Understanding Solana Transaction Fees description: Learn how transaction fees work on Solana, why they’re low, and what this means for different use cases. category: Transaction Fees - id: sending-and-receiving-sol title: Sending and Receiving SOL description: Learn how to send and receive SOL tokens - the fundamental skill for interacting with the Solana network and its applications. category: Transfer SOL ``` -------------------------------- ### Solana Game Development Examples Source: https://solana.com/developers/guides/token-extensions/immutable-owner A curated list of open-source games and examples on Solana, complete with tutorials to help you get started. Covers various aspects of game development on the platform. ```solana This resource provides links to various game projects and tutorials. It serves as a directory rather than containing direct code snippets. ``` -------------------------------- ### Clone Eliza Repository Source: https://solana.com/developers/guides/getstarted/intro-to-ai Clones the Eliza framework repository from GitHub to start development. This command fetches the project's source code. ```bash git clone https://github.com/elizaOS/eliza.git ``` -------------------------------- ### Deploy First Solana Application Source: https://solana.com/developers/guides/getstarted/full-stack-solana-development Guidance on deploying your initial Solana application, which is a Counter Program built with the Anchor framework. This example demonstrates core Solana concepts for beginners. ```markdown ## Deploy Your First Solana Application Deploy your first Solana application - a simple Counter Program built using the Anchor framework. This example covers all the core Solana concepts to get started building on Solana. View the source code ``` -------------------------------- ### Solana Game Development Examples Source: https://solana.com/developers/guides/token-extensions/permanent-delegate A curated list of open-source Solana games and examples with tutorials to help developers get started. Supports Anchor, React, Web3.js, Unity, and Rust. ```anchor This entry describes a collection of game examples using Anchor, but does not contain specific code snippets. ``` ```react This entry describes a collection of game examples using React, but does not contain specific code snippets. ``` ```web3js This entry describes a collection of game examples using Web3.js, but does not contain specific code snippets. ``` ```unity This entry describes a collection of game examples using Unity, but does not contain specific code snippets. ``` ```rust This entry describes a collection of game examples using Rust, but does not contain specific code snippets. ``` -------------------------------- ### Solana Devnet Faucet Source: https://solana.com/developers/guides/getstarted/intro-to-ai Instructions to obtain devnet SOL for wallet funding. Essential for deploying and interacting with Solana smart contracts. ```APIDOC Solana Devnet SOL Funding: - Obtain devnet SOL from a faucet to fund your wallet before starting the agent. - Reference: https://solana.com/de/developers/guides/getstarted/solana-token-airdrop-and-faucets ``` -------------------------------- ### Solana Tutorials Source: https://solana.com/cookbook/tokens/manage-wrapped-sol A collection of tutorials covering various aspects of Solana development, from basic setup to complex application building, including guides like 'Hello World' and 'Bootcamp'. ```APIDOC Solana Tutorials: Guides for learning Solana development. Includes: - "Hello World" tutorial - Solana Bootcamp - EVM to SVM migration guide - Local setup and installation instructions - Comprehensive guides for building dApps. ``` -------------------------------- ### Solana Program Setup (Rust) Source: https://solana.com/courses/onchain-development/intro-to-onchain This snippet demonstrates the basic structure for initializing a Solana program using Rust. It includes the necessary imports and the entrypoint function required by the Solana runtime. ```rust use solana_program:: { account_info::AccountInfo, entrypoint, program_error::ProgramError, pubkey::Pubkey, }; entrypoint!(process_instruction); fn process_instruction( program_id: &Pubkey, accounts: &[AccountInfo], instruction_data: &[u8], ) -> ProgramResult { // Your program logic here Ok(()) } ```