Documentation ¶
Index ¶
- type ChainMaker
- func (s *ChainMaker) CopyCmd() string
- func (s *ChainMaker) MakeCmdLineAddGenesisAccount(strAccName, strHome, strBalances string, passwd bool) string
- func (s *ChainMaker) MakeCmdLineCollectGenTxs(strHome string) string
- func (s *ChainMaker) MakeCmdLineConfigChainID(strHome string) string
- func (s *ChainMaker) MakeCmdLineConfigKeyringBackend(strHome string) string
- func (s *ChainMaker) MakeCmdLineCopyGenTxJSON(strHomeSrc, strHomeDst string) string
- func (s *ChainMaker) MakeCmdLineCopyGenesisFile(strHomeSrc, strHomeDst string) string
- func (s *ChainMaker) MakeCmdLineCopyKeysFile(src, dest string) string
- func (s *ChainMaker) MakeCmdLineGenTx(strAccName, strHome, strStaking, strIP, strPort string, passwd bool) string
- func (s *ChainMaker) MakeCmdLineInit(strMoniker, strHome string) string
- func (s *ChainMaker) MakeCmdLineKeysAdd(strAccName, strHome string, reenter, passwd bool) string
- func (s *ChainMaker) MakeCmdLineKeysExport(strAccName, strHome string) string
- func (s *ChainMaker) MakeCmdLineKeysImport(strAccName, strHome, strKeyFile string) string
- func (s *ChainMaker) MakeCmdLineKeysShow(strAccName, strHome string) string
- func (s *ChainMaker) MakeCmdLineMkdirKeyringFile(strHome string) string
- func (s *ChainMaker) MakeCmdLineShowNodeId(strHome string) string
- func (s *ChainMaker) MakeCmdLineValidateGenesis(strHome string) string
- func (s *ChainMaker) MkdirCmd() string
- func (s *ChainMaker) NodeCmd() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainMaker ¶
type ChainMaker struct {
// contains filtered or unexported fields
}
func NewChainMaker ¶
func NewChainMaker(strNodeCmd, strChainID, strDefaultDenom, strKeyPhrase, strKeyringBackend string) *ChainMaker
func (*ChainMaker) CopyCmd ¶
func (s *ChainMaker) CopyCmd() string
func (*ChainMaker) MakeCmdLineAddGenesisAccount ¶
func (s *ChainMaker) MakeCmdLineAddGenesisAccount(strAccName, strHome, strBalances string, passwd bool) string
func (*ChainMaker) MakeCmdLineCollectGenTxs ¶
func (s *ChainMaker) MakeCmdLineCollectGenTxs(strHome string) string
func (*ChainMaker) MakeCmdLineConfigChainID ¶ added in v0.2.1
func (s *ChainMaker) MakeCmdLineConfigChainID(strHome string) string
func (*ChainMaker) MakeCmdLineConfigKeyringBackend ¶ added in v0.2.1
func (s *ChainMaker) MakeCmdLineConfigKeyringBackend(strHome string) string
func (*ChainMaker) MakeCmdLineCopyGenTxJSON ¶
func (s *ChainMaker) MakeCmdLineCopyGenTxJSON(strHomeSrc, strHomeDst string) string
func (*ChainMaker) MakeCmdLineCopyGenesisFile ¶
func (s *ChainMaker) MakeCmdLineCopyGenesisFile(strHomeSrc, strHomeDst string) string
func (*ChainMaker) MakeCmdLineCopyKeysFile ¶
func (s *ChainMaker) MakeCmdLineCopyKeysFile(src, dest string) string
func (*ChainMaker) MakeCmdLineGenTx ¶
func (s *ChainMaker) MakeCmdLineGenTx(strAccName, strHome, strStaking, strIP, strPort string, passwd bool) string
func (*ChainMaker) MakeCmdLineInit ¶
func (s *ChainMaker) MakeCmdLineInit(strMoniker, strHome string) string
func (*ChainMaker) MakeCmdLineKeysAdd ¶
func (s *ChainMaker) MakeCmdLineKeysAdd(strAccName, strHome string, reenter, passwd bool) string
func (*ChainMaker) MakeCmdLineKeysExport ¶
func (s *ChainMaker) MakeCmdLineKeysExport(strAccName, strHome string) string
func (*ChainMaker) MakeCmdLineKeysImport ¶
func (s *ChainMaker) MakeCmdLineKeysImport(strAccName, strHome, strKeyFile string) string
func (*ChainMaker) MakeCmdLineKeysShow ¶
func (s *ChainMaker) MakeCmdLineKeysShow(strAccName, strHome string) string
func (*ChainMaker) MakeCmdLineMkdirKeyringFile ¶
func (s *ChainMaker) MakeCmdLineMkdirKeyringFile(strHome string) string
func (*ChainMaker) MakeCmdLineShowNodeId ¶
func (s *ChainMaker) MakeCmdLineShowNodeId(strHome string) string
func (*ChainMaker) MakeCmdLineValidateGenesis ¶
func (s *ChainMaker) MakeCmdLineValidateGenesis(strHome string) string
func (*ChainMaker) MkdirCmd ¶
func (s *ChainMaker) MkdirCmd() string
func (*ChainMaker) NodeCmd ¶
func (s *ChainMaker) NodeCmd() string
Click to show internal directories.
Click to hide internal directories.