Search

Lib.rs

› Cryptography › Magic Beans
#tangle #bee #random #block #framework #iota-protocols #block-layout #iota

no-std bee-block

Implementation of the IOTA protocol block layouts

by Thibault Martinez, iotaledger and 2 contributors

  • Install
  • API reference
  • GitHub repo (iotaledger)
  • Home (iota.org)

9 releases (2 stable)

1.0.1 Sep 28, 2022
1.0.0 Sep 27, 2022
1.0.0-beta.7 Aug 30, 2022
1.0.0-beta.5 Jul 27, 2022

#2 in #iota-protocols


Used in 4 crates

Apache-2.0

530KB
12K SLoC

bee-block

Strict implementations of:

  • TIP-0011: Bech32 Address Format
  • TIP-0018: Multi-Asset Ledger and ISC Support
  • TIP-0019: Dust Protection Based on Byte Costs
  • TIP-0020: Transaction Payload with TIP-18 Output Types
  • TIP-0023: Tagged Data Payload
  • TIP-0024: Tangle Block
  • TIP-0029: Milestone Payload

Dependencies

~6–15MB
~205K SLoC

  • bech32 0.9.1
  • bee-pow 1.0
  • bee-ternary 1.0+serde
  • bitflags 1.3
  • bytemuck
  • derive_more 0.99.17+from+as_ref+deref+deref_mut
  • hashbrown 0.12.3+ahash+inline-more
  • hex+alloc
  • iota-crypto 0.14.3+ed25519+blake2b
  • iterator-sorted 0.1
  • packable 0.6.2+serde+primitive-types
  • prefix-hex 0.4+primitive-types
  • primitive-types 0.11.1+serde
  • thiserror 1.0
  • optional inx
  • optional rand 0.8.5+min_const_gen+std_rng
  • serde? serde
  • serde? serde-big-array 0.4.1
  • dto? serde_json+alloc
  • dev num_cpus

Other feature

  • std
Related: identity_credential, identity_core, iota-pow, iota-types, bee-ternary, bee-common, bee-common-derive, bee-crypto, bee-ledger, bee-ledger, bee-ledger-types, bee-message, bee-network, bee-peering, bee-pow, bee-protocol, bee-protocol, bee-signing, bee-snapshot, bee-runtime
See also: taffy, egui_taffy, audio-blocks, identity_did, identity_document, blueprint-core, blueprint-tangle-extra, blueprint-std, blueprint-crypto, strobe-rs, identity-diff

A thriving market for magic beans doesn't make the magic beanstalk real. Cryptocurrencies are often involved in pump and dump scams, ponzi schemes, investment fraud, unregulated gambling, and large-scale money laundering. Many applications of cryptocurrencies are questionable. Their real effects are proliferation of ransomware and other criminal activity. PoW-based schemes contribute to e-waste and climate-affecting energy waste.

Lib.rs is an unofficial list of Rust/Cargo crates. Content of this page is not necessarily endorsed by the authors of the crate. This site is not affiliated with nor endorsed by the Rust Project.