mint pubkey

This commit is contained in:
Hardhat Chad
2024-02-09 21:48:22 +00:00
parent d3d4a9c235
commit 1e9a11d1b3
3 changed files with 5 additions and 6 deletions

1
Cargo.lock generated
View File

@@ -2519,6 +2519,7 @@ dependencies = [
"anchor-lang",
"anchor-spl",
"bincode",
"solana-program",
"solana-program-test",
"static_assertions",
]

View File

@@ -25,8 +25,8 @@ default = []
anchor-lang = "0.29.0"
anchor-spl = { version = "0.29.0", features = ["token"] }
bincode = "1.3.3"
solana-program = "^1.16"
static_assertions = "1.1.0"
[dev-dependencies]
solana-program-test = "1.17"
# rand = "0.8.5"
solana-program-test = "^1.16"

View File

@@ -4,6 +4,7 @@ use anchor_lang::{
prelude::*,
solana_program::{
keccak::{hashv, Hash},
pubkey,
slot_hashes::SlotHash,
system_program, sysvar,
},
@@ -31,10 +32,7 @@ pub const INITIAL_DIFFICULTY: Hash = Hash::new_from_array([
]);
/// The mint address of the ORE token.
pub const TOKEN_MINT_ADDRESS: Pubkey = Pubkey::new_from_array([
31, 94, 128, 251, 8, 214, 16, 114, 78, 71, 1, 151, 221, 103, 239, 180, 136, 178, 202, 102, 159,
185, 95, 250, 9, 18, 207, 100, 215, 105, 39, 64,
]);
pub const TOKEN_MINT_ADDRESS: Pubkey = pubkey!("37TDfMS8NHpyhyCXBrY9m7rRrtj1f7TrFzD1iXqmTeUX");
/// The decimal precision of the ORE token.
/// Using SI prefixes, the smallest indivisible unit of ORE is a nanoORE.