Skip to content

Commit

Permalink
Adds prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwu committed Feb 24, 2022
1 parent 19d685e commit f0d4cef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions snarkos/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,12 @@ pub use snarkos_storage as storage;
pub use snarkos_rpc as rpc;

pub use snarkvm::dpc::{testnet2::Testnet2, Address, Network};

pub mod prelude {
pub use crate::{environment::*, network::*, storage::*};

#[cfg(feature = "rpc")]
pub use crate::rpc::*;

pub use snarkvm::dpc::{testnet2::Testnet2, Address, Network};
}

0 comments on commit f0d4cef

Please sign in to comment.