Documentation
¶
Index ¶
- type Arweave
- func (a *Arweave) GetBundlrName() string
- func (a *Arweave) GetChain() string
- func (u Arweave) GetPrivateKey() *ecdsa.PrivateKey
- func (u Arweave) GetPublicKey() *ecdsa.PublicKey
- func (a *Arweave) GetRPCAddr() string
- func (u Arweave) GetRPCClient() *ethclient.Client
- func (a *Arweave) GetSinger() signer.Signer
- func (a *Arweave) GetSymbol() string
- func (a *Arweave) GetType() TokenType
- type Ether
- type Ethereum
- func (e *Ethereum) GetBundlrName() string
- func (e *Ethereum) GetChain() string
- func (e *Ethereum) GetPrivateKey() *ecdsa.PrivateKey
- func (e *Ethereum) GetPublicKey() *ecdsa.PublicKey
- func (e *Ethereum) GetRPCAddr() string
- func (e *Ethereum) GetRPCClient() *ethclient.Client
- func (e *Ethereum) GetSinger() signer.Signer
- func (e *Ethereum) GetSymbol() string
- func (e *Ethereum) GetType() TokenType
- type Token
- func NewArbitrum(privateKey, rpc string) (Token, error)
- func NewArweave(privateKey string) (Token, error)
- func NewArweaveFromFile(filePath, rpc string) (Token, error)
- func NewAvalanche(privateKey, rpc string) (Token, error)
- func NewBNB(privateKey, rpc string) (Token, error)
- func NewEthereum(privateKey, rpc string) (Token, error)
- func NewFantom(privateKey, rpc string) (Token, error)
- func NewMatic(privateKey, rpc string) (Token, error)
- type TokenType
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 (Arweave) GetPrivateKey ¶ added in v0.2.0
func (u Arweave) GetPrivateKey() *ecdsa.PrivateKey
func (Arweave) GetPublicKey ¶ added in v0.2.0
func (*Arweave) GetRPCAddr ¶ added in v0.2.0
func (Arweave) GetRPCClient ¶ added in v0.2.0
type Ethereum ¶
type Ethereum struct {
// contains filtered or unexported fields
}
func (*Ethereum) GetBundlrName ¶
func (*Ethereum) GetPrivateKey ¶ added in v0.2.0
func (e *Ethereum) GetPrivateKey() *ecdsa.PrivateKey
func (*Ethereum) GetPublicKey ¶ added in v0.2.0
func (*Ethereum) GetRPCAddr ¶ added in v0.2.0
func (*Ethereum) GetRPCClient ¶ added in v0.2.0
type Token ¶
type Token interface {
Ether
GetBundlrName() string
GetChain() string
GetSymbol() string
GetSinger() signer.Signer
GetRPCAddr() string
GetType() TokenType
}
func NewArbitrum ¶ added in v0.2.3
NewArbitrum create arbitrum object token
func NewArweave ¶
NewArweave create token object from arweave private key payload (not supported for TopUp Balance)
func NewArweaveFromFile ¶
NewArweaveFromFile create token object for arweave by private key file arweave (not supported for TopUp Balance)
func NewAvalanche ¶ added in v0.2.3
NewAvalanche create avalanche object token
func NewEthereum ¶
NewEthereum create ethereum token object
Click to show internal directories.
Click to hide internal directories.