#scale-codec #glin #scale

glin-types

Shared types and data structures for GLIN Network SDK

4 releases

new 0.1.4 Oct 10, 2025
0.1.2 Oct 5, 2025
0.1.1 Oct 5, 2025
0.1.0 Oct 5, 2025

#310 in Magic Beans

Download history 320/week @ 2025-10-01

320 downloads per month
Used in 4 crates

Apache-2.0

27KB
83 lines

GLIN Logo

glin-types

crates.io docs.rs License

Shared types and data structures for GLIN Network SDK.

Overview

This crate provides core type definitions used across the GLIN SDK ecosystem. It includes:

  • Serialization support: Serde for JSON serialization
  • SCALE encoding: For Substrate blockchain compatibility
  • Substrate types: Integration with subxt for blockchain interactions
  • Common data structures: Shared across glin-client and glin-contracts

Usage

Add this to your Cargo.toml:

[dependencies]
glin-types = "0.1.0"

Features

  • Serde-based JSON serialization/deserialization
  • SCALE codec support for blockchain encoding
  • Hexadecimal encoding/decoding utilities
  • Substrate-compatible type definitions

Part of GLIN SDK

This crate is part of the GLIN SDK for Rust, which provides complete blockchain interaction capabilities for GLIN Network.

Documentation

For full SDK documentation, see the main repository.

License

Apache-2.0

Dependencies

~18MB
~321K SLoC