king-bcolor / dsh-chaingate-wallet-plugin

已收录

上游仓库没有提供项目描述。

main工具 查看源代码

安装

npx -y @deepseek-ai/dsh plugin --profile web add github:king-bcolor/dsh-chaingate-wallet-plugin

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 3a49660同步于 2026年8月18日

dsh-chaingate-wallet-plugin

中文文档README.zh-CN.md

A DeepSeek Harness wallet plugin built with the ChainGate TypeScript SDK.

What it is

dsh-chaingate-wallet-plugin exposes multi-chain wallet capabilities to DSH agents: HD wallet creation/import, address derivation, balances (native, ERC-20, NFT), transaction history, UTXO, fee estimation, gas tracking, signing, and broadcasting — via structured tools.

Features

  • HD wallet create/import from mnemonic, private key, WIF, xpriv, xpub, keystore.
  • Multi-chain networks: BTC, LTC, DOGE, BCH, ETH, AVAX (full API); Polygon, Arbitrum, Base, BNB Chain, Sonic (RPC-only); any EVM chain via custom RPC.
  • Balances with confirmed/unconfirmed split and fiat conversion.
  • Native, ERC-20, NFT transfer and contract calls with fee estimation.
  • Message signing/verification; AES-256-GCM wallet encryption; view-only wallets.
  • Broadcast operations require explicit confirmation.
  • Built-in DSH web UI: a sidebar ChainGate 钱包 panel that replaces only the conversation pane. Home shows wallet switching plus BTC/ETH balances in USD/CNY; transfers are AI-assisted — paste the recipient's text or screenshot and AI validates the address/network/amount, prepares fees, and asks for one final confirmation before broadcasting. Advanced tools are collapsed under 高级.

Use cases

  • Create or import a wallet and derive addresses.
  • Check native/token balances and fiat value.
  • Review transaction history and UTXOs.
  • Send crypto with recommended fee and explicit confirmation.
  • Connect any EVM chain through a custom RPC URL.

See docs/用例目录/README.md for the full SDK use-case catalog (Chinese).

Installation

Preconditions

  • Node.js 22+, dsh CLI installed.
  • npm install chaingate is bundled as a dependency.

Install from GitHub

dsh plugin --profile default add github:king-bcolor/dsh-chaingate-wallet-plugin
# allowlist build in $DSH_HOME/profiles/default/pnpm-workspace.yaml if requested

Install locally

git clone https://github.com/king-bcolor/dsh-chaingate-wallet-plugin.git
cd dsh-chaingate-wallet-plugin
dsh plugin --profile default add .

Usage

Start the web profile and open the printed URL (default http://127.0.0.1:3080):

dsh web

In the web UI sidebar, click ChainGate 钱包 to open the wallet console. For a CLI-only profile:

dsh --profile default

Example prompts:

  • Create a new Bitcoin wallet and show the first address.
  • Check the ETH balance of address 0x...
  • Estimate fees and send 0.01 ETH to 0x... (you will be asked to confirm)

Configuration

- id: chaingate-wallet
  name: dsh-chaingate-wallet-plugin
  config:
    apiKey: ""
    defaultNetwork: ethereum
    confirmBroadcast: true

Security

Never share your mnemonic or private key. The plugin encrypts wallets with AES-256-GCM and never logs secrets.

Development

TDD is mandatory:

npm install
npm test
npm pack --dry-run

License

MIT

项目文件与信号

以下项目是目录快照中检测到的公开仓库信号。

测试已检测
文档已检测

仓库信息

开发语言
JavaScript
许可证
未提供
最新发布
v0.3.0
最后更新
2026年8月16日 21:26

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。