Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 8.03 KB

solana.md

File metadata and controls

53 lines (44 loc) · 8.03 KB

Program Packages

| Package | Description | Version | Docs | Issues | :-- | :-- | :--| :-- | | spl-token | ERC20-like token program on Solana | Crates.io | Docs.rs | | spl-token-2022 | Token program compatible with spl-token, with extensions | Crates.io | Docs.rs | | spl-associated-token-account | Stateless protocol defining a canonical "associated" token account for a wallet | Crates.io | Docs.rs | | spl-governance | DAO program using tokens for voting | Crates.io | Docs.rs | | spl-account-compression | Program for managing compressed accounts stored in an off-chain merkle tree | Crates.io | Docs.rs | | spl-feature-proposal | Program using tokens to vote on enabling Solana network features | Crates.io | Docs.rs | | spl-noop | Program that does nothing, used for logging instruction data | Crates.io | Docs.rs | | spl-memo | Program for logging signed memos on-chain | Crates.io | Docs.rs | | spl-name-service | Program for managing ownership of data on-chain | Crates.io | Docs.rs | | spl-shared-memory | Program for sharing data between programs | Crates.io | Docs.rs | | spl-stake-pool | Program for pooling stake accounts, managed by another entity | Crates.io | Docs.rs | | spl-instruction-padding | Program to padding to other instructions | Crates.io | Docs.rs | | spl-concurrent-merkle-tree | Library for on-chain representation of merkle tree | Crates.io | Docs.rs | | spl-math | Library for on-chain math | Crates.io | Docs.rs | | spl-token-lending | Over-collateralized lending program for tokens | Crates.io | Docs.rs | | spl-token-swap | AMM for trading tokens | Crates.io | Docs.rs | | spl-token-upgrade | Protocol for burning one token type in exchange for another | Crates.io | Docs.rs |

CLI Packages

Package Description Version
spl-token-cli CLI for the token, token-2022, and associated-token-account programs Crates.io
spl-stake-pool-cli CLI for the stake-pool program Crates.io
spl-feature-proposal-cli CLI for the feature-proposal program Crates.io
spl-token-lending-cli CLI for the token-lending program Crates.io
spl-token-upgrade-cli CLI for the token-upgrade program Crates.io

JavaScript Packages

Package Description Version Docs
@solana/spl-token Bindings for the token, token-2022, and associated-token-account programs npm Docs
@solana/spl-governance Bindings for the governance program npm N/A
@solana/spl-account-compression Bindings for the account-compression program npm Docs
@solana/spl-memo Bindings for the memo program npm N/A
@solana/spl-name-service Bindings for the name-service program npm N/A
@solana/spl-stake-pool Bindings for the stake-pool program npm N/A
@solana/spl-token-lending Bindings for the token-lending program npm N/A
@solana/spl-token-swap Bindings for the token-swap program npm N/A

Development

Environment Setup

  1. Install the latest Solana tools.
  2. Install the latest Rust stable. If you already have Rust, run rustup update to get the latest version.
  3. Install the libudev development package for your distribution (libudev-dev on Debian-derived distros, libudev-devel on Redhat-derived).