Commit Graph

2 Commits

Author SHA1 Message Date
Noah Gundotra 92b1ea35bb
Account Compression: Typescript SDK v0.1.3 (#3743)
* ac-ts: update typescript to match v0.1.4 on-chain

* ac: add prettier, lint, typedoc config

* ac: test all init pairs

* ac: format everything

* ac: breaking changes to instructions helpers

* ac: update tests to use getCurrentBufferIndex

* ac: add docs to ts sdk

* ac: add examples to Readme, Canopy calculation explanation

* ac: ts helpers now require ValidDepthSizePair

* ac: restructure MerkleTree in tests to follow  layout

* ac: lint, pretty

* ac: export MerkleTree file

* ac: revamp instruction helpers with merkle tree class

* ac: add docs

* ac: pretty, lint

* ac: update README with jnwng's feedback

* ac: export merkle-tree docs
2022-10-28 17:38:09 -04:00
Noah Gundotra ee1b4be087
Account Compression: Autogenerate TS SDK with Solita (#3551)
* AC: SDK can be imported into test

* AC: rename program folder, update account type discriminant size to u8

* AC: tests now pass

AC: remove log statements

AC: update README

AC: restructure class as a type

* AC: remove 'roll' and 'gummy' references

* AC: remove anchor TS dependency from SDK

AC: fix unused, missing imports

AC: remove unused anchor imports

AC: remove test utils

* AC: move anchor tests inside js sdk

AC: remove unnecessary bn dependency, use Anchor just for testing

* AC: remove unused exports, update Solita path

* AC: update tsconfigs

* AC: address nits

* AC: add ser/de beets for CMT library types

* AC: update test formatting

* AC: clean up confusing tests

* AC: move convenience functions to instructions

* AC: move test deps out of build

* AC: add comment explaining header padding

Co-authored-by: Noah Gundotra <[email protected]>
Co-authored-by: jarry-xiao <[email protected]>
Co-authored-by: Sam Orend <[email protected]>
Co-authored-by: Jarry Xiao <[email protected]>
Co-authored-by: austbot <[email protected]>
2022-09-08 17:04:54 +05:30