Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateAccountAndIssue(payerPrivateKey solana.PrivateKey, mintFull *MintWithAddress, ...) (*solana.PublicKey, error)
- func (c *Client) CreateToken(args *TokenArgs, payerPrivateKey solana.PrivateKey, owner solana.PublicKey) (*MintWithAddress, error)
- func (c *Client) GetMint(mint solana.PublicKey) (*tkn.Mint, error)
- type MintWithAddress
- type TokenArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateAccountAndIssue ¶
func (c *Client) CreateAccountAndIssue(payerPrivateKey solana.PrivateKey, mintFull *MintWithAddress, owner solana.PublicKey, amount uint64) (*solana.PublicKey, error)
func (*Client) CreateToken ¶
func (c *Client) CreateToken(args *TokenArgs, payerPrivateKey solana.PrivateKey, owner solana.PublicKey) (*MintWithAddress, error)
create a token; optionally mint tokens to a destination
type MintWithAddress ¶
Click to show internal directories.
Click to hide internal directories.