Jon Cinque
d50f2745f8
token-cli: Support transfer fee extension ( #3792 )
...
* token-cli: Add transfer fee to create-token
* Add `expected-fee` arg to transfer
* Add withdraw-withheld-tokens implementation
* Add optional `Harvest` call while closing account
* Add `set-transfer-fee` command
* Fix rebase issues
2022-11-11 19:16:51 +01:00
Jon Cinque
374f5283ec
token-cli: Specify that `default-account-state` takes a value ( #3800 )
2022-11-04 17:06:40 +00:00
Jon Cinque
25817cbf08
token-cli: Support DefaultAccountState extension ( #3785 )
...
* token-cli: Support DefaultAccountState extension
* Switch to `default-account-state` flag
* Change error to assert
* Rebase fix
2022-11-03 00:50:51 +00:00
Jon Cinque
8e98905a8c
token-cli: Add non-transferable mint creation ( #3795 )
...
* token-cli: Add non-transferable mint creation
* Add alias
2022-11-03 00:35:30 +01:00
hanako mumei
0bc2a02f00
token-cli: support cpi guard enable/disable
2022-10-29 00:07:33 -07:00
hanako mumei
fcb44af0f9
token-cli: more better errors in command_transfer
...
* check if the user needs to provide a memo
* dont let the user create ata accounts belonging to other token-owned accounts
* also, define valid program ids in one place and use for all tests
2022-10-27 11:18:54 -07:00
samkim-crypto
0c8fb24d47
upgrade solana-program to 1.14.6 ( #3765 )
2022-10-27 07:59:25 +09:00
J
e69c7706fb
`spl-token` cli - use default config file ( #3738 )
...
* add missing load from CONFIG_FILE default path
2022-10-25 14:41:37 -07:00
bji
a7f6f8811e
token-cli: Only require default signer for commands which use it ( #3293 )
2022-10-14 17:50:33 +02:00
hanako mumei
88b147506d
bump token-cli to 2.1.1 and token-client to 0.2.1
2022-10-12 10:48:23 -07:00
hanako mumei
3a87c8fc0a
update solana to 1.14.4
2022-10-12 10:48:23 -07:00
hanako mumei
5f189d1fc0
bump token-client to 0.2.0 and token-cli to 2.1.0
2022-10-10 17:36:34 -07:00
hanako mumei
c5a6d0ae31
token-cli: dont push fee_payer to bulk_signers
2022-10-08 21:41:21 -07:00
hanako mumei
a5a565b56c
token-client: move decimals from Token methods to struct
2022-10-07 12:24:36 -07:00
hanako mumei
4842217611
token-cli: final accounts command cleanups
2022-10-07 10:18:55 -07:00
hanako mumei
7583907f10
token-cli: display delegate and close for accounts
2022-10-07 10:18:55 -07:00
hanako mumei
61bee36db6
token-cli: fliter accounts display by delegate or close
...
also add ability to print only account addresses
2022-10-07 10:18:55 -07:00
hanako mumei
4b4bbb3959
token-cli: improve accounts header display
2022-10-07 10:18:55 -07:00
hanako mumei
b0903340b9
token-cli: support multiple programs for `spl-token accounts`
...
also remove decimals from CliTokenAccount, which turns out to be extraneous
2022-10-07 10:18:55 -07:00
hanako mumei
200b2acab4
token-cli: final fixes for client conversion
2022-10-06 17:33:34 -07:00
hanako mumei
2c6fbf7c67
token-cli: make gc transfer tokens from uncloseable
...
also change client transfer to use idempotent associated account instruction
2022-10-06 17:33:34 -07:00
hanako mumei
f8d82e5dbd
token-cli: safer behavior for transfer decimals
2022-10-06 17:33:34 -07:00
hanako mumei
7b86fc9038
token-cli: remove handle_tx
2022-10-06 17:33:34 -07:00
hanako mumei
7847f35f1e
token-cli: convert transfer to client
2022-10-06 17:33:34 -07:00
hanako mumei
e6739b5bae
token-cli: convert gc to client
...
add new client function empty_and_close_auxiliary_account which does what it says
also remove sign-only mode from command_close to permit client close behave more sensibly
2022-10-06 17:33:34 -07:00
hanako mumei
186303a9d2
token-cli: convert create_multisig to client
2022-10-06 17:33:34 -07:00
hanako mumei
37168db058
token-cli: convert required memos and interest rate to client
2022-10-06 17:33:34 -07:00
Jon Cinque
96ce922727
token-cli: Add directions for building and running tests ( #3673 )
2022-10-06 19:37:22 +02:00
hanako mumei
065e62922a
token-cli: load config if exists without -C
2022-09-29 14:34:05 -07:00
hanako mumei
e988b163bb
token-cli: constrain program id input
2022-09-21 10:37:53 -07:00
hanako mumei
2ae2a6bdf3
token-cli: test --immutable, final cleanups
2022-09-21 10:37:53 -07:00
hanako mumei
304e1bd0f7
token-cli: implement --immutable for wrap
2022-09-21 10:37:53 -07:00
hanako mumei
5756e7f9b7
token-cli: convert unwrap and sync_native to client
...
also allow client to control its own nativeness (nativity?)
2022-09-21 10:37:53 -07:00
hanako mumei
953e06b3a2
token-client: support wrap
...
also convert cli to use client for wrap
2022-09-21 10:37:53 -07:00
hanako mumei
6b05f02be7
token-cli: implement --immutable for create-account
2022-09-21 10:37:53 -07:00
hanako mumei
697a9e3d5e
token-cli: convert create-account to use client
2022-09-21 10:37:53 -07:00
hanako mumei
e5d4b824b7
token-cli: remove unnecessary fetch for memo transfers
2022-09-16 13:24:16 -07:00
Andrii Tretyakov
feeda6a61e
token-cli: Memo transfer extension ( #3525 )
...
token-cli: Add support for required transfer memos
2022-09-16 11:17:42 -07:00
Jon Cinque
f97a3dc7cf
clippy: Deny integer arithmetic, add allows where needed ( #3606 )
2022-09-15 13:16:53 +02:00
hanako mumei
2acc42fd96
token-cli: display all extensions except confidential
2022-09-14 11:36:40 -07:00
hanako mumei
f3f9995484
token-cli: impl display for interest and transfer fee
2022-09-14 11:36:40 -07:00
hanako mumei
bdd0d4938a
token-cli: impl display for half of extensions
2022-09-14 11:36:40 -07:00
hanako mumei
b90903c990
token-cli: impl two extensions for display
...
also indent all the displys cutely
2022-09-14 11:36:40 -07:00
hanako mumei
6d61b8e3e4
token-cli: impl `spl-token display` for mint
...
also show decimals for accounts, because we can
2022-09-14 11:36:40 -07:00
hanako mumei
00b8e7a8b1
token-cli: modernize account-info, impl display
2022-09-14 11:36:40 -07:00
hanako mumei
f8d1503acf
token-cli: convert multisig display to UiMultisig
2022-09-14 11:36:40 -07:00
hanako mumei
bdc3087533
token-cli: modernize multisig display
2022-09-14 11:36:40 -07:00
hanako mumei
065a04788d
token-cli: remove unnecessary program_id logic
2022-09-09 09:56:19 -07:00
hanako mumei
4dfd23e0b6
token-client: memo now explicitly declares signers
2022-09-07 18:17:54 -07:00
hanako mumei
8e6caf45ac
token-cli: new config function get_account_checked
...
this replaces all instances of rpc_client.get_account -> check_owner
also we convert from rpc_client to program_client to further enforce offlineness
2022-09-07 14:36:39 -07:00