Skip to main content

streak_api/
lib.rs

1//! Streak API — shared crate for deploy id, instructions, accounts, events, and SDK.
2//!
3//! The on-chain program is a thin custody + price-chain layer. All game logic (bets,
4//! balances, pools, leaderboards) lives in the off-chain server and database.
5
6pub mod consts;
7pub mod error;
8pub mod event;
9pub mod instruction;
10pub mod sdk;
11pub mod state;
12
13pub mod prelude {
14    pub use crate::consts::*;
15    pub use crate::error::*;
16    pub use crate::event::*;
17    pub use crate::instruction::*;
18    pub use crate::sdk::*;
19    pub use crate::state::*;
20}
21
22use steel::*;
23
24declare_id!("DmmcW2HaSDHkH6iTfM3Cko9guyppmMAqJm6L61BbDAbZ");