token

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arweave

type Arweave struct {
	// contains filtered or unexported fields
}

func (*Arweave) GetBundlrName

func (a *Arweave) GetBundlrName() string

func (*Arweave) GetChain

func (a *Arweave) GetChain() string

func (*Arweave) GetPrivate

func (a *Arweave) GetPrivate() string

func (*Arweave) GetSymbol

func (a *Arweave) GetSymbol() string

type Ethereum

type Ethereum struct {
	// contains filtered or unexported fields
}

func (*Ethereum) GetBundlrName

func (e *Ethereum) GetBundlrName() string

func (*Ethereum) GetChain

func (e *Ethereum) GetChain() string

func (*Ethereum) GetPrivate

func (e *Ethereum) GetPrivate() string

func (*Ethereum) GetSymbol

func (e *Ethereum) GetSymbol() string

type Matic

type Matic struct {
	// contains filtered or unexported fields
}

func (*Matic) GetBundlrName

func (m *Matic) GetBundlrName() string

func (*Matic) GetChain

func (m *Matic) GetChain() string

func (*Matic) GetPrivate

func (m *Matic) GetPrivate() string

func (*Matic) GetSymbol

func (m *Matic) GetSymbol() string

type Token

type Token interface {
	GetBundlrName() string
	GetChain() string
	GetSymbol() string
	GetPrivate() string
}

func NewArweave

func NewArweave(privateKey string) (Token, error)

NewArweave create token object from arweave private key payload

func NewArweaveFromFile

func NewArweaveFromFile(filePath string) (Token, error)

NewArweaveFromFile create token object for arweave by private key file arweave

func NewEthereum

func NewEthereum(privateKey string) (Token, error)

NewEthereum create ethereum token object

func NewMatic

func NewMatic(privateKey string) (Token, error)

NewMatic create matic object token

Jump to

Keyboard shortcuts

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