MCPcopy Index your code
hub / github.com/crypto-org-chain/cronos

github.com/crypto-org-chain/cronos @v1.7.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.7.8 ↗ · + Follow
4,142 symbols 17,659 edges 231 files 1,026 documented · 25%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Cronos Logo

Table of Contents

1. Description

Cronos is the Crypto.org EVM chain that aims to massively scale the DeFi ecosystem.

2. Contributing

Please abide by the Code of Conduct in all interactions, and the contributing guidelines when submitting code.

3. License

Apache 2.0

4. Documentation

Technical documentation.

5. Build full node

# COSMOS_BUILD_OPTIONS=rocksdb make install
make build

6. Start a local Development Network and Node

Please follow this documentation to run a local devnet.

7. Send Your First Transaction

After setting the local devnet, you may interact with the your local blockchain by following this documentation.

8. Testing

There are different tests that can be executed in the following ways:

CI Testing

we use Nix as our CI testing environment and use gomod2nix to convert go modules into nix packages. Therefore, to install gomod2nix is required:

go install github.com/nix-community/gomod2nix@latest

And then, you can run:

gomod2nix generate

to update gomod2nix.toml if any go package has changed.

9. Pystarport Quick Start

you can install pystarport to manage nodes for development.

install latest python (for linux)

python version should be 3.8 or above. you can install python like this.

git clone git@github.com:python/cpython.git
cd cpython
git checkout tags/v3.9.5
./configure
make
sudo make install

set path (for linux or for mac)

in some cases, if there are multiple python versions, pystarport cannot be found. then adjust python path. also $HOME/.local/bin should be included to the PATH.

export PATH=/usr/local/bin:$HOME/.local/bin:$PATH

install pystarport

python3 -m pip install pystarport

quick start

run two nodes devnet

pystarport serve --config ./scripts/cronos-devnet.yaml

get status

pystarport supervisorctl status

stop all

pystarport supervisorctl stop all

10. Useful links

Extension points exported contracts — how you extend this code

EvmLogHandler (Interface)
EvmLogHandler defines the interface for evm log handler [4 implementers]
x/cronos/types/interfaces.go
Keyring (Interface)
(no doc) [1 implementers]
x/e2ee/keyring/keyring.go
GenerateAccountStrategy (FuncType)
(no doc)
app/test_helpers.go
CronosKeeper (Interface)
CronosKeeper defines the interface for cronos keeper [4 implementers]
x/cronos/types/interfaces.go
IbcKeeper (Interface)
IbcKeeper defines the interface for ibc keeper [3 implementers]
x/cronos/types/interfaces.go
TransferKeeper (Interface)
TransferKeeper defines the expected interface needed to transfer coin through IBC. [1 implementers]
x/cronos/types/interfaces.go
Subspace (Interface)
Subspace defines an interface that implements the legacy x/params Subspace type. NOTE: This is used solely for migratio [1 …
x/cronos/exported/exported.go

Core symbols most depended-on inside this repo

n
called by 2867
client/docs/swagger-ui/swagger-ui-bundle.js
n
called by 2867
client/docs/swagger-ui/swagger-ui-es-bundle.js
n
called by 2618
client/docs/swagger-ui/swagger-ui.js
n
called by 2618
client/docs/swagger-ui/swagger-ui-es-bundle-core.js
n
called by 1589
client/docs/swagger-ui/swagger-ui-standalone-preset.js
o
called by 496
client/docs/swagger-ui/swagger-ui-bundle.js
o
called by 496
client/docs/swagger-ui/swagger-ui-es-bundle.js
r
called by 463
client/docs/swagger-ui/swagger-ui-bundle.js

Shape

Function 2,344
Method 1,488
Struct 207
Class 69
Interface 22
TypeAlias 7
Route 3
FuncType 2

Languages

Go48%
TypeScript36%
Python16%

Modules by API surface

client/docs/swagger-ui/swagger-ui-es-bundle.js470 symbols
client/docs/swagger-ui/swagger-ui-bundle.js470 symbols
x/cronos/types/tx.pb.go275 symbols
x/cronos/types/query.pb.go230 symbols
client/docs/swagger-ui/swagger-ui-standalone-preset.js203 symbols
client/docs/swagger-ui/swagger-ui.js166 symbols
client/docs/swagger-ui/swagger-ui-es-bundle-core.js166 symbols
integration_tests/cosmoscli.py143 symbols
x/cronos/events/bindings/cosmos/precompile/relayer/i_relayer_module.abigen.go138 symbols
app/legacy/icaauth/types/tx.pb.go89 symbols
x/e2ee/types/query.pb.go85 symbols
x/cronos/events/bindings/cosmos/precompile/relayer/i_relayer_functions.abigen.go81 symbols

For agents

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

⬇ download graph artifact