module Ethereum

Overview

implements the Ethereum address space

Defined in:

address.cr

Class Method Summary

Class Method Detail

def self.address_checksum(adr : String) #

returns a checksummed ethereum address as per eip-55


[View source]
def self.address_from_private(priv : String) #

generates an ethereum address from a private key


[View source]
def self.address_from_public_key(pub : String) #

generates an ethereum address for an uncompressed public key


[View source]
def self.address_from_public_point(p : Secp256k1::EC_Point) #

generates an ethereum address from an public key ec point


[View source]