Categorygithub.com/left-curve/ibc-client-go
modulepackage
0.0.0-20241003001056-ba957afb87b4
Repository: https://github.com/left-curve/ibc-client-go.git
Documentation: pkg.go.dev

# README

This is a proof of concept, not intended for production use. For production, we plan to use either the standard 07-tendermint or 11-cometbls client.

ibc-client-go

Grug light client for Cosmos SDK chains, written in Go.

This is basically a wrapper over ibc-go's 07-tendermint client, except for the client state's VerifyMembership and VerifyNonMembership methods are substituted with Grug's proof format, which is not compatible with ICS-23.

License

TBD

# Functions

NewClientState creates a new Grug client state instance.
NewConsensusState creates a new Grug consensus state instance.

# Constants

ClientType indicates the client is a Grug chain.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ClientState is the client state of Grug.
ConsensusState is the client state of Grug.
InternalNode is an internal node in Grug's Merkle tree.
LeafNode is a leaf node in Grug's Merkle tree.
MembershipProof is the variant of `Proof` for a key that exists.
Node is a node is Grug's Merkle tree.
NonMembershipProof is the variant of `Proof` for a key that doesn't exist.
Proof is Grug's Merkle proof.

# Type aliases

Bits represents an array of bits, compacted into an array of bytes.
Hash represents a byte array of exactly 32 bytes.
Path is the Merkle path for Grug proofs.