Versions in this module Expand all Collapse all v8 v8.0.0 Aug 11, 2022 Changes in this version + func CreateSignatureAndNonce(fnName string, paramJSON []byte, privKey *rsa.PrivateKey) (nonce string, signature []byte) + func CreateTxn(fnName []byte, param []byte, nonce []byte, signature []byte, nodeID []byte) (interface{}, error) + func GeneratePublicKey(publicKey *rsa.PublicKey) ([]byte, error) + func GetEnv(key, defaultValue string) string + func GetPrivateKeyFromString(privK string) *rsa.PrivateKey + func Query(fnName []byte, param []byte) (interface{}, error) + func RandStringRunes(n int) string + type ResponseQuery struct + ID string + Jsonrpc string + Result struct{ ... } + type ResponseStatus struct + ID int + Jsonrpc string + Result struct{ ... } + func Status() (*ResponseStatus, error) + type ResponseTx struct + ID string + Jsonrpc string + Result struct{ ... } Other modules containing this package github.com/ndidplatform/smart-contract github.com/ndidplatform/smart-contract/v4 github.com/ndidplatform/smart-contract/v5 github.com/ndidplatform/smart-contract/v6 github.com/ndidplatform/smart-contract/v7 github.com/ndidplatform/smart-contract/v9