Skip to content

Instantly share code, notes, and snippets.

@CriesofCarrots
CriesofCarrots / main.rs
Created May 4, 2022 22:31
Using spl-token-client
use {
solana_cli_config::{Config, CONFIG_FILE},
solana_client::nonblocking::rpc_client::RpcClient,
solana_sdk::{
commitment_config::CommitmentConfig,
pubkey::Pubkey,
signature::Signer,
signer::keypair::{read_keypair_file, Keypair},
},
spl_token_2022::{extension::ExtensionType, state::AccountState},

Keybase proof

I hereby claim:

  • I am criesofcarrots on github.
  • I am tyera (https://keybase.io/tyera) on keybase.
  • I have a public key ASA2fiHMei-nhOQ7OBdwBEUFAyC3GMBzqE51cQpO0OZumAo

To claim this, I am signing this object: