MCPcopy Index your code
hub / github.com/MinterTeam/minter-go-node

github.com/MinterTeam/minter-go-node @v3.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.3.0 ↗ · + Follow
4,646 symbols 31,329 edges 427 files 789 documented · 17%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Version Go version License Last commit Go Report Card Github Actions Report Card Docker Pulls

Minter is a global rewards and loyalty points network powered by a fast blockchain. Any brand, community, or blogger can create their own coins and launch their reward or loyalty system in minutes.

NOTE: This is alpha software. Please contact us if you intend to run it in production.

Installation

Docker

  1. Grab latest docker-compose, save docker-compose.yml and run docker-compose up -d. To run it in production we recommend to use bind host mount instead of volume.

  2. To build from source clone this repo, make your changes and run docker-compose up --build -d

Manual

You can get official installation instructions in our docs.

  1. Download Minter Node

Get latest binary build suitable for your architecture and unpack it to desired folder.

  1. Run Minter Node
./minter node

Resources

Related repositories

Community

Versioning

SemVer

Minter uses SemVer to determine when and how the version changes. According to SemVer, anything in the public API can change at any time before version 1.0.0

To provide some stability to Minter users in these 0.X.X days, the MINOR version is used to signal breaking changes across a subset of the total public API. This subset includes all interfaces exposed to other processes, but does not include the in-process Go APIs.

Upgrades

In an effort to avoid accumulating technical debt prior to 1.0.0, we do not guarantee that breaking changes (ie. bumps in the MINOR version) will work with existing blockchain. In these cases you will have to start a new blockchain, or write something custom to get the old data into the new chain.

However, any bump in the PATCH version should be compatible with existing histories (if not please open an issue).

Extension points exported contracts — how you extend this code

Event (Interface)
(no doc) [12 implementers]
coreV2/events/types.go
CandidateTx (Interface)
(no doc) [11 implementers]
coreV2/transaction/edit_candidate.go
Encoder (Interface)
Encoder is implemented by types that require custom encoding rules or want to encode private fields. [1 implementers]
rlp/encode.go
Decoder (Interface)
Decoder is implemented by types that require custom RLP decoding rules or need to decode into private fields. The Decod [1 …
rlp/decode.go
RCandidates (Interface)
RCandidates interface represents Candidates state [1 implementers]
coreV2/state/candidates/candidates.go
MTree (Interface)
MTree mutable tree, used for txs delivery [1 implementers]
tree/tree.go
IEventsDB (Interface)
IEventsDB is an interface of Events [2 implementers]
coreV2/events/store.go
Data (Interface)
(no doc) [57 implementers]
coreV2/transaction/transaction.go

Core symbols most depended-on inside this repo

String
called by 2887
coreV2/transaction/transaction.go
StringToBigInt
called by 1008
helpers/helpers.go
BipToPip
called by 948
helpers/helpers.go
Error
called by 791
coreV2/mempool/errors.go
EncodeToBytes
called by 724
rlp/encode.go
GetBaseCoinID
called by 591
coreV2/types/constants.go
EncodeError
called by 501
coreV2/transaction/executor.go
Sub
called by 440
crypto/bn256/gfp2.go

Shape

Method 2,389
Function 1,772
Struct 391
Interface 52
TypeAlias 31
Class 8
FuncType 3

Languages

Go89%
C++6%
C4%
Java1%

Modules by API surface

cli/cli_pb/manager.pb.go172 symbols
coreV2/code/code.go151 symbols
coreV2/state/swap/swap.go122 symbols
coreV2/state/swap/order.go116 symbols
coreV2/events/types.go115 symbols
crypto/secp256k1/libsecp256k1/src/tests.c95 symbols
coreV2/state/candidates/candidates.go94 symbols
coreV2/appdb/types/snapshot.pb.go74 symbols
coreV2/state/swap/order_test.go73 symbols
coreV2/types/types.go70 symbols
coreV2/state/swap/orderV2.go66 symbols
coreV2/state/swap/swapV2.go65 symbols

For agents

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

⬇ download graph artifact