bstamp

package module
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2023 License: GPL-2.0 Imports: 9 Imported by: 5

README

go-stamp-wallet

wallet for blockchain stamp of free version

#build tips for chiense developers go get -d github.com/btcsuite/btcd/chaincfg/chainhash@v1.0.2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSDK

func InitSDK(baseDir string) error

func SetLogLevel

func SetLogLevel(level logrus.Level)

Types

type StampSdk

type StampSdk interface {
	CreateWallet(auth, name string) (comm.Wallet, error)
	ImportWallet(walletJson, auth string) (comm.Wallet, error)
	GetWallet(addr comm.WalletAddr) (comm.Wallet, error)
	RemoveWallet(addr comm.WalletAddr) error
	ListAllWalletAddr() string
	ActiveWallet(walletAddr comm.WalletAddr, auth string) (comm.Wallet, error)
	PostStamp(mailUser string, sData comm.StampData) (comm.Stamp, error)
	ConfigStamp(mailAddr string, stamp comm.StampAddr) error
	GetStampConf(mailAddr string) *contract.StampConf
	UpdateStampBalanceAsync(mailUser string)
	VerifyStamp(stamp, mail string) error
}

func Inst

func Inst() StampSdk

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL