Docs.rs
  • starknet-core-0.3.0
    • starknet-core 0.3.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • xJonathanLEI
    • Dependencies
      • base64 ^0.21.0 normal
      • ethereum-types ^0.14.1 normal
      • flate2 ^1.0.25 normal
      • hex ^0.4.3 normal
      • serde ^1.0.160 normal
      • serde_json ^1.0.96 normal
      • serde_with ^2.3.2 normal
      • sha3 ^0.10.7 normal
      • starknet-crypto ^0.5.1 normal
      • starknet-ff ^0.3.3 normal
      • thiserror ^1.0.40 normal
      • criterion ^0.4.0 dev
      • wasm-bindgen-test ^0.3.34 dev
    • Versions
    • 6.01% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module utils

  • Structs
  • Enums
  • Functions
?
Change settings

Module starknet_core::utils

source ·

Structs

  • NonAsciiNameError

Enums

  • CairoShortStringToFeltError
  • ParseCairoShortStringError

Functions

  • cairo_short_string_to_felt
    Converts Cairo short string to FieldElement.
  • get_contract_address
  • get_selector_from_name
  • get_storage_var_address
  • normalize_address
  • parse_cairo_short_string
    Converts FieldElement to Cairo short string.
  • starknet_keccak
    A variant of eth-keccak that computes a value that fits in a Starknet field element.