Commit Graph

4 Commits

Author SHA1 Message Date
Noah Gundotra 85160e0d51
Account Compression: add docs link for account compression (#3783)
* ac: add docs link for account compression

* ac: bump ts pkg version to 0.1.4
2022-10-29 10:27:23 -04:00
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 6e81794844
Account Compression: JS SDK release 0.1.1 (#3680)
* ac: beet* as deps, not peerDeps

* ac: expose depth size pairs, add canopyDepth to CMTAccount getters

* ac: add tests for CMT Account

* ac: update README.md

* ac: update lockfile
2022-10-13 11:52:16 -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 <noahgundotra@noahs-mbp.mynetworksettings.com>
Co-authored-by: jarry-xiao <jarry.xiao@gmail.com>
Co-authored-by: Sam Orend <sam.orend22@gmail.com>
Co-authored-by: Jarry Xiao <61092285+jarry-xiao@users.noreply.github.com>
Co-authored-by: austbot <me@austbot.com>
2022-09-08 17:04:54 +05:30