MCPcopy Index your code
hub / github.com/KYVENetwork/chain

github.com/KYVENetwork/chain @v2.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.2.0 ↗ · + Follow
7,849 symbols 16,763 edges 478 files 1,538 documented · 20%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

The KYVE Network

v2.2.0

The KYVE consensus layer is the backbone of the KYVE ecosystem. This layer is a sovereign Delegated Proof of Stake network built using the Cosmos SDK and CometBFT (BFT Consensus).

The main branch always contains the latest commits during development. Check out the /release/v1.x.x branches for stable releases.

Building from source

make build

You can find the kyved binary in the ./build directory.

If you need binaries for alternative architectures than your host:

make release ENV=mainnet

The different binaries can be found in the ./release directory.

Building for the Kaon testnet

If you want to build the binary for the Kaon testnet, you will need to specify its build environment. This is important because mainnet and testnet use different denoms for the native token.

make build ENV=kaon

You can verify the build information using the following command:

kyved info

Building docker image

Root

To create a regular kyve-network/kyve:${VERSION} docker image with kyved binary only execute:

make docker-image

To create the corresponding debug image containing a sh shell execute make docker-image-debug.

Nonroot

To create a nonroot docker image kyve-network/kyve:${VERSION}-nonroot running with user nonroot:65532:

make docker-image-nonroot

To create the corresponding debug image kyve-network/kyve:${VERSION}-debug-nonroot execute make docker-image-debug-nonroot.

Extension points exported contracts — how you extend this code

AccountKeeper (Interface)
AccountKeeper defines the expected account keeper used for simulations (noalias)
x/bundles/types/expected_keepers.go
AccountKeeper (Interface)
AccountKeeper defines the expected account keeper used for simulations (noalias)
x/query/types/expected_keepers.go
AccountKeeper (Interface)
AccountKeeper defines the expected account keeper (noalias)
x/liquid/types/expected_keepers.go
PoolKeeper (Interface)
(no doc) [1 implementers]
x/stakers/types/expected_keepers.go
StakersKeeper (Interface)
(no doc) [1 implementers]
x/pool/types/expected_keepers.go
PoolKeeper (Interface)
(no doc) [1 implementers]
x/funders/types/expected_keepers.go
PoolKeeper (Interface)
(no doc) [1 implementers]
x/multi_coin_rewards/types/expected_keepers.go
BankKeeper (Interface)
(no doc)
x/team/types/expected_keepers.go

Core symbols most depended-on inside this repo

Ctx
called by 1958
testutil/integration/integration.go
App
called by 1927
testutil/integration/integration.go
RunTxBundlesSuccess
called by 321
testutil/integration/transactions.go
CommitAfterSeconds
called by 288
testutil/integration/integration.go
RunTx
called by 263
testutil/integration/transactions.go
RunTxStakersSuccess
called by 253
testutil/integration/transactions.go
Get
called by 208
testutil/integration/setup.go
CreateValidator
called by 180
testutil/integration/integration.go

Shape

Method 6,334
Function 937
Struct 480
Interface 75
TypeAlias 23

Languages

Go100%

Modules by API surface

x/liquid/types/query.pb.go454 symbols
x/query/types/bundles.pb.go323 symbols
x/liquid/types/tx.pb.go296 symbols
x/pool/types/tx.pb.go287 symbols
x/team/types/query.pb.go258 symbols
x/query/types/funders.pb.go235 symbols
x/bundles/types/tx.pb.go214 symbols
x/query/types/account.pb.go209 symbols
x/funders/types/tx.pb.go207 symbols
x/team/types/tx.pb.go203 symbols
x/stakers/types/tx.pb.go198 symbols
x/bundles/types/events.pb.go176 symbols

For agents

$ claude mcp add chain \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact