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. 오후 9:26

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.