Documentation ¶
Index ¶
- Variables
- func GenerateSalt() string
- func Hash256(buf []byte) []byte
- func HoldToClose(waitFunc func())
- func IsNameEqual(r1 []string, r2 []string) bool
- func LoadRuntimeMetadata(path string) *types.Metadata
- func MustAccountIDFromSS58(address string) types.AccountID
- func MustDecodeAccountIDFromSS58(address string) types.AccountID
- func NewAccountIDFromSS58(address string) (types.AccountID, error)
- func RandStringBytesRmndr(n int) string
- func Sum256(buf []byte) [32]byte
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DecodeAccountIDFromSS58 = types.DecodeAccountIDFromSS58 EncodeAccountIDToSS58 = types.EncodeAccountIDToSS58 )
Functions ¶
func GenerateSalt ¶ added in v0.2.0
func GenerateSalt() string
func HoldToClose ¶
func HoldToClose(waitFunc func())
func LoadRuntimeMetadata ¶
func MustAccountIDFromSS58 ¶
MustAccountIDFromSS58 must account for ss58 if not panic
func MustDecodeAccountIDFromSS58 ¶
MustDecodeAccountIDFromSS58 if error panic
func NewAccountIDFromSS58 ¶
NewAccountIDFromSS58 TODO: to go-sdk
func RandStringBytesRmndr ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.