MCPcopy Index your code
hub / github.com/bttcprotocol/bttc

github.com/bttcprotocol/bttc @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
16,519 symbols 78,567 edges 1,229 files 8,700 documented · 53%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Bttc

Official Golang implementation of the BTTC protocol. It is a fork of Go Ethereum - https://github.com/ethereum/go-ethereum and EVM compatible.

Building the source

Building bttc requires both a Go (version 1.14 or later) and a C compiler. You can install them using your favourite package manager. Once the dependencies are installed, run

make bttc

or, to build the full suite of utilities:

make bttc-all

License

The go-ethereum library (i.e. all code outside of the cmd directory) is licensed under the GNU Lesser General Public License v3.0, also included in our repository in the COPYING.LESSER file.

The go-ethereum binaries (i.e. all code inside of the cmd directory) is licensed under the GNU General Public License v3.0, also included in our repository in the COPYING file.

Extension points exported contracts — how you extend this code

Subscription (Interface)
TODO: move subscription to package event Subscription represents an event subscription where events are delivered on a d [6 …
interfaces.go
Encoder (Interface)
Encoder is implemented by types that require custom encoding rules or want to encode private fields. [20 implementers]
rlp/encode.go
KeccakState (Interface)
KeccakState wraps sha3.state. In addition to the usual hash methods, it also supports Read to get a variable amount of d [10 …
crypto/crypto.go
GaugeFloat64 (Interface)
GaugeFloat64s hold a float64 value that can be set arbitrarily. [6 implementers]
metrics/gauge_float64.go
Stoppable (Interface)
Stoppable defines the metrics which has to be stopped. [47 implementers]
metrics/registry.go
Processor (Interface)
Processor is an interface for processing blocks using a given initial state. [6 implementers]
core/types.go
ChainContext (Interface)
ChainContext supports retrieving headers and consensus parameters from the current blockchain to be used during transact [6 …
core/evm.go
AccountIterator (Interface)
AccountIterator is an iterator to step over all the accounts in a snapshot, which may or may not be composed of multiple [10 …
core/state/snapshot/iterator.go

Core symbols most depended-on inside this repo

Errorf
called by 2865
internal/utesting/utesting.go
Fatalf
called by 2125
internal/utesting/utesting.go
Hash
called by 1193
core/state/database.go
Fatal
called by 1090
internal/utesting/utesting.go
New
called by 1003
log/logger.go
Unlock
called by 647
mobile/accounts.go
Lock
called by 609
mobile/accounts.go
Uint64
called by 601
core/types/block.go

Shape

Method 8,233
Function 6,126
Struct 1,642
TypeAlias 246
Interface 189
FuncType 71
Class 12

Languages

Go96%
C++2%
TypeScript1%
C1%
Java1%
Python1%

Modules by API surface

accounts/usbwallet/trezor/messages-management.pb.go300 symbols
internal/jsre/deps/web3.js162 symbols
accounts/usbwallet/trezor/messages-common.pb.go143 symbols
accounts/usbwallet/trezor/messages-ethereum.pb.go134 symbols
internal/ethapi/api.go123 symbols
eth/downloader/downloader_test.go123 symbols
core/blockchain_sethead_test.go117 symbols
graphql/graphql.go112 symbols
core/blockchain_repair_test.go112 symbols
les/peer.go107 symbols
metrics/sample.go101 symbols
mobile/types.go96 symbols

For agents

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

⬇ download graph artifact