MCPcopy Index your code
hub / github.com/dapplink-labs/wallet-chain-node

github.com/dapplink-labs/wallet-chain-node @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
1,033 symbols 1,685 edges 24 files 172 documented · 17% updated 20mo agov1.0.0 · 2022-09-20★ 1283 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Savour Core 项目

Version License: Apache-2.0 GoDoc

Savour HD 是 Savour 项目的钱包的 HD. 后端服务,使用 golang 编写,提供 grpc 接口给上层服务访问

注意: 需要 Go 1.18+

安装

安装依赖

go mod tidy

构建程序

go build 或者 go install savour-hd

启动程序

./savour-hd -c ./config.yml

启动 RPC 接口测试界面

grpcui -plaintext 127.0.0.1:8089

贡献代码

第一步: fork 仓库

将 savour-core fork 到您自己的代码仓库

第二步: clone 您自己仓库的代码

git@github.com:guoshijiang/savour-hd.git

第三步:建立分支编写提交代码

git branch -C xxx
git checkout xxx
编写您的代码
git add .
git commit -m "xxx"
git push origin xxx

第四步:提交 PR

到你的 github 上面有一个 pr, 提交到 savour-core 代码库

第五步:review 完成

待 savour-core 代码维护者 review 通过之后代码会合并到 savour-core 库中,至此,您的 PR 就提交完成了

Extension points exported contracts — how you extend this code

WalletAdaptor (Interface)
(no doc) [6 implementers]
wallet/walletadaptor.go
CommonRequest (Interface)
(no doc) [20 implementers]
walletdispatcher/dispatcher.go
Client (Interface)
(no doc)
wallet/multiclient/client.go
Client (Interface)
(no doc)
wallet/ethereum/ethclient.go

Core symbols most depended-on inside this repo

Error
called by 181
wallet/ethereum/factory/token.go
preHandler
called by 23
walletdispatcher/dispatcher.go
getClient
called by 20
wallet/bitcoin/bitcoin.go
getClient
called by 16
wallet/ethereum/ethereum.go
Transact
called by 10
wallet/ethereum/factory/token.go
Call
called by 9
wallet/ethereum/factory/token.go
GetNetwork
called by 8
wallet/bitcoin/btcclient.go
btcToSatoshi
called by 8
wallet/bitcoin/bitcoin.go

Shape

Method 822
Struct 103
Function 96
Interface 7
TypeAlias 5

Languages

Go100%

Modules by API surface

rpc/wallet/wallet.pb.go499 symbols
rpc/wallet/wallet_grpc.pb.go124 symbols
wallet/ethereum/factory/token.go97 symbols
wallet/bitcoin/bitcoin.go42 symbols
wallet/tron/tron.go37 symbols
wallet/ethereum/ethereum.go37 symbols
walletdispatcher/dispatcher.go30 symbols
wallet/solana/solana.go28 symbols
wallet/walletadaptor.go24 symbols
wallet/solana/solanaclient.go20 symbols
wallet/bitcoin/btcclient.go15 symbols
wallet/ethereum/factory/wrapper.go12 symbols

For agents

$ claude mcp add wallet-chain-node \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact