Boot token_program from the SDK

This commit is contained in:
Greg Fitzgerald
2019-03-04 20:28:43 -07:00
parent e4be57c3b6
commit 5e9f802d7d
7 changed files with 36 additions and 8 deletions

View File

@ -15,7 +15,6 @@ pub mod system_instruction;
pub mod system_program;
pub mod system_transaction;
pub mod timing;
pub mod token_program;
pub mod transaction;
pub mod transaction_builder;

View File

@ -1,11 +0,0 @@
//! An ERC20-like Token
use crate::pubkey::Pubkey;
const TOKEN_PROGRAM_ID: [u8; 32] = [
131, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0,
];
pub fn id() -> Pubkey {
Pubkey::new(&TOKEN_PROGRAM_ID)
}