/glethers

Primary LanguageGleamApache License 2.0Apache-2.0

glethers

Package Version Hex Docs

gleam add glethers
import glethers

pub fn main() {
  // TODO: An example of the project in use
}

Further documentation can be found at https://hexdocs.pm/glethers.

Development

gleam run   # Run the project
gleam test  # Run the tests

Planned Features

  • Wallet and Signer with mnemonic
  • Private key parsing
  • Signing and verifying messages
  • Crypto functions: keccak256, sha256, etc
  • Eip712 signed typed message
  • RLP encoding and decoding
  • Blockchain primitives:
    • Address
    • Signature
    • Transaction
    • Block
    • signed and unsigned numbers:
      • u32
      • u64
      • u128
      • u256
      • i32
      • i64
      • i128
      • i256
  • RPC methods
  • ABI parser
  • Contract interaction
  • Websocket connection
  • Etherscan API
  • Javascript compatibility
    • BigInt

Use big int for js: https://gitlab.com/Nicd/bigi