Versions in this module Expand all Collapse all v0 v0.1.1 Apr 2, 2026 v0.1.0 Apr 2, 2026 Changes in this version + const DefaultFaucetURL + const ENV_VAR + const GAS_ADJUSTMENT + const GITHUB_SEC + const KEYRING_BACKEND + const LEDGER + const UNKNOWN + var ErrGitopiaKeyNotConfigured = errors.New("gitopia key not configured in OS keyring") + func DefaultFeeGranter() string + func GenerateMnemonic() (string, error) + func NewMarshaler() codec.ProtoCodecMarshaler + func ParseTxResponse(marshaler codec.ProtoCodecMarshaler, txResponse *tx.GetTxResponse, ...) error + func StoreInFile(mnemonic string) error + func StoreInKeyring(mnemonic string) error + type Account struct + Address string + PathIncrement int + type AutoGeneratedWallet interface + IsAutoGenerated func() bool + type FeeGrantSetter interface + SetFeeGranter func(granter string) + type FeeGrantStatus struct + Claimed bool + Error string + Message string + func ClaimFeeGrant(ctx context.Context, address, faucetURL string) FeeGrantStatus + type GitopiaWallet struct + func (gw *GitopiaWallet) SetFeeGranter(granter string) + func (gw GitopiaWallet) Address() string + func (gw GitopiaWallet) Export() ([]byte, error) + func (gw GitopiaWallet) IsAutoGenerated() bool + func (gw GitopiaWallet) SignAndBroadcast(ctx context.Context, grpcConn *grpc.ClientConn, msgs []sdk.Msg) (*tx.GetTxResponse, error) + func (gw GitopiaWallet) SignData(data []byte) (string, error) + func (gw GitopiaWallet) Type() secretType + type GitopiaWalletFile struct + Accounts []Account + HDpath string + Mnemonic string + Name string + Password string + PathIncrement int + Prefix string + type Wallet interface + Address func() string + Export func() ([]byte, error) + SignAndBroadcast func(ctx context.Context, grpcConn *grpc.ClientConn, msgs []sdk.Msg) (*tx.GetTxResponse, error) + SignData func(data []byte) (string, error) + Type func() secretType + func FromFile(ctx context.Context, bankClient banktypes.QueryClient, ...) (Wallet, error) + func FromKeyring(ctx context.Context, bankClient banktypes.QueryClient, ...) (Wallet, error) + func FromMnemonic(mnemonic string) (Wallet, error) + func FromMnemonicWithFeegrant(ctx context.Context, mnemonic string, bankClient banktypes.QueryClient, ...) (Wallet, error) + func InitGitopiaWallet(ctx context.Context, bankClient banktypes.QueryClient, ...) (Wallet, error) + func InitWallet(ctx context.Context, bankClient banktypes.QueryClient, ...) (Wallet, error) + func NewTestWallet(address string, signErr error) Wallet