Documentation ¶
Index ¶
- Constants
- Variables
- func CreateAssociatedTokenAccount(ctx context.Context, client *rpc.Client, ws *ws.Client, ...) (*solana.PublicKey, error)
- func GetMint(ctx context.Context, client *rpc.Client, address solana.PublicKey) (*token.Mint, error)
- func InitMintInstruction(ctx context.Context, decimals uint8, mint, owner solana.PublicKey) (solana.Instruction, error)
- func MintTo(ctx context.Context, client *rpc.Client, ws *ws.Client, ...) (*solana.Signature, error)
- func MintToInstruction(ctx context.Context, mintAccount, mintAuthority, tokenAccount solana.PublicKey, ...) (solana.Instruction, error)
- func NewAccountInstruction(ctx context.Context, client *rpc.Client, ...) (solana.Instruction, error)
- func NewMintInstruction(ctx context.Context, client *rpc.Client, decimals uint8, ...) ([]solana.Instruction, error)
- func RPCFromMoniker(moniker string) (string, error)
- func SendTx(ctx context.Context, rpcClient *rpc.Client, wsClient *ws.Client, ...) (*solana.Signature, error)
- func WSFromMoniker(moniker string) (string, error)
Constants ¶
View Source
const MintAccountSize = 82
Variables ¶
View Source
var ErrUnknownMoniker = errors.New("unknown moniker")
Functions ¶
func InitMintInstruction ¶
func MintToInstruction ¶
func NewAccountInstruction ¶
func NewMintInstruction ¶
func RPCFromMoniker ¶
func WSFromMoniker ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.