3 unstable releases

0.9.0-rc2 May 14, 2026
0.9.0-rc1 May 10, 2026
0.8.1 May 5, 2026

#12 in #molecule

Download history 11/week @ 2026-05-04 5305/week @ 2026-05-11 5161/week @ 2026-05-18 3483/week @ 2026-05-25 13099/week @ 2026-06-01

27,059 downloads per month

MIT license

1.5MB
38K SLoC

Core domain types for the Fiber Network.

This crate provides the shared type definitions used across the Fiber Network ecosystem, including:

  • Primitive types: Hash256, Pubkey
  • Channel state types: bitflags, ChannelState, TLCId, TLC status enums
  • Payment types: PaymentStatus, PaymentCustomRecords
  • Invoice types: CkbInvoiceStatus, Currency, HashAlgorithm, CkbScript, InvoiceSignature
  • CCH types: CchOrderStatus
  • Network types: PersistentNetworkActorState
  • Watchtower types: ChannelData (feature-gated)
  • Store schema constants
  • Serde utilities for hex and base58 serialization
  • Molecule generated types for protocol messages

Dependencies

~13–17MB
~198K SLoC