solana-program-library/account-compression
Noah Gundotra 271c13b20c
Account Compression: Add Close Tree Instruction (#3641)
* ac: add close tree instruction

* ac: update sdk with close tree instruction

* ac: test close tree instruction
2022-09-26 09:52:51 -04:00
..
programs Account Compression: Add Close Tree Instruction (#3641) 2022-09-26 09:52:51 -04:00
sdk Account Compression: Add Close Tree Instruction (#3641) 2022-09-26 09:52:51 -04:00
Anchor.toml Account Compression: Version ChangeLog + Test (#3632) 2022-09-22 15:05:24 -04: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