solana-program-library/token/ts/examples
Jordan Sexton 4179acbf8b
Rewrite spl-token-js in TypeScript (#2539)
* first draft

* restructuring

* fix imports

* move errors to constants

* fmt

* fix ata

* finish core implementation

* don't export internal utils

* rename internal util files

* token account is owned by token program

* docs

* docs

* port example

* add basic tests from current implementation

* enable es6 features in lint config

* don't build tests into lib dir

* doc tweaks

* add preinstall script

* add types, don't postinstall

* allow keypairs to create accounts, and default to using ATAs

* add explicit enum values

* remove unused dependency

* expose allowOwnerOffCurve option to getOrCreateAssociatedTokenAccount action

* make multisigners optional

* WIP, undo

* update buffer-layout and buffer-layout-utils from npm

* update dev dependencies
2021-12-14 16:47:57 -06:00
..
create_mint_and_transfer_tokens.ts Rewrite spl-token-js in TypeScript (#2539) 2021-12-14 16:47:57 -06:00