Commit Graph

12 Commits

Author SHA1 Message Date
Paul cb9a94142a
add freeze and thaw account methods to module declaration in spl token library (#730) 2020-10-27 21:15:52 +08:00
Justin Starry b8afb23642
Export token program id in JS client (#694) 2020-10-23 08:56:15 +08:00
Paul 85e4e09dc8
Add token properties to spl-token library module declaration files so downstream users can access them without having to bypass type checking (#672) 2020-10-20 17:46:25 +08:00
Daniel Kelleher 2fb7df6922
Standardise datatypes of amount parameters to accept u64s across the board in the token program JS client. (#594) 2020-10-09 19:36:38 +02:00
Daniel Kelleher af98c77839
Expose Layouts and instruction creation functions to allow more flexible use of the Token and TokenSwap clients. (#517) 2020-09-23 14:22:56 +02:00
Daniel Kelleher ac3004b3c7
Wrapped SOL support (#416)
* Add support for wrapped native token account generation in the Token JS client.

* Some small changes to the token test script as per review comments
2020-09-10 13:16:24 -06: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
Justin Starry ef75a1d523
Return signature from sendAndConfirmTransaction (#203) 2020-08-04 01:22:54 +08:00
Jack May a07935371f
Prep token/js for publishing (#165) 2020-07-30 02:07:55 -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