ore-mint-api 0.1.3

Solana native store of value.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod authority;

pub use authority::*;

use crate::consts::*;

use steel::*;

#[repr(u8)]
#[derive(Clone, Copy, Debug, Eq, PartialEq, IntoPrimitive, TryFromPrimitive)]
pub enum OreAccount {
    Authority = 100,
}

pub fn authority_pda() -> (Pubkey, u8) {
    Pubkey::find_program_address(&[AUTHORITY], &crate::ID)
}