MCPcopy
hub / github.com/IBAX-io/go-ibax

github.com/IBAX-io/go-ibax @v1.4.3 sqlite

repository ↗ · DeepWiki ↗ · release v1.4.3 ↗
3,159 symbols 11,556 edges 407 files 963 documented · 30%
README

IBAX Blockchain System Platform

Go Reference Go Report Card

The Most Powerful Infrastructure for Applications on Decentralized/Centralized Ecosystems

A powerful blockchain system platform with a new system framework and a simplified programming language, it is including smart contract, database table and interface.

Build from Source

Install Go

The build process for go-ibax requires Go 1.17 or higher. If you don't have it: Download Go 1.17+.

You'll need to add Go's bin directories to your $PATH environment variable e.g., by adding these lines to your /etc/profile (for a system-wide installation) or $HOME/.profile:

export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:$GOPATH/bin

(If you run into trouble, see the Go install instructions).

Compile

$ export GOPROXY=https://athens.azurefd.net
$ GO111MODULE=on go mod tidy -v

$ go build

Run

  1. Create the node configuration file:
$    go-ibax config
  1. Generate node keys:
$    go-ibax generateKeys
  1. Generate the first block. If you are creating your own blockchain network. You must use the --test=true option. Otherwise you will not be able to create new accounts.
$    go-ibax generateFirstBlock --test=true
  1. Initialize the database.
$    go-ibax initDatabase

5.Starting go-ibax.

$    go-ibax start

Extension points exported contracts — how you extend this code

Handler (Interface)
Handler represents interface of task handler [6 implementers]
packages/scheduler/task.go
SelfReaderWriter (Interface)
SelfReaderWriter read from Reader to himself and write to io.Writer from himself [14 implementers]
packages/network/protocol.go
Limiter (Interface)
Limiter describes interface functions for limits [6 implementers]
packages/transaction/limits.go
PartModel (Interface)
(no doc) [13 implementers]
packages/service/jsonrpc/common.go
ClientTxPreprocessor (Interface)
ClientTxPreprocessor procees tx from client [2 implementers]
packages/types/mode_interfaces.go
Clock (Interface)
Clock represents interface of clock [2 implementers]
packages/utils/clock.go
KeyTableChecker (Interface)
KeyTableChecker checks table [2 implementers]
packages/storage/sqldb/queryBuilder/query_builder.go
HashProvider (Interface)
(no doc) [4 implementers]
packages/common/crypto/provider.go

Core symbols most depended-on inside this repo

Error
called by 737
packages/api/errors.go
Error
called by 366
packages/service/jsonrpc/errors.go
Errorf
called by 325
packages/api/errors.go
New
called by 257
packages/service/jsonrpc/namespace.go
Errorf
called by 184
packages/storage/sqldb/responecode.go
errorResponse
called by 177
packages/api/api.go
GetDB
called by 132
packages/storage/sqldb/db.go
Int64ToStr
called by 119
packages/converter/converter.go

Shape

Function 1,401
Method 1,200
Struct 461
TypeAlias 54
Interface 34
FuncType 9

Languages

Go100%

Modules by API surface

packages/smart/funcs.go100 symbols
packages/types/play.pb.go84 symbols
packages/pbgo/tx.pb.go71 symbols
packages/converter/converter.go67 symbols
packages/service/jsonrpc/common.go65 symbols
packages/template/funcs.go64 symbols
packages/conf/syspar/syspar.go61 symbols
packages/types/block.pb.go57 symbols
packages/network/protocol.go57 symbols
packages/storage/sqldb/db.go48 symbols
packages/smart/smart_p.go44 symbols
packages/service/jsonrpc/block.go43 symbols

Dependencies from manifests, versioned

github.com/360EntSecGroup-Skylar/excelizev1.4.1 · 1×
github.com/Masterminds/semver/v3v3.2.1 · 1×
github.com/aymerick/douceurv0.2.0 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/btcsuite/btclogv0.0.0-2017062815530 · 1×
github.com/cactus/go-statsd-client/v5v5.1.0 · 1×
github.com/centrifugal/gocentv2.2.0+incompatible · 1×

For agents

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

⬇ download graph artifact