Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
programs | ||
sdk | ||
Anchor.toml | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
README.md
Account Compression (Beta)
This on-chain program provides an interface for composing smart-contracts to create and use SPL ConcurrentMerkleTrees. The primary application of using SPL ConcurrentMerkleTrees is to make edits to off-chain data with on-chain verification.
This program is targeted towards supporting Metaplex Compressed NFTs and may be subject to change.
Note: Using this program requires an indexer to parse transaction information and write relevant information to an off-chain database.
A rough draft of the whitepaper for SPL ConcurrentMerkleTree's can be found here.
Rust Packages
spl-account-compression
: SDK for interacting with account compression programspl-noop
: SDK for interacting with no op program, primarily for circumventing log truncationspl-concurrent-merkle-tree
: SDK for creating SPL ConcurrentMerkleTrees
Typescript SDK
@solana/spl-account-compression
is generated using Metaplex Foundation's Solita.
Testing and Development
Testing contracts locally requires the SDK to be built.
With a built local SDK, the test suite can be ran with:
yarn link @solana/spl-account-compression
yarn
yarn test
Audit
The repository README contains information about program audits.