MCPcopy Index your code
hub / github.com/DecentralCardGame/Cardchain

github.com/DecentralCardGame/Cardchain @v0.81

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.81 ↗ · + Follow
3,517 symbols 7,477 edges 323 files 240 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

cardchain

cardchain is a blockchain built using Cosmos SDK and Tendermint and created with Starport.

Get started

starport chain serve

serve command installs dependencies, builds, initializes, and starts your blockchain in development.

Configure

Your blockchain in development can be configured with config.yml. To learn more, see the Starport docs.

Web Frontend

Starport has scaffolded a Vue.js-based web app in the vue directory. Run the following commands to install dependencies and start the app:

cd vue
npm install
npm run serve

The frontend app is built using the @starport/vue and @starport/vuex packages. For details, see the monorepo for Starport front-end development.

Release

To release a new version of your blockchain, create and push a new tag with v prefix. A new draft release with the configured targets will be created.

git tag v0.1
git push origin v0.1

After a draft release is created, make your final changes from the release page and publish it.

Install

To install the latest version of your blockchain node's binary, execute the following command on your machine:

curl https://get.starport.com/DecentralCardGame/Cardchain@latest! | sudo bash

DecentralCardGame/Cardchain should match the username and repo_name of the Github repository to which the source code was pushed. Learn more about the install process.

Learn more

Extension points exported contracts — how you extend this code

AccountKeeper (Interface)
AccountKeeper defines the expected account keeper used for simulations (noalias)
x/cardchain/types/expected_keepers.go
SimApp (Interface)
(no doc) [1 implementers]
app/simulation_test.go
BankKeeper (Interface)
BankKeeper defines the expected interface needed to retrieve account balances.
x/cardchain/types/expected_keepers.go

Core symbols most depended-on inside this repo

Set
called by 83
x/cardchain/types/generic_type_keeper/generic_type_keeper.go
Get
called by 82
x/cardchain/types/generic_type_keeper/generic_type_keeper.go
ValidateBasic
called by 40
x/cardchain/types/proposal.go
AccAddress
called by 40
testutil/sample/sample.go
GetUserFromString
called by 26
x/cardchain/keeper/user.go
GetParams
called by 25
x/cardchain/keeper/params.go
SetUserFromUser
called by 23
x/cardchain/keeper/user.go
GetAll
called by 18
x/cardchain/types/generic_type_keeper/generic_type_keeper.go

Shape

Method 2,865
Function 483
Struct 152
TypeAlias 10
Interface 7

Languages

Go100%
Python1%

Modules by API surface

x/cardchain/types/tx.pb.go1,532 symbols
x/cardchain/types/query.pb.go609 symbols
x/cardchain/types/user.pb.go76 symbols
x/cardchain/types/council.pb.go67 symbols
x/cardchain/types/card.pb.go64 symbols
x/cardchain/types/collection.pb.go56 symbols
x/cardchain/types/match.pb.go45 symbols
x/cardchain/types/query.pb.gw.go38 symbols
x/cardchain/types/params.pb.go32 symbols
x/cardchain/types/genesis.pb.go32 symbols
x/cardchain/types/voting_results.pb.go27 symbols
x/cardchain/types/sell_offer.pb.go27 symbols

For agents

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

⬇ download graph artifact