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
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
Ryo Onodera
0500f5fb02
Add spl-token transfer --no-wait ( #1525 )
2021-03-30 16:25:21 +09: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
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
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
Tyera Eulberg
123f0daffe
Allow pubkey owner for accounts subcommand ( #1439 )
2021-03-11 15:40:47 -07:00
Tyera Eulberg
7a2d17b57f
Enable short arg, monikers ( #1433 )
2021-03-11 06:44:00 +00:00
Tyera Eulberg
f0b70989c0
Use forward-compatible apis ( #1353 )
2021-03-02 09:56:34 -07:00
Michael Vines
a782f3e52f
Add --allow-empty-recipient to `transfer` command
2021-02-22 11:50:34 -08:00
Trent Nelson
188c03e9a1
chore: bump solana crates to 1.5.6
2021-02-11 16:30:03 -07:00
Michael Vines
7e3115fb25
Avoid RpcClient::get_account() in some cases
2020-11-19 10:28:18 -08:00
Michael Vines
222ec663df
Use RpcClient::new_with_commitment()
2020-11-18 04:37:30 +00:00
Michael Vines
0bafe9891d
spl-token transfer now supports ALL keyword
2020-11-18 02:06:46 +00:00
Michael Vines
43d808c5fd
Clean up `spl-token accounts <MINT>` output
2020-11-18 02:05:52 +00:00
Tyera Eulberg
6ee1f09311
Use config commitment for balance checks ( #842 )
2020-11-14 01:24:13 -07:00
Michael Vines
645a9874d3
Output tweaks
2020-11-05 13:42:48 -08:00
Michael Vines
8ea9b28edf
Add associated token account support
2020-11-04 09:13:21 -08:00
Tyera Eulberg
c312a0576a
Clippy suggestions ( #765 )
2020-10-31 19:10:33 -06:00
Trent Nelson
de23dbc8a0
token-cli: Don't panic on signing errors
2020-10-30 15:57:20 -06:00
Trent Nelson
d02975bb0b
token-cli: Plumb multisig support for supporting subcommands
2020-10-30 15:57:20 -06:00
Trent Nelson
23e2b0bed3
token-cli: Add `multisig-info` subcommand
2020-10-30 15:57:20 -06:00
Trent Nelson
f40236928d
token-cli: Add `create-multisig` subcommand
2020-10-30 15:57:20 -06:00
Michael Vines
9c7c12c361
Correct help text
2020-10-28 17:43:57 -07:00
Trent Nelson
b775896c8c
token-cli: Support offline signing
2020-10-27 01:24:03 +00:00
Trent Nelson
3deb46f35a
token-cli: Support durable nonces
2020-10-27 01:24:03 +00:00
Trent Nelson
5193078568
token-cli: Use subcommand arg matches for config
2020-10-27 01:24:03 +00:00
Trent Nelson
dcc28d311d
token-cli: Send transactions with config
2020-10-27 01:24:03 +00:00
Trent Nelson
6096e7b554
token-cli: Use clap-utils fee payer arg
2020-10-27 01:24:03 +00:00
Trent Nelson
748ff6c7d8
spl-token-cli: Consolidate TX construction/signing
2020-09-30 20:17:53 +00:00
Trent Nelson
e0fb75d134
spl-token-cli: Use signer-based arg validators/parsers
2020-09-30 20:17:53 +00:00
Trent Nelson
c4cf9ffef4
token: Bump solana crates to 1.3.14
2020-09-30 20:17:53 +00:00
Tyera Eulberg
be9b88d546
Add close subcommand ( #542 )
2020-09-26 00:48:08 +00:00
Tyera Eulberg
94861a39e8
Add approve, revoke subcommands ( #540 )
...
* Add approve, revoke subcommands
* Use get_token_account api to reduce rpc calls
2020-09-25 21:51:47 +00:00
Tyera Eulberg
72ec14a190
Flesh out SetAuthority capabilities ( #531 )
2020-09-25 12:27:45 -06:00
Trent Nelson
ec9961cd7f
spl-token-cli: Add 'account-info' subcommand
2020-09-24 20:38:28 -06:00
Tyera Eulberg
7903e62a08
Owner doesn't need to sign init transactions ( #530 )
2020-09-24 21:18:36 +00:00
Tyera Eulberg
5bf19b62f7
Clean up freeze/thaw querying for mint ( #529 )
2020-09-24 21:06:34 +00:00
Tyera Eulberg
9a7d5949c6
Bump spl-token-cli, and solana versions ( #523 )
...
* Bump spl-token-cli, incl solana versions
* Pin exact solana versions
2020-09-24 08:35:58 +00:00
Tyera Eulberg
4c93e07ec9
Add freeze and thaw functionality to spl-token cli ( #511 )
...
* Add arg to enable token mint to freeze
* Add freeze/thaw subcommands
* Add frozen marker to spl-token accounts
* Add todos to simplify args
2020-09-22 10:54:51 -06:00
Jack May
e78e26597e
Rename x2 instructions to xChecked
2020-09-22 02:51:27 -07:00
Tyera Eulberg
bc91372f6f
Enable spl-token-cli args ( #510 )
2020-09-22 03:11:24 +00:00
Jack May
759fe1487e
Switch to solana_sdk Pack and COption
2020-09-21 17:08:37 -07:00
Michael Vines
7acae7af7d
Use SingleGossip commitment
2020-09-18 13:49:28 -07:00
Michael Vines
cf50a55586
create-token/create-account now accept an optional keypair
2020-09-14 19:11:05 +00:00
Jack May
72c59056e5
Fix spelling ( #430 )
2020-09-11 09:32:49 -07:00
Trent Nelson
5f425e5a3e
Token CLI: Use Token2 instructions ( #375 )
2020-09-01 14:29:12 -06:00
Trent Nelson
b011698251
Token CLI: Support arbitrary signers
...
eg. Ledger
2020-09-01 17:47:55 +00:00
Michael Vines
eb1f41c4b6
Adapt to LEN
2020-08-29 14:37:10 -07:00
Tyera Eulberg
b4a3674437
s/AccountHolder/AccountOwner ( #356 )
2020-08-28 12:11:57 -06:00
Jack May
2a5acff2d8
Safer pack/unpack ( #349 )
...
* Safer pack/unpack
* fix cli
* clippy
* fix swap
* nit
* clippy
Co-authored-by: Michael Vines <mvines@gmail.com>
2020-08-27 21:19:15 -07:00
Tyera Eulberg
49e6e4a589
Reinstate Mint supply ( #342 )
...
* Reinstate Mint supply, and adjust with Minto & Burn
* C headers
* Patch token-cli
* Patch token-swap
2020-08-27 13:06:23 -06:00
Michael Vines
68db5f77a0
Port cli to token2
2020-08-26 23:10:18 -07:00
Michael Vines
96f9b0cdc6
Adapt spl-token cli to Solana 1.3.2
2020-08-14 01:22:11 +00:00
Michael Vines
26ab9bb26a
Reorganize crates based on program
2020-08-08 15:25:47 -07:00