MCPcopy Index your code
hub / github.com/QOSGroup/qbase

github.com/QOSGroup/qbase @v0.2.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.5 ↗ · + Follow
1,565 symbols 6,055 edges 148 files 701 documented · 45%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

qbase

version Build Status codecov API Reference Go version license

qbase是QOS通用区块链应用框架,基于此框架开发QOS公链和联盟区块链应用,提供了通用的存储、交易和QCP跨链协议。

感谢tendermint团队,此框架基于tendermint研发,实现了ABCI应用的通用封装。

感谢cosmos团队,本框架实现参考了cosmos-sdk代码。

当前非正式版本,我们会持续完善。

Examples

Quick Start

Quick Start

已实现区块链应用

  • qos,QOS公链,支持双层代币和跨链交易
  • qstars,星云联盟链

Extension points exported contracts — how you extend this code

KVStore (Interface)
---------subsp------------------------------- KVStore KVStore is a simple interface to get/set data [5 implementers]
store/types/store.go
ITx (Interface)
功能:抽象具体的Tx结构体 [5 implementers]
txs/txstd.go
Info (Interface)
Info is the publicly exposed information about a keypair [3 implementers]
keys/keybase.go
Tx (Interface)
Tx: 对stdTx及qcpTx类型的封装 [2 implementers]
types/tx.go
I (Interface)
(no doc) [4 implementers]
baseabci/codec_test.go
Error (Interface)
sdk Error type [1 implementers]
types/errors.go
Coin (Interface)
币的通用接口 [1 implementers]
types/coin.go
AppCreator (FuncType)
AppCreator is a function that allows us to lazily initialize an application using various configurations.
server/constructors.go

Core symbols most depended-on inside this repo

Equal
called by 326
types/int.go
NewInt64BaseCoin
called by 107
types/coin.go
Set
called by 102
store/types/store.go
NewInt
called by 80
types/int.go
Get
called by 70
store/types/store.go
String
called by 67
types/coin.go
NewBaseCoin
called by 47
types/coin.go
GetPubKey
called by 40
keys/keybase.go

Shape

Method 714
Function 670
Struct 125
Interface 25
TypeAlias 18
FuncType 13

Languages

Go100%

Modules by API surface

types/int.go88 symbols
types/address.go73 symbols
context/context.go61 symbols
store/types/store.go58 symbols
keys/keybase.go53 symbols
types/coin.go52 symbols
baseabci/baseapp.go44 symbols
types/errors.go43 symbols
store/rootmulti/store.go36 symbols
store/iavl/store.go33 symbols
client/context/context.go32 symbols
store/types/gas.go31 symbols

For agents

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

⬇ download graph artifact