Commit Graph

29 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 bdbfe25980 chore: fix defs check 2021-02-13 17:03:42 +08:00
Justin Starry b9aa9d0be8
Finish renaming x2 instructions to xChecked (#981) 2020-12-29 17:09:26 +08:00
Justin Starry 9e76189a42
Clean up JS test getConnection function (#577) 2020-10-08 09:27:06 +00:00
Tyera Eulberg 1bcc5c01f8
Reduce airdrop to fit in current testnet/devnet limits (#541) 2020-09-25 18:44:16 -06: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
Jon Cinque f5e0d793a9
token-swap: Swap instruction fix and update libs for CI (#408)
* token-swap: Fix swap instruction

* Update SDK libs and fix outstanding issues

* Run lint in token/js

* Disable CI token-swap js tests

* Update code for web3.js 0.75.0

* Update output -> destination verbiage for clarity / consistency
2020-09-10 20:16:50 +02: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
Trent Nelson e00a6f1add Bump Token version to 2.0.4 2020-09-04 01:18:44 -06:00
Justin Starry 8e1bff0a72
Fix token-js CI tests (#371) 2020-08-30 14:31:58 +08:00
Justin Starry 3691b14a01 Update token js bindings 2020-08-28 16:02:32 -07:00
Jack May 65aeff5b0b
Use deprecated bpf loader (#307)
* Use deprecated bpf loader

* bump web3.js to pick up fixed flow defs
2020-08-24 14:19:46 -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
Michael Vines a8c995bc79 Fix up target/ location 2020-08-08 08:05:00 -07:00
Justin Starry 17d129a32a
Setup rollup, fix prettier, and clean dependencies (#166)
* Setup rollup, fix prettier, and clean dependencies

* Setup rollup specific babel config

* Fix token-swap config
2020-07-31 01:01:57 +08:00
Jack May a07935371f
Prep token/js for publishing (#165) 2020-07-30 02:07:55 -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 56dd582c6f
Remove supply from Token (#82) 2020-07-07 14:34:23 -07:00
Jack May ad823a1340
Add revoke instruction (#85) 2020-07-07 11:23:23 -07:00
Jack May 666b0b75e3
Remove initialize signers (#84)
* Remove initialize signers

* update js to do initialize atomically
2020-07-07 01:55:49 -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
Jack May a1259e2deb
Prep token for impending token-swap merge (#69) 2020-06-30 16:37:55 -07:00
Jack May af8b4b17e6
Cleanup .js naming (#57) 2020-06-24 13:58:56 -07:00
Jack May 437d2d1c8b
Bump to Solana v1.2.3 and Solana-web3.js v0.60.0 (#46) 2020-06-18 11:02:42 -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