solana-program-library
solana-program-library copied to clipboard
A collection of Solana-maintained on-chain programs
According to [compressed.app](https://compressed.app) and Types, we can generate trees with 6-13 max depth, but when we try to create tree it shows a error that pair isn't valid. This is...
**Proposed feature** Token-2022 adds the token-extension of confidential transfers. In order to increase or decrease the supply of a token in the confidential balance space the tokens have to be...
**Proposed feature** Token-2022 adds the token-extension of confidential transfers. For normal token transfers Token-2022 further adds the permanent-delegate extension, which allows granting a signer the authority to move tokens from...
This may be a pointless request but if you don't ask, you don't get. I believe the authority to withdraw excess lamports from a program owned account for SPL 2022...
Its a little bit confusing that we can transfer spl tokens between same token accounts (src and dest is the same) Better to add a check and throw an error

The `zk-sdk` that ships with agave 2.0 does not provide an easy way to directly construct pod types like `PodElGamalPubkey` or `PodElGamalCiphertext` from bytes. As a workaround, in token-2022 and...
The [token extensions with metadata example](https://github.com/solana-labs/solana-program-library/blob/master/token/js/examples/metadata.ts) uses this TokenMetadata From @solana/spl-token-metadata/src/state.ts ```typescript export interface TokenMetadata { // The authority that can sign to update the metadata updateAuthority?: PublicKey; // The...
I noticed [the Token Extension examples look odd](https://github.com/solana-labs/solana-program-library/blob/master/token/js/examples/metadata.ts) and thought there wasn't any linter set up, and then I saw https://github.com/solana-labs/solana-program-library/pull/7115. Suggestion: use two spaces per prettier defaults, StandardJS, node...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.12.2 to 8.26.1. Release notes Sourced from @typescript-eslint/eslint-plugin's releases. v8.26.1 8.26.1 (2025-03-10) 🩹 Fixes eslint-plugin: [prefer-nullish-coalescing] treat any/unknown as eligible for nullish coalescing (#10865) eslint-plugin: [no-unsafe-return] handle...