تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

lightning-security-module

بواسطة roasbeef

DevOps & Cloud
816التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Set up an lnd remote signer container that holds private keys separately from the agent.

الوصف

ما الذي تفعله هذه المهارة

Runs an lnd node in a dedicated container or process that holds private keys and performs cryptographic signing, separate from the watch-only litd node that handles routing and channel management. The signer communicates with the watch-only node over authenticated gRPC. Even a fully compromised agent machine cannot extract keys or sign transactions without the signer.

Separating key material means a compromised agent machine can read channel state and balances but cannot sign transactions or extract the seed mnemonic.

متى تستخدمها

  • Isolating Lightning private keys from an AI agent machine
  • Running a watch-only litd node paired with a remote key signer
  • Testing a split-custody Lightning setup locally with two containers
  • Exporting a credentials bundle to bootstrap a watch-only wallet
  • Hardening a production Lightning node against agent-side compromise

مثال على سير العمل

الإدخال

User asks: Set up a remote signer so my AI agent's Lightning node can't access private keys

الوكيل
  1. 1

    Runs install.sh on the signer machine to pull the lnd Docker image

  2. 2

    Starts the signer container with start-signer.sh

  3. 3

    Runs setup-signer.sh to create the wallet and export the credentials bundle

  4. 4

    Transfers the credentials bundle to the agent machine and imports it with import-credentials.sh

  5. 5

    Starts litd in watch-only mode and creates the watch-only wallet

الإخراج

Watch-only litd node running on the agent machine, connected to the remote signer via gRPC; private keys never leave the signer machine

المتطلبات

  • Docker

التثبيت

clawhub install roasbeef/lightning-security-module

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط