Commit Graph

15 Commits

Author SHA1 Message Date
Ryo Onodera 68b8da2996
Support associated token for JS (Also, make the program testable) (#1364)
* Implement some js helpers for associated tokens

* Create integration test and fix hard-coding in spl-associated-token

* Run lint:fix and pretty:fix

* Run flow as well...

* More robust test fixture setup

* Revert api breaking part

* Fix tests...

* Populate ts/flow type definitions

* Improve test a bit

* More consistent arg order; docs; more tests

* lints and pretty

* type definition updates and test tweaks

* More simplification...

* More cleanup

* Address review comments and small cleanings

* Bump the version
2021-03-03 20:56:22 +09:00
Justin Starry b9aa9d0be8
Finish renaming x2 instructions to xChecked (#981) 2020-12-29 17:09:26 +08:00
Tyera Eulberg 7141298b2f
Flesh out @solana/spl-token with token2 instructions (#410)
* Fix token-js docs

* Add Freeze/Thaw instructions

* Add v2 instructions

* Add new instructions to js test

* Bump @solana/spl-token to v0.0.8

* Fix didThrow and remove invalidApprove
2020-09-10 17:17:45 +00:00
Justin Starry 3691b14a01 Update token js bindings 2020-08-28 16:02:32 -07:00
Michael Vines a22908bbd9 Relocate js 2020-08-08 15:25:47 -07:00
Michael Vines 26ab9bb26a Reorganize crates based on program 2020-08-08 15:25:47 -07:00
Tyera Eulberg 4683535885
Fix CloseAccount js test (#128) 2020-07-15 21:47:31 +00:00
Jack May ab5ea5c1f9
Add support for native token (#112) 2020-07-09 17:11:00 -07:00
Jack May a831eddb8d
Use variant fields (#90) 2020-07-07 13:55:56 -07:00
Jack May 767741c235
Fix automation (#81) 2020-07-07 02:09:19 -07:00
Jack May e8704a1e30
Add multisig support 3 (#79) 2020-07-06 16:36:27 -07:00
Jack May 5ee2d1f993
Single delegate support (#77) 2020-07-06 07:49:20 -07:00
Jack May fc7a808461
Token type renaming (#70) 2020-07-01 01:40:36 -07:00
anatoly yakovenko 97094e61e5
Token swap (#50)
* initial

* wip

* withdraw

* wip

* wip

* updates

* fix imports

* compiles

* check delegates

* wip

* wip

* wip

* fixup

* instruction serializer

* unpack func

* done!

* update

* wip docs

* docs

* boilerplate

* docs

* fix docs

* Add token-swap test

* Add token-swap js bindings

Co-authored-by: Jack May <[email protected]>
2020-06-30 15:37:35 -07:00
Tyera Eulberg dfbfc9367b
Reorganize repository in preparation for more programs (#20)
* Initial reorg

* Update READMEs

* Update CI

* Add CI build stages
2020-06-05 12:34:17 -06:00