class Secp256k1Zkp::PtsAddress

Included Modules

Defined in:

crystal-secp256k1-zkp/secp256k1-zkp.cr

Constructors

Instance Method Summary

Instance methods inherited from module Secp256k1Zkp::Utility

base58_decode(base58_str : String) : Bytes base58_decode, base58_encode(str : Bytes) : String base58_encode, hex_decode(data) hex_decode, hex_encode(data) hex_encode, rmd160(data) rmd160, rmd160_hex(data) rmd160_hex, sha256(data) sha256, sha256_hex(data) sha256_hex, sha512(data) sha512, sha512_hex(data) sha512_hex

Constructor Detail

def self.new(public_key : PublicKey, compressed : Bool, version : UInt8) #

[View source]
def self.new(base58str : String) #

[View source]

Instance Method Detail

def bytes : Bytes #

[View source]
def is_valid? : Bool #

Checks the address to verify it has a valid checksum


[View source]
def rawdata : RawdataPtsAddress #

[View source]
def to_address : Address #

[View source]
def to_wif #

[View source]