Versions in this module Expand all Collapse all v1 v1.1.1 Feb 22, 2026 v1.1.0 Feb 19, 2026 Changes in this version + const AddressesFlag + const AmountsFlag + const DefaultGenesisPath + const Erc20TokenFlag + const GenesisPathFlag + const GenesisPathFlagDesc + const NativeRootTokenFlag + const NativeRootTokenFlagDesc + const ProxyContractsAdminDesc + const ProxyContractsAdminFlag + const StakeManagerFlag + const StakeManagerFlagDesc + const StakeTokenFlag + const StakeTokenFlagDesc + const SupernetManagerFlag + const SupernetManagerFlagDesc + const TestAccountPrivKey + const TestModeFlag + var ErrInconsistentLength = errors.New("addresses and amounts must be equal length") + var ErrMandatoryERC20Token = errors.New("erc20 token address is mandatory") + var ErrMandatoryStakeToken = errors.New("stake token address is mandatory") + var ErrNoAddressesProvided = errors.New("no addresses provided") + var ErrRootchainNotFound = errors.New("rootchain not found") + var ErrRootchainPortBind = errors.New("port 8545 is not bind with localhost") + func CreateApproveERC20Txn(amount *big.Int, spender, erc20TokenAddr types.Address, rootchainTx bool) (*ethgo.Transaction, error) + func CreateMintTxn(receiver, erc20TokenAddr types.Address, amount *big.Int, rootchainTx bool) (*ethgo.Transaction, error) + func CreateTransaction(sender ethgo.Address, receiver *ethgo.Address, input []byte, value *big.Int, ...) *ethgo.Transaction + func DecodePrivateKey(rawKey string) (ethgo.Key, error) + func DeployProxyContract(txRelayer txrelayer.TxRelayer, deployerKey ethgo.Key, proxyContractName string, ...) (*ethgo.Receipt, error) + func GetECDSAKey(privateKey, accountDir, accountConfig string) (ethgo.Key, error) + func GetRootchainID() (string, error) + func GetValidatorInfo(validatorAddr ethgo.Address, ...) (*polybft.ValidatorInfo, error) + func ReadRootchainIP() (string, error) + func SendTransaction(txRelayer txrelayer.TxRelayer, addr ethgo.Address, input []byte, ...) (*ethgo.Receipt, error) + type MessageResult struct + Message string + func (r MessageResult) GetOutput() string