DeepSeek Harness 插件

dsh-chaingate-wallet-plugin

DeepSeek Harness wallet plugin powered by the ChainGate TypeScript SDK.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
king-bcolor/dsh-chaingate-wallet-plugin
最近更新
2026年8月16日
分类
插件开发工具
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/king-bcolor/dsh-chaingate-wallet-plugin
插件名:dsh-chaingate-wallet-plugin
作者:king-bcolor

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览
README 语言

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](./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