-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set fungibles to be Fungible token standard (#311)
- Loading branch information
1 parent
1e63e2c
commit bd0dae9
Showing
2 changed files
with
63 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,15 @@ | ||
pub mod methods; | ||
pub use methods::*; | ||
|
||
use crate::utils::send_and_confirm_transaction; | ||
use anyhow::Result; | ||
use metaboss_lib::derive::derive_metadata_pda; | ||
use retry::{delay::Exponential, retry}; | ||
use serde::Deserialize; | ||
use solana_client::rpc_client::RpcClient; | ||
use solana_program::pubkey::Pubkey; | ||
use solana_sdk::{ | ||
signature::Keypair, signer::Signer, system_instruction::create_account, | ||
transaction::Transaction, | ||
}; | ||
use spl_associated_token_account::{ | ||
get_associated_token_address, instruction::create_associated_token_account, | ||
}; | ||
use spl_token::{ | ||
instruction::{initialize_mint, mint_to}, | ||
ID as TOKEN_PROGRAM_ID, | ||
}; | ||
use solana_sdk::{signature::Keypair, signer::Signer, transaction::Transaction}; | ||
use std::fs::File; | ||
use std::str::FromStr; | ||
|
||
use crate::constants::*; | ||
use crate::parse::{parse_keypair, parse_solana_config}; | ||
use crate::utils::send_and_confirm_transaction; |