Commit Graph

611 Commits

Author SHA1 Message Date
Trent Nelson 84f2f33f49 spl-token-cli: Use CLI config wallet for nonce authority fallback 2021-04-01 01:41:24 -06:00
Trent Nelson 25a6a6e923 spl-token-cli: Sort multisigners 2021-04-01 01:41:13 -06:00
Trent Nelson 8b989d562b spl-token-cli: Simplify owner resolution 2021-03-31 23:52:16 -06:00
Ryo Onodera b5522ef510
Add basic release docs (#1542)
* Add basic release docs

* Update docs

* Further enrish the steps after interviews

* fix shifted number...

* more tweaks

* Update README.md

* Update README.md
2021-03-31 17:18:20 +09:00
Ryo Onodera 0cfc42eeed
Bump @solana/spl-token to v0.1.3 (#1543) 2021-03-31 15:42:15 +09:00
Tyera Eulberg 936ecef809
Bump spl-token-cli to 2.0.10 (#1540) 2021-03-30 17:22:17 -06:00
Tyera Eulberg f2de73da8e
spl-token-cli: support ATA in close, balance, and account-info (#1537)
* Use ATA by default in close command

* Use ATA by default in balance/account-info queries

* Add Aux tag and gc messaging to spl-token account-info

* Recommend 'token' only if no args provided
2021-03-30 22:31:54 +00:00
Michael Vines 448be67cfa Update to Solana 1.6.2 2021-03-30 09:38:04 -07:00
Ryo Onodera 96215957d8
Remove unconditional hidden commitment override for sanity (#1528) 2021-03-30 22:37:56 +09:00
Ryo Onodera 0500f5fb02
Add spl-token transfer --no-wait (#1525) 2021-03-30 16:25:21 +09:00
Justin Starry 7550748bd2
Bump @solana/spl-token to v0.1.2 (#1520) 2021-03-30 10:40:00 +08:00
Justin Starry 5473494f24
spl-token: Bump web3.js to v1.2.2 (#1516) 2021-03-30 00:11:12 +08:00
Tyera Eulberg 75e122061e
Accounts: check mint if provided, use helper (#1503) 2021-03-24 00:06:39 +00:00
Tyera Eulberg a3e8af2068
spl-token-cli: use ATA by default in wrap/unwrap commands (#1492)
* Wrap to ATA by default

* Unwrap ATA by default

* Review comments
2021-03-23 15:48:27 -06:00
Tyera Eulberg 80819fa05a
Transfer from ATA by default (#1487)
* Transfer from ATA by default

* Update token/cli/src/main.rs
2021-03-23 04:12:29 +00:00
Tyera Eulberg 603a94327f
Add spl-token address command (#1484) 2021-03-22 23:58:09 +00:00
Tyera Eulberg 04fc247b2e
Reorder App subcommands (#1485) 2021-03-22 22:47:25 +00:00
Michael Vines bb05462d59 Rename --allow-empty-recipient to --allow-unfunded-recipient 2021-03-22 13:45:18 -07:00
Michael Vines 662f38f939 Bump Solana version to 1.6.1 2021-03-18 04:07:16 +00:00
Michael Vines 58807c5f8b Back out clippy::manual_map for now 2021-03-16 22:22:59 -07:00
Michael Vines af5fdb3146 Bump Rust version to 1.50.0 2021-03-16 22:22:59 -07:00
Michael Vines 686444088b Bump Solana version to 1.5.15 2021-03-16 18:33:37 -07:00
Tyera Eulberg 82a385b7c3
Bump spl-token-cli for new release (#1463) 2021-03-16 18:24:04 -06:00
Justin Starry 4107c17a3b
Bump token-cli to v2.0.8 (#1458) 2021-03-16 17:44:36 -06:00
Michael Vines 723aacadb7 Pin Solana versions used by spl-token-cli 2021-03-16 15:07:56 -07:00
Tyera Eulberg d65d2eac41
Token cli: Improve authorize command (#1445)
* Return clear error message if auth type is incompatible with account

* Report real current authority

* Prevent reauth of owner's ATA

* Fix typo, messaging improvements

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2021-03-16 13:59:21 -06:00
Justin Starry 5aa60dd892
token-cli: Don't sign with owner when creating an associated token account (#1449) 2021-03-16 15:59:38 +08:00
Tyera Eulberg 5aa0341478
Token cli: spl-token accounts improvements (#1440)
* Swap token/account to prep for display changes

* Refactor accounts parsing for deterministic order and to batch by mint

* Add Aux tags and gc alert

* Hide account addresses for non-verbose returns

* Review nits

* Set balance display len dynamically

* Bump solana version to reduce Account parse failures

* Fix aux width
2021-03-12 19:34:14 -07:00
dependabot[bot] 2121951f92
build(deps-dev): bump mocha from 8.3.1 to 8.3.2 in /token/js (#1443)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.1 to 8.3.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.3.1...v8.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 09:36:28 +00:00
Tyera Eulberg 123f0daffe
Allow pubkey owner for accounts subcommand (#1439) 2021-03-11 15:40:47 -07:00
dependabot[bot] 3b97752e7d
build(deps-dev): bump rollup from 2.41.0 to 2.41.1 in /token/js (#1436)
Bumps [rollup](https://github.com/rollup/rollup) from 2.41.0 to 2.41.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.41.0...v2.41.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-11 09:35:27 +00:00
Tyera Eulberg 7a2d17b57f
Enable short arg, monikers (#1433) 2021-03-11 06:44:00 +00:00
dependabot[bot] 694c8c27c6
build(deps-dev): bump typescript from 4.2.2 to 4.2.3 in /token/js (#1417)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.2...v4.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 17:58:20 +00:00
dependabot[bot] 39f3f48446
build(deps-dev): bump @typescript-eslint/parser in /token/js (#1416)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.16.1 to 4.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.17.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 17:20:13 +00:00
dependabot[bot] e262412a01
build(deps-dev): bump @babel/plugin-transform-runtime in /token/js (#1415)
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.13.9 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-plugin-transform-runtime)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 16:41:38 +00:00
dependabot[bot] b24bf6f670
build(deps-dev): bump flow-remove-types in /token/js (#1414)
Bumps [flow-remove-types](https://github.com/facebook/flow) from 2.145.0 to 2.146.0.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 16:04:52 +00:00
dependabot[bot] bf261ff025
build(deps-dev): bump @babel/cli from 7.13.0 to 7.13.10 in /token/js (#1413)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.13.0 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 15:26:13 +00:00
dependabot[bot] c06fe8862c
build(deps-dev): bump mocha from 8.3.0 to 8.3.1 in /token/js (#1411)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.0 to 8.3.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.3.0...v8.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 14:45:42 +00:00
dependabot[bot] df6791b655
build(deps-dev): bump @babel/preset-env in /token/js (#1409)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.9 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 14:13:08 +00:00
dependabot[bot] f380f0a41a
build(deps-dev): bump @babel/register from 7.13.0 to 7.13.8 in /token/js (#1348)
Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register) from 7.13.0 to 7.13.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.8/packages/babel-register)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 13:35:11 +00:00
dependabot[bot] 1bd6dead50
build(deps-dev): bump @babel/node from 7.13.0 to 7.13.10 in /token/js (#1405)
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.13.0 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 12:57:02 +00:00
dependabot[bot] 68e9441c5e
build(deps-dev): bump eslint-plugin-mocha in /token/js (#1404)
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases)
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/8.0.0...8.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 12:23:24 +00:00
dependabot[bot] 43b65c93c9
build(deps): bump @babel/runtime from 7.13.9 to 7.13.10 in /token/js (#1401)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.13.9 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-runtime)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 11:47:46 +00:00
dependabot[bot] 7475b1b94a
build(deps-dev): bump @typescript-eslint/eslint-plugin in /token/js (#1397)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.16.1 to 4.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.17.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 11:12:42 +00:00
dependabot[bot] 7d986d5b90
build(deps-dev): bump rollup from 2.40.0 to 2.41.0 in /token/js (#1395)
Bumps [rollup](https://github.com/rollup/rollup) from 2.40.0 to 2.41.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.40.0...v2.41.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 10:14:32 +00:00
dependabot[bot] 13ec9f6920
build(deps-dev): bump @babel/core from 7.13.1 to 7.13.10 in /token/js (#1393)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.1 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 09:40:44 +00:00
dependabot[bot] d83d3f2774
build(deps): bump @solana/web3.js from 0.93.0 to 0.94.2 in /token/js (#1384)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.93.0 to 0.94.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.93.0...v0.94.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 09:56:29 +00:00
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
dependabot[bot] 7d2556905c
build(deps-dev): bump chai from 4.3.0 to 4.3.1 in /token/js (#1369)
Bumps [chai](https://github.com/chaijs/chai) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.3.0...4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 09:38:10 +00:00
Tyera Eulberg 4f50c512f9
Bump token-cli to v2.0.7 (#1366) 2021-03-02 12:31:58 -07:00