package
0.0.6
Repository: https://github.com/pylons-tech/pylons_sdk.git
Documentation: pkg.go.dev

# Functions

AddNewLocalKey is a function to add key cli.
AminoCodecFormatter format structs better by encoding in amino codec.
CleanFile is a function to remove file.
CreateChainAccount is a function to create account on chain.
Exists check if element exist in an array.
FindCookbookFromArrayByName is a function to cookbook from array by name.
FindExecutionByRecipeID is a function to get execution by recipe id.
FindItemFromArrayByName is a function to get item array by name.
FindRecipeFromArrayByName is a function to get recipes from array by name.
FindTradeFromArrayByExtraInfo is a function to find trade from extra info.
GenTxWithMsg is a function to generate transaction from msg.
GetAccountAddr is a function to get account address from key.
GetAccountInfoFromAddr is a function to get account information from address.
GetAccountInfoFromAddr is a function to get account information from address.
GetAccountInfoFromName is a function to get account information from account key.
GetAminoCdc is a utility function to get amino codec.
GetCookbookByGUID is to get Cookbook from ID.
GetCookbookIDFromName is a function to get cookbook id from name.
GetDaemonStatus is a function to get daemon status.
GetExecutionByGUID is to get Execution from ID.
GetHumanReadableErrorFromTxHash is a function to get human readable error from txhash.
No description provided by the author
GetItemByGUID is to get Item from ID.
GetItemIDFromName is a function to get item id from name.
No description provided by the author
GetLockedCoinDetailsViaCLI is a function to list locked coins via cli.
GetLockedCoinsViaCLI is a function to list locked coins via cli.
GetLogFieldsFromMsgs fetch mandatory keys from msgs for debugging.
GetMaxBroadcastRetry is a function to get configuration for maximum retry for transactio broadcast.
GetMaxWaitBlock is a function to get configuration for maximum wait block, default 3.
GetRecipeByGUID is to get Recipe from ID.
GetRecipeGUIDFromName is a function to get recipe id from name.
GetRecipeIDFromName is a function to get recipe id from name.
GetTradeIDFromExtraInfo is a function to get trade id from trade extra info.
GetTxData is a function to get transaction result data by txhash.
GetTxError is a function to get transaction error from txhash.
GetTxHashFromJson parse txhash and error code from json format of transaction log.
No description provided by the author
No description provided by the author
IsJSON checks if bytes is in json.
JSONFormatter format structs better by encoding in amino codec.
KeyringBackendSetup is a utility function to setup keyring backend for pylonsd command.
ListCookbookViaCLI is a function to list cookbooks via cli.
ListExecutionsViaCLI is a function to list executions via cli.
ListItemsViaCLI is a function to list items via cli.
ListRecipesViaCLI is a function to list recipes via cli.
ListTradeViaCLI is a function to get list of trades from cli.
NodeFlagSetup is a utility function to setup configured custom node.
ReadFile is a utility function to read file.
RunPylonsd is a function to run pylonsd.
SendMultiMsgTxWithNonce is a function to send multiple messages in one transaction.
TestTxWithMsg is a function to send transaction with message.
TestTxWithMsgWithNonce is a function to send transaction with message and nonce.
WaitAndGetTxData is a function to get transaction data after transaction is processed.
WaitAndGetTxError is a function to wait and get transaction error from hash.
WaitForBlockInterval is a function to wait until block heights to flow.
WaitForNextBlock is a function to wait until next block.

# Variables

CLIOpts is a variable to manage pylonsd options.

# Structs

CLIOptions is a struct to manage pylonsd options.