Commit Graph

1 Commits

Author SHA1 Message Date
Kirill Fomichev dcf91e9ae8
Add token/rust: spl-token-api (#2102)
* Init spl-token-api

* rename token/rust

* add mint_to, transfer

* add BoxFuture

* fmt + Send + Sync

* TokenBanksClient::new_from_client

* add trait SendTransaction

* deps

* add enum for TokenBanksClient

* update to 1.7.11

* fix Token::mint_to

* fix transfer and add get_account_info

* unstrict deps

* add get_or_create_associated_account_info

* add set_authority and split tests

* set_authority for mint/account

* re-export spl_token

* add Token::new

* update solana crates

* remove comments

* change generic names

* change process_ixs method

* add Token::get_mint_info

* fix same mint tx

* add Token::with_payer

* fmt

* TokenClient::send_transaction accept ref

* rename Token* to Program*
2021-12-21 12:16:20 -07:00