solana-program-library/account-compression
Noah Gundotra 8528f92f07
SPL Account Compression JS Package (#3609)
* AC: fix tsconfig json files for publishing js package

* AC: fix package.json module exporting, move mpl to peerDeps

* AC: rename program ids and addresses to match crate
2022-09-16 15:56:31 -04:00
..
programs account-compression: Rename packages, prep for release (#3600) 2022-09-13 17:44:18 +02:00
sdk SPL Account Compression JS Package (#3609) 2022-09-16 15:56:31 -04:00
Anchor.toml account-compression: Rename packages, prep for release (#3600) 2022-09-13 17:44:18 +02:00
Cargo.lock account-compression: Rename packages, prep for release (#3600) 2022-09-13 17:44:18 +02:00
Cargo.toml account-compression: Rename packages, prep for release (#3600) 2022-09-13 17:44:18 +02:00
README.md account-compression: Rename packages, prep for release (#3600) 2022-09-13 17:44:18 +02:00

README.md

Account Compression

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.

Using this program requires an indexer to parse transaction information and write relevant information to an off-chain database.

SDK

The typescript SDK for this contract will be generated using Metaplex Foundation's Solita.

Testing

Testing contracts locally requires the SDK to be built. See the SDK folder for instructions.

With a built local SDK, the test suite can be ran with:

  1. yarn link @solana/spl-account-compression
  2. yarn
  3. anchor test