Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProgramKey = ed25519.PublicKey{5, 74, 83, 80, 248, 93, 200, 130, 214, 20, 165, 86, 114, 120, 138, 41, 109, 223, 30, 171, 171, 208, 166, 6, 120, 136, 73, 50, 244, 238, 246, 160}
ProgramKey is the address of the memo program that should be used.
Current key: Memo1UhkJRfHyvLMcVucJwxXeuD728EqVDDwQDxFMNo
todo: lock this in, or make configurable
Functions ¶
func Instruction ¶
func Instruction(data string) solana.Instruction
Reference: https://github.com/solana-labs/solana-program-library/blob/master/memo/program/src/entrypoint.rs
Types ¶
type DecompiledMemo ¶
type DecompiledMemo struct {
Data []byte
}
func DecompileMemo ¶
func DecompileMemo(m solana.Message, index int) (*DecompiledMemo, error)
Click to show internal directories.
Click to hide internal directories.