Versions in this module Expand all Collapse all v0 v0.1.0 Mar 21, 2025 Changes in this version + var DefaultFee = sdk.NewCoin(constants.ExampleAttoDenom, sdkmath.NewInt(1e16)) + func CreateEIP712CosmosTx(ctx sdk.Context, exampleApp *exampleapp.ExampleChain, args EIP712TxArgs) (sdk.Tx, error) + func CreateEthTx(ctx sdk.Context, exampleApp *exampleapp.ExampleChain, ...) (*evmtypes.MsgEthereumTx, error) + func GasLimit(ctx context.Context, from common.Address, data evmtypes.HexString, ...) (uint64, error) + func GenerateAddress() common.Address + func NewAccAddressAndKey() (sdk.AccAddress, *ethsecp256k1.PrivKey) + func NewAddrKey() (common.Address, *ethsecp256k1.PrivKey) + func NewSigner(sk cryptotypes.PrivKey) keyring.Signer + func PrepareCosmosTx(ctx sdk.Context, exampleApp *exampleapp.ExampleChain, args CosmosTxArgs) (authsigning.Tx, error) + func PrepareEIP712CosmosTx(ctx sdk.Context, exampleApp *exampleapp.ExampleChain, args EIP712TxArgs) (client.TxBuilder, error) + func PrepareEthTx(txCfg client.TxConfig, priv cryptotypes.PrivKey, msgs ...sdk.Msg) (authsigning.Tx, error) + type CosmosTxArgs struct + ChainID string + FeeGranter sdk.AccAddress + Fees sdk.Coins + Gas uint64 + GasPrice *sdkmath.Int + Msgs []sdk.Msg + Priv cryptotypes.PrivKey + TxCfg client.TxConfig + type EIP712TxArgs struct + CosmosTxArgs CosmosTxArgs + UseLegacyTypedData bool + type InvalidTx struct + func (InvalidTx) GetMsgs() []sdk.Msg + func (InvalidTx) GetMsgsV2() ([]protov2.Message, error) + func (InvalidTx) ValidateBasic() error + type Signer struct + func (s Signer) Sign(_ string, msg []byte, _ signing.SignMode) ([]byte, cryptotypes.PubKey, error) + func (s Signer) SignByAddress(address sdk.Address, msg []byte, signMode signing.SignMode) ([]byte, cryptotypes.PubKey, error)