README

zcash2cwtch

Expand ▾ Collapse ▴

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	Time int `json:"time"`
}

type ZcashClient

type ZcashClient interface {
	ListReceivedTransactionsByAddress(string) ([]ZcashTransaction, error)
	GetTransaction(string) (Transaction, error)
}

func NewClient

func NewClient(onion string, username, password string, acn connectivity.ACN) ZcashClient

    NewClient creates a new Zcash rpc client over an onion address

    type ZcashResult

    type ZcashResult struct {
    	Result interface{} `json:"result"`
    }

    type ZcashTransaction

    type ZcashTransaction struct {
    	TransactionID string  `json:"txid"`
    	Amount        float64 `json:"amount"`
    	Memo          string  `json:"memo"`
    	Change        bool    `json:"change"`
    	OutIndex      int     `json:"outindex"`
    }

    Directories

    Path Synopsis