near-sdk 5.29.0

Rust library for writing NEAR smart contracts.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Deterministic account state initialization types ([NEP-616](https://github.com/near/NEPs/pull/616)).
//!
//! This module is available when the `deterministic-account-ids` feature is enabled on
//! `near-sdk`. The underlying types live in the
//! [`near_global_contracts`](https://docs.rs/near-global-contracts) crate and are re-exported
//! here for convenience.
//!
//! When invoked from inside an on-chain contract (i.e. a build that sets `--cfg near` via
//! `cargo-near`), `StateInit::derive_account_id` routes through the `keccak256` host
//! function. Off-chain consumers should depend on `near-global-contracts` directly with the
//! `digest` feature.

pub use near_global_contracts::{StateInit, StateInitV1};