MCPcopy Index your code
hub / github.com/GalaChain/sdk

github.com/GalaChain/sdk @v3.1.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.1.3 ↗ · + Follow
2,426 symbols 6,520 edges 454 files 158 documented · 7% updated 1d agov3.1.3 · 2026-06-17★ 13939 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GalaChain SDK

Welcome to developing with GalaChain! GalaChain SDK is a set of TS tools to help you develop on GalaChain:

  • Utility libraries and chaincode framework to allow seamless development of chaincodes
  • Local development environment with hot code reload and local block browser
  • Easy start with chaincode template
  • Integration with GalaChain

Contributing

We welcome contributions to GalaChain SDK! Feel free to open issues and pull requests. Please see our contribution guide for more information, or look for the good first issue label on GitHub.

Getting started

To get started with GalaChain SDK, please see our Getting started guide or follow the From zero to deployment tutorial.

Working with GalaChain

Reference documentation

  • chain-api - Common types, DTOs (Data Transfer Objects), APIs, signatures, and utils for GalaChain
  • chain-client - GalaChain client library
  • chain-test - Unit testing and integration testing for GalaChain
  • chain-cli - Command line interface for chaincode development
  • chaincode - Framework for building chaincodes on GalaChain

About GalaChain

GalaChain is a layer 1 blockchain designed to be the foundation of Web3 Gaming, Entertainment and more. It is based on Hyperledger Fabric ® and developed by Gala Games. Read more about GalaChain.

Extension points exported contracts — how you extend this code

GalaLoggerInstance (Interface)
* Interface for GalaChain logger instance with various logging methods. * Provides structured logging capabilities for [1 …
chain-test/src/unit/fixture.ts
GalaLoggerInstance (Interface)
(no doc) [2 implementers]
chaincode/src/types/GalaLoggerInstance.ts
PublicKeyContractAPI (Interface)
(no doc) [1 implementers]
chain-api/src/client/api/PublicKeyContractAPI.ts
AppleContractAPI (Interface)
(no doc) [1 implementers]
chain-cli/chaincode-template/e2e/apples.spec.ts
GetChaincodeDeploymentDto (Interface)
(no doc)
chain-cli/src/dto.ts
HFClientConfig (Interface)
(no doc)
chain-client/src/gcclient.ts
ExtendedEip1193Provider (Interface)
(no doc)
chain-connect/src/helpers.ts
ChaincodeFromContractClassType (Interface)
* Interface for Hyperledger Fabric's ChaincodeFromContract class. * This is used internally to create chaincode instanc
chain-test/src/unit/TestChaincode.ts

Core symbols most depended-on inside this repo

signed
called by 200
chain-api/src/types/dtos.ts
toString
called by 180
chain-api/src/types/TokenClass.ts
transactionSuccess
called by 169
chain-test/src/matchers.ts
ChainKey
called by 156
chain-api/src/utils/chain-decorators.ts
createValidSubmitDTO
called by 135
chain-api/src/types/dtos.ts
invoke
called by 134
chain-test/src/unit/TestChaincode.ts
BigNumberProperty
called by 120
chain-api/src/validators/transform-decorators.ts
from
called by 116
chain-api/src/ethers/signature.ts

Shape

Class 800
Function 726
Method 696
Interface 185
Enum 19

Languages

TypeScript100%

Modules by API surface

chain-api/src/types/fee.ts68 symbols
chain-api/src/types/dtos.ts60 symbols
chain-api/src/types/TokenBalance.ts59 symbols
chaincode/src/contracts/authenticate.ts50 symbols
chaincode/src/__test__/GalaChainTokenContract.ts48 symbols
chaincode/src/types/GalaChainStub.ts41 symbols
chain-cli/chaincode-template/src/token/GalaChainTokenContract.ts39 symbols
chain-api/src/utils/error.ts39 symbols
chaincode/src/allowances/AllowanceError.ts36 symbols
chain-api/src/types/TokenInstance.ts34 symbols
chain-api/src/utils/signatures/eth.ts33 symbols
chaincode/src/types/GalaLoggerInstance.ts31 symbols

For agents

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

⬇ download graph artifact