@arkade-os/sdk Documentation - v0.4.54
    Preparing search index...

    Class ArkadeCash

    ArkadeCash is a bearer instrument for the Ark protocol. It encodes a private key and contract parameters as a bech32m string, enabling wallet-to-wallet transfers without address exchange.

    Format: arkadecash1... (bech32m encoded) Payload: version (1 byte) + private key (32 bytes) + server pubkey (32 bytes) + csv timelock sequence (4 bytes)

    Index

    Constructors

    Properties

    csvTimelock: RelativeTimelock
    hrp: string = ArkadeCash.DefaultHRP
    DefaultHRP: "arkadecash"
    PayloadLength: number = ...
    Version: 0

    Accessors

    • get privateKey(): Uint8Array

      The note's private key. Returns a fresh copy; mutating it is a no-op.

      Returns Uint8Array

    • get publicKey(): Uint8Array

      The note's public key. Returns a fresh copy; mutating it is a no-op.

      Returns Uint8Array

    • get serverPubKey(): Uint8Array

      The server's public key. Returns a fresh copy; mutating it is a no-op.

      Returns Uint8Array

    Methods