@termix-it/cryptoclaw 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +93 -93
- package/README.md +1 -1
- package/assets/favicon.svg +22 -0
- package/dist/{accounts-CIGHxE7R.js → accounts-BIh6Lgjl.js} +1 -1
- package/dist/{accounts-BPjR5SyC.js → accounts-DA-4bmd_.js} +1 -1
- package/dist/{acp-cli-DG9nygBk.js → acp-cli-CBFKSvET.js} +8 -8
- package/dist/{acp-cli-DBWmJpUJ.js → acp-cli-CEPAR8vh.js} +8 -8
- package/dist/{agent-3MZVCC-N.js → agent-8dTCwA-D.js} +10 -10
- package/dist/{agent-scope-DBl1We79.js → agent-scope-BJucHu4R.js} +2 -2
- package/dist/{agent-scope-e_oNRhGi.js → agent-scope-DzpuqcS9.js} +5 -1
- package/dist/{agent-scope-DLfFOxP6.js → agent-scope-GUoze5gc.js} +2 -2
- package/dist/{agent-IDE9krld.js → agent-sjalTGVA.js} +10 -10
- package/dist/{audit-jaTyyQX1.js → audit-BMzW1G5a.js} +10 -10
- package/dist/{audit-Bj_dxNaD.js → audit-DQsCrYXQ.js} +10 -10
- package/dist/{auth-health-CCM6Z3vK.js → auth-health-Cr8ib9nm.js} +1 -1
- package/dist/{auth-health-BlspzqyF.js → auth-health-Dc-ImENT.js} +1 -1
- package/dist/{auth-profiles-DoD7YxsD.js → auth-profiles-CVShF1K6.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/{call-D2DXG0AC.js → call-D-Kvee3W.js} +2 -2
- package/dist/{call-DqxlETxE.js → call-QEaFjVBF.js} +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DUkxROTo.js → channel-options-B951pKy8.js} +5 -5
- package/dist/{channel-options-BHpXOBuP.js → channel-options-DJsSCLD8.js} +3 -3
- package/dist/{channel-selection-BdigfMZZ.js → channel-selection-BWiz5Osx.js} +1 -1
- package/dist/{channel-selection-D7jFTFec.js → channel-selection-ChOffLk2.js} +1 -1
- package/dist/{channel-summary-DS0kcHm2.js → channel-summary-BQMoWZQ1.js} +5 -5
- package/dist/{channel-summary-CobMoKN6.js → channel-summary-C4kSR_wu.js} +5 -5
- package/dist/{channels-cli-DBwffwqw.js → channels-cli-Fv9FTQXn.js} +34 -34
- package/dist/{channels-cli-D7ZNRrq7.js → channels-cli-Lq6EWRJ9.js} +33 -33
- package/dist/{channels-status-issues-C2UGSPvH.js → channels-status-issues-BwOdQrU9.js} +1 -1
- package/dist/{channels-status-issues-Dxmd7zYk.js → channels-status-issues-DouPXVa3.js} +1 -1
- package/dist/{chrome-CwbWzmh4.js → chrome-D0L5ufqO.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-C9xiWnx9.js → cli-Bzyu6rQE.js} +27 -27
- package/dist/{cli-D6C9z94O.js → cli-DJnpasWd.js} +27 -27
- package/dist/{command-options-DL1PhuUF.js → command-options-DBpEhnW5.js} +3 -3
- package/dist/{commands-Dpeoos11.js → commands-B0LiAJsa.js} +3 -3
- package/dist/{completion-cli-CZ8zPqPs.js → completion-cli-Bd5FrGHg.js} +27 -27
- package/dist/{completion-cli-B5nR7jt8.js → completion-cli-Cs-B1hk7.js} +1 -1
- package/dist/{config-dQK4rbfx.js → config-D1wc31Qf.js} +4 -4
- package/dist/{config-DSpb2aMV.js → config-DBZqAqbe.js} +4 -4
- package/dist/{config-IwiWafT3.js → config-fXndcfb4.js} +2 -2
- package/dist/{config-guard-DwIb5Y-v.js → config-guard-Csl9Ubn5.js} +48 -48
- package/dist/{configure-CivCcvkA.js → configure-CeTzu0Ed.js} +20 -20
- package/dist/{configure-7M9mLC4o.js → configure-CxPJaP8X.js} +20 -20
- package/dist/{control-service-BXC31sNw.js → control-service-BBeopea3.js} +4 -4
- package/dist/{control-service-lVzEzp9f.js → control-service-CWGGzqpN.js} +4 -4
- package/dist/control-ui/apple-touch-icon.png +0 -0
- package/dist/control-ui/assets/{index-DQ-7PWhX.js → index-BdjmXlOn.js} +372 -363
- package/dist/control-ui/assets/index-BdjmXlOn.js.map +1 -0
- package/dist/control-ui/assets/{index-nlpH70Eh.css → index-BxkHytum.css} +1 -1
- package/dist/control-ui/favicon-32.png +0 -0
- package/dist/control-ui/favicon.ico +0 -0
- package/dist/control-ui/favicon.svg +4 -4
- package/dist/control-ui/index.html +2 -2
- package/dist/{cron-cli-DS8ytfYQ.js → cron-cli-D8gKivN0.js} +11 -11
- package/dist/{cron-cli-Djb3HUdz.js → cron-cli-yC5Cy77c.js} +11 -11
- package/dist/{daemon-cli-KoaJ2nJX.js → daemon-cli-BM8zb09s.js} +12 -12
- package/dist/{daemon-cli-ZQIKLvAO.js → daemon-cli-D8AC0Q_A.js} +12 -12
- package/dist/{daemon-runtime-CHWbAfKs.js → daemon-runtime-BMAJ_2LE.js} +1 -1
- package/dist/{daemon-runtime-DEjUQVjL.js → daemon-runtime-CD5XPuxz.js} +1 -1
- package/dist/{deliver-sPBfRlXT.js → deliver-CNKlQLWI.js} +6 -6
- package/dist/{deliver-OfX6bSYR.js → deliver-D8Yt4jkc.js} +6 -6
- package/dist/{deliver-DVRzRmNN.js → deliver-Doq_iIoh.js} +3 -3
- package/dist/{deps-CZOfeWEp.js → deps-BhcPiVuz.js} +2 -2
- package/dist/{deps-BSdWD2wF.js → deps-ZGqhOjkR.js} +2 -2
- package/dist/{devices-cli-b9iF_uOi.js → devices-cli-BcIB2VyK.js} +7 -7
- package/dist/{devices-cli-DHSpDnCS.js → devices-cli-BcznR9RO.js} +7 -7
- package/dist/{directory-cli-qniSxsHo.js → directory-cli--IOOMz66.js} +11 -11
- package/dist/{directory-cli-D0dTuAem.js → directory-cli-DGFlpQ4T.js} +11 -11
- package/dist/{dispatcher-DA3u3CwV.js → dispatcher-cp7uHiyX.js} +1 -1
- package/dist/{dns-cli-DwwMpMuN.js → dns-cli-DkhYuREi.js} +9 -9
- package/dist/{dns-cli-C0JUNb9O.js → dns-cli-fQ4wu1HJ.js} +9 -9
- package/dist/{docs-cli-BlFHCHDz.js → docs-cli-BgnDzmFT.js} +8 -8
- package/dist/{docs-cli-BpSPrY3Y.js → docs-cli-CPaJzUSD.js} +8 -8
- package/dist/{doctor-Da1XgFcW.js → doctor-D6M3Hc0a.js} +21 -21
- package/dist/{doctor-qrtookj-.js → doctor-DRRL31R4.js} +21 -21
- package/dist/entry.js +1 -1
- package/dist/{errors--S5IAxQx.js → errors-DpH6VpWK.js} +1 -1
- package/dist/{exec-approvals-cli-Csgqkksl.js → exec-approvals-cli-BhEdzGao.js} +12 -12
- package/dist/{exec-approvals-cli-Dk4yHE2L.js → exec-approvals-cli-DHMroOAh.js} +12 -12
- package/dist/extensionAPI.js +25 -25
- package/dist/{gateway-cli-CJ7H2DgV.js → gateway-cli-CbQ4xoXp.js} +183 -108
- package/dist/{gateway-cli-CrKl-bIH.js → gateway-cli-DO7lIBZ5.js} +185 -110
- package/dist/{gateway-rpc-BPfCU2Vi.js → gateway-rpc-0hjEbkzc.js} +1 -1
- package/dist/{gateway-rpc--CH0NWWR.js → gateway-rpc-anmk3tbT.js} +1 -1
- package/dist/{github-copilot-auth-CcPEEb3Q.js → github-copilot-auth-D6I2MUxi.js} +6 -6
- package/dist/{github-copilot-auth-h3beCc_l.js → github-copilot-auth-DvShXmvU.js} +6 -6
- package/dist/{gmail-setup-utils-pZ9NnOvB.js → gmail-setup-utils-CAfk_F1J.js} +2 -2
- package/dist/{gmail-setup-utils-CnVYPhaQ.js → gmail-setup-utils-CJ1pbsWv.js} +2 -2
- package/dist/{health-format-BcsR5dtU.js → health-format-DlvTEKqI.js} +8 -8
- package/dist/{health-format-Pl8qK65t.js → health-format-SZpheYuf.js} +8 -8
- package/dist/hooks/bundled/boot-md/HOOK.md +1 -1
- package/dist/hooks/bundled/command-logger/HOOK.md +1 -1
- package/dist/hooks/bundled/session-memory/HOOK.md +1 -1
- package/dist/hooks/bundled/soul-evil/HOOK.md +1 -1
- package/dist/{hooks-cli-zkLY25DX.js → hooks-cli-CedlcxxR.js} +31 -31
- package/dist/{hooks-cli-BKHTdsn4.js → hooks-cli-DRarvOK2.js} +31 -31
- package/dist/{hooks-status-BETsyuUR.js → hooks-status-B4cP-W7z.js} +3 -3
- package/dist/{hooks-status-nPgxLL-x.js → hooks-status-n8jKv3Fm.js} +3 -3
- package/dist/{image-DAsWVn7Q.js → image-C6tw3aWy.js} +4 -4
- package/dist/{image-CC_YKDB-.js → image-CBqp4iA0.js} +3 -3
- package/dist/{image-BFNcQzKp.js → image-CQgVMkgf.js} +4 -4
- package/dist/index.js +79 -79
- package/dist/{installs-Byb3s_8P.js → installs-BhPUpyE9.js} +2 -2
- package/dist/{installs-CELeuogN.js → installs-CWAe2dOG.js} +2 -2
- package/dist/{links-cf9h8BXu.js → links-Dv1EDiwa.js} +2 -2
- package/dist/{links-Brcj2Oc-.js → links-kbubTyay.js} +2 -2
- package/dist/{loader-CU4bkeKe.js → loader-DE_vKAH5.js} +44 -44
- package/dist/{logging-BJRQDTME.js → logging-B65tlzu3.js} +2 -2
- package/dist/{logging-CD55MXc7.js → logging-C3Y3mzWS.js} +2 -2
- package/dist/{login-qr-BCr2GKX6.js → login-qr-BTMkosTm.js} +1 -1
- package/dist/{login-qr-HIPJAnbT.js → login-qr-BpdHxT8l.js} +3 -3
- package/dist/{login-qr-BMbekoZW.js → login-qr-C_Vv7Cqc.js} +3 -3
- package/dist/{logs-cli-CM7-XOcZ.js → logs-cli-_DHuOrR4.js} +9 -9
- package/dist/{logs-cli-aqjT7oHu.js → logs-cli-emy-Mg4S.js} +9 -9
- package/dist/{manager-CtGvmGvM.js → manager-CNk2RhQo.js} +3 -3
- package/dist/{manager-DpZlm3gk.js → manager-Cu-KA-wA.js} +3 -3
- package/dist/{manager-C5m5qpB0.js → manager-bvW7170C.js} +3 -3
- package/dist/{manifest-registry-BdTzIlta.js → manifest-registry-CBbBh2FT.js} +1 -1
- package/dist/{manifest-registry-DVQHMj0y.js → manifest-registry-CmLtWVRR.js} +1 -1
- package/dist/{model-selection-DuI_Ue9Q.js → model-selection-BVTyreim.js} +1 -1
- package/dist/{model-selection-Av0fLq51.js → model-selection-DmO3rB3w.js} +2 -2
- package/dist/{models-cli-gmkzOpbq.js → models-cli-CdrDfutq.js} +32 -32
- package/dist/{models-cli-C0JOZ5oP.js → models-cli-CgIqfTHx.js} +32 -32
- package/dist/{node-cli-BND9LLkM.js → node-cli-Bsn9lQ6O.js} +13 -13
- package/dist/{node-cli-DNRB94ib.js → node-cli-Ckvs6bcI.js} +13 -13
- package/dist/{nodes-cli-BCWlqHyR.js → nodes-cli-BELOAYB6.js} +10 -10
- package/dist/{nodes-cli-DWSo5dX7.js → nodes-cli-CTQPoAcf.js} +10 -10
- package/dist/{onboard-channels-DJz2TusQ.js → onboard-channels-B5qHfMk8.js} +6 -6
- package/dist/{onboard-channels-B75LjjVZ.js → onboard-channels-BgchLTab.js} +6 -6
- package/dist/{onboard-skills-ByHkU9nx.js → onboard-skills-CyG0xbsu.js} +17 -17
- package/dist/{onboard-skills-Wknr7pxR.js → onboard-skills-DEnuz7z3.js} +17 -17
- package/dist/{onboarding-BejDjkx5.js → onboarding-B6aTF0nd.js} +37 -37
- package/dist/{openclaw-root-_zPXSqgo.js → openclaw-root-Cx_l_MXP.js} +6 -2
- package/dist/{openclaw-root-YSGWCNem.js → openclaw-root-DJB4AQtF.js} +6 -2
- package/dist/{pairing-cli-Cn5vt4oI.js → pairing-cli-C_PnyRzK.js} +11 -11
- package/dist/{pairing-cli-CFqD3IdI.js → pairing-cli-CocCRLzF.js} +11 -11
- package/dist/{pairing-store-BHzy16_t.js → pairing-store-Dbotpoz6.js} +1 -1
- package/dist/{pairing-store-BOhO49Bi.js → pairing-store-cC0TwSYc.js} +1 -1
- package/dist/{paths-Dlp4VNXa.js → paths-B7p98Wg9.js} +1 -1
- package/dist/{pi-embedded-helpers-CQ9sq3Uu.js → pi-embedded-helpers-Bmu_uE8Y.js} +4 -4
- package/dist/{pi-embedded-helpers-B7ARjDEK.js → pi-embedded-helpers-CT7w1pYd.js} +2 -2
- package/dist/{pi-embedded-helpers-FPVRDeKf.js → pi-embedded-helpers-DRK9Qub7.js} +2 -2
- package/dist/{pi-tools.policy-Du4RZy9R.js → pi-tools.policy-BjgXXFkH.js} +3 -3
- package/dist/{plugin-auto-enable-RwRwIUKC.js → plugin-auto-enable-BmBAQgRq.js} +4 -4
- package/dist/{plugin-auto-enable-EBxTHjFJ.js → plugin-auto-enable-CBfM3u2p.js} +4 -4
- package/dist/plugin-sdk/index.js +1 -1
- package/dist/{plugins-BI-p2ba9.js → plugins-CB4Xjrgb.js} +2 -2
- package/dist/{plugins-Dk4UBZwz.js → plugins-CQ1FUoTO.js} +2 -2
- package/dist/{plugins-cli-CMg0G56J.js → plugins-cli-DB1NYN9W.js} +33 -33
- package/dist/{plugins-cli-CX7QeUjq.js → plugins-cli-Dn9I2nvT.js} +33 -33
- package/dist/{ports-nXmd4Efh.js → ports-CcCvup-Y.js} +2 -2
- package/dist/{program-EAMJAB_2.js → program-CL1V1uQh.js} +58 -58
- package/dist/{pw-ai-D6JUaD41.js → pw-ai-CQDH40p5.js} +2 -2
- package/dist/{pw-ai-D2jD_dho.js → pw-ai-DUv3Smif.js} +2 -2
- package/dist/{qmd-manager-B-ijyM7o.js → qmd-manager-DJdGKjf-.js} +2 -2
- package/dist/{qmd-manager-xo4abL0u.js → qmd-manager-DqhsQHr6.js} +2 -2
- package/dist/{qmd-manager-C_Jah5eo.js → qmd-manager-ym3oBzzR.js} +2 -2
- package/dist/{register.subclis-CJGimm3-.js → register.subclis-Bf9yES9h.js} +28 -28
- package/dist/{reply-DfepuqG0.js → reply-qWVVjmhR.js} +44 -44
- package/dist/{routes-DkckwrRx.js → routes-C49H9SW5.js} +4 -4
- package/dist/{routes-Q42qtNl1.js → routes-DzL6l-Oq.js} +4 -4
- package/dist/{rpc-B4lvrGrD.js → rpc-BEKdRxnk.js} +1 -1
- package/dist/{rpc-CbWcXAQK.js → rpc-jU_lA6zf.js} +1 -1
- package/dist/{run-main-JFY3X4Xh.js → run-main-C12Z921D.js} +59 -59
- package/dist/{sandbox-BGqDfFaH.js → sandbox-Cfvpk8Q8.js} +9 -9
- package/dist/{sandbox-D_Tt3WRq.js → sandbox-DcPAdlhA.js} +9 -9
- package/dist/{sandbox-cli-CaxqKiTq.js → sandbox-cli-DVfJ38Q2.js} +16 -16
- package/dist/{sandbox-cli-DA0Cbrzl.js → sandbox-cli-DqrtTHAP.js} +16 -16
- package/dist/{security-cli-Ct-pfF2h.js → security-cli-2AAajc4y.js} +18 -18
- package/dist/{security-cli-BZjA_GAD.js → security-cli-YL2ZTkkR.js} +18 -18
- package/dist/{server-context-C53lhEx_.js → server-context-9SLnBBRW.js} +4 -4
- package/dist/{server-context-B9ez46MY.js → server-context-BG54Dk0A.js} +4 -4
- package/dist/{server-node-events-Cb6QOeDH.js → server-node-events-uUSBf7hZ.js} +29 -29
- package/dist/{server-node-events-DONmQvJg.js → server-node-events-x6ZMjAs1.js} +29 -29
- package/dist/{service-audit-AsnhO40e.js → service-audit-BsDPEKdd.js} +1 -1
- package/dist/{service-audit-BM-iyLL7.js → service-audit-CCg0o0UZ.js} +1 -1
- package/dist/{skills-7V483a6m.js → skills-DaDm2aTV.js} +3 -3
- package/dist/{skills-CsZRBUj0.js → skills-DryIpWLj.js} +3 -3
- package/dist/{skills-cli-DQaq5LBX.js → skills-cli-CYZbvr7O.js} +10 -10
- package/dist/{skills-cli-dVugbaAb.js → skills-cli-eDUNGpwb.js} +10 -10
- package/dist/{skills-status-4_4zVBvV.js → skills-status-D9G4-4sK.js} +2 -2
- package/dist/{skills-status-cD4rfMR9.js → skills-status-dTiH79uI.js} +2 -2
- package/dist/{status-DSoYX3Ep.js → status-BnbwLzB2.js} +3 -3
- package/dist/{status-DHPz4Mg_.js → status-CN2V3fan.js} +37 -37
- package/dist/{status-BakhDLuG.js → status-DCrBN9vJ.js} +3 -3
- package/dist/{system-cli-CUQswQPX.js → system-cli-BEmIixtY.js} +9 -9
- package/dist/{system-cli-Cz7in_Xr.js → system-cli-ZxnlO0-v.js} +9 -9
- package/dist/{table-DDQGlZSe.js → table--L48nql9.js} +2 -2
- package/dist/{table-DAOPkdc_.js → table-C1Xupkjv.js} +2 -2
- package/dist/{tool-display-Zbh1CRw5.js → tool-display-7o4pgXYF.js} +1 -1
- package/dist/{tool-display-B2rS2o6B.js → tool-display-B9G_vqLX.js} +1 -1
- package/dist/{tui-qPHLsB-x.js → tui-3eD-E_iD.js} +6 -6
- package/dist/{tui-DFVs6pRO.js → tui-BGSteZzU.js} +6 -6
- package/dist/{tui-cli-CBKZVd1C.js → tui-cli-B9iCyCn2.js} +19 -19
- package/dist/{tui-cli-DexeJOgZ.js → tui-cli-iakTIAvk.js} +19 -19
- package/dist/{update-cli-BPUtZjbl.js → update-cli-DUO4CVNB.js} +48 -48
- package/dist/{update-cli-ehTYbpaU.js → update-cli-DlXzjuIc.js} +47 -47
- package/dist/{update-B2q3duJD.js → update-lGuOUiyd.js} +3 -3
- package/dist/{update-runner-DAeygRSU.js → update-runner-L1EJYQRF.js} +5 -5
- package/dist/{update-runner-BfncKnU6.js → update-runner-eJ773fp-.js} +5 -5
- package/dist/{update-DNnej3C6.js → update-zm4_acQX.js} +3 -3
- package/dist/{utils-D7jskKIf.js → utils-CGterW74.js} +1 -7
- package/dist/{utils-7IMqr8vR.js → utils-DV2rghi_.js} +1 -7
- package/dist/{webhooks-cli-C0CV-1jG.js → webhooks-cli-BLHZn_at.js} +10 -10
- package/dist/{webhooks-cli-DT16BygW.js → webhooks-cli-UhujyhVU.js} +10 -10
- package/dist/{widearea-dns-Dk82I4Xa.js → widearea-dns-BKbb6W_z.js} +1 -1
- package/dist/{widearea-dns-BJZTAyT3.js → widearea-dns-CVZf20c2.js} +1 -1
- package/dist/{wsl-C24YfxH9.js → wsl-DntkIGSe.js} +1 -1
- package/docs/assets/pixel-lobster.svg +3 -3
- package/docs/blockchain/aave.md +72 -0
- package/docs/blockchain/agent-identity.md +73 -0
- package/docs/blockchain/contracts.md +96 -0
- package/docs/blockchain/defi.md +61 -0
- package/docs/blockchain/index.md +92 -0
- package/docs/blockchain/market-data.md +98 -0
- package/docs/blockchain/nft.md +44 -0
- package/docs/blockchain/portfolio.md +57 -0
- package/docs/blockchain/security.md +83 -0
- package/docs/blockchain/swap.md +89 -0
- package/docs/blockchain/wallet.md +77 -0
- package/docs/concepts/features.md +29 -10
- package/docs/docs.json +76 -6
- package/docs/index.md +44 -44
- package/docs/start/getting-started.md +10 -9
- package/docs/zh-CN/blockchain/aave.md +63 -0
- package/docs/zh-CN/blockchain/agent-identity.md +62 -0
- package/docs/zh-CN/blockchain/contracts.md +64 -0
- package/docs/zh-CN/blockchain/defi.md +49 -0
- package/docs/zh-CN/blockchain/index.md +92 -0
- package/docs/zh-CN/blockchain/market-data.md +68 -0
- package/docs/zh-CN/blockchain/nft.md +43 -0
- package/docs/zh-CN/blockchain/portfolio.md +49 -0
- package/docs/zh-CN/blockchain/security.md +75 -0
- package/docs/zh-CN/blockchain/swap.md +68 -0
- package/docs/zh-CN/blockchain/wallet.md +71 -0
- package/extensions/copilot-proxy/README.md +3 -3
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diagnostics-otel/src/service.test.ts +12 -12
- package/extensions/diagnostics-otel/src/service.ts +79 -79
- package/extensions/discord/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/config.ts +3 -3
- package/extensions/memory-lancedb/{openclaw.plugin.json → cryptoclaw.plugin.json} +1 -1
- package/extensions/memory-lancedb/index.test.ts +2 -2
- package/extensions/memory-lancedb/index.ts +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/nostr/README.md +5 -5
- package/extensions/nostr/package.json +1 -1
- package/extensions/nostr/src/channel.ts +1 -1
- package/extensions/nostr/src/nostr-state-store.test.ts +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/voice-call/README.md +14 -14
- package/extensions/voice-call/package.json +1 -1
- package/extensions/voice-call/src/cli.ts +1 -1
- package/extensions/voice-call/src/core-bridge.ts +1 -1
- package/extensions/voice-call/src/manager.test.ts +6 -6
- package/extensions/voice-call/src/manager.ts +1 -1
- package/extensions/voice-call/src/response-generator.ts +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/package.json +1 -1
- package/skills/aave-bsc/SKILL.md +6 -0
- package/skills/coding-agent/SKILL.md +5 -5
- package/skills/discord/SKILL.md +6 -6
- package/skills/tmux/SKILL.md +6 -6
- package/dist/control-ui/assets/index-DQ-7PWhX.js.map +0 -1
- /package/extensions/copilot-proxy/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/diagnostics-otel/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/discord/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/imessage/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/memory-core/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/nostr/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/signal/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/slack/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/telegram/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/voice-call/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/whatsapp/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Deploy, call, and verify smart contracts on any supported EVM chain."
|
|
3
|
+
title: "Smart Contracts"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Smart Contracts
|
|
7
|
+
|
|
8
|
+
CryptoClaw helps you deploy and interact with smart contracts across supported EVM chains.
|
|
9
|
+
|
|
10
|
+
## Operations
|
|
11
|
+
|
|
12
|
+
| Tool | Description | Confirmation |
|
|
13
|
+
| --------------------- | ----------------------------------------- | :----------: |
|
|
14
|
+
| `write_contract` | Execute a state-changing contract call | Yes |
|
|
15
|
+
| `read_contract` | Read data from a contract | |
|
|
16
|
+
| `get_contract_abi` | Fetch verified contract ABI from explorer | |
|
|
17
|
+
| `get_contract_source` | Fetch verified source code | |
|
|
18
|
+
| `deploy_contract` | Deploy a contract from bytecode | Yes |
|
|
19
|
+
|
|
20
|
+
## Contract deployment
|
|
21
|
+
|
|
22
|
+
CryptoClaw provides templates for common token standards:
|
|
23
|
+
|
|
24
|
+
| Template | Standard | Description |
|
|
25
|
+
| -------- | -------- | --------------------------------------------- |
|
|
26
|
+
| ERC-20 | Token | Fungible token with standard transfer/approve |
|
|
27
|
+
| ERC-721 | NFT | Non-fungible token collection |
|
|
28
|
+
|
|
29
|
+
### Deployment flow
|
|
30
|
+
|
|
31
|
+
<Steps>
|
|
32
|
+
<Step title="Describe your contract">
|
|
33
|
+
Tell the agent what you want to deploy. For example: "Deploy an ERC-20 token called MyToken with symbol MTK and 1 million supply"
|
|
34
|
+
</Step>
|
|
35
|
+
<Step title="Review parameters">
|
|
36
|
+
The agent prepares the deployment with gas estimation and shows all parameters for review.
|
|
37
|
+
</Step>
|
|
38
|
+
<Step title="Confirm and deploy">
|
|
39
|
+
Approve the transaction. The agent submits the deployment and returns the contract address.
|
|
40
|
+
</Step>
|
|
41
|
+
</Steps>
|
|
42
|
+
|
|
43
|
+
<Warning>
|
|
44
|
+
Always test deployments on a testnet (BSC Testnet, Sepolia) before deploying to mainnet. Mainnet deployments cost real funds and are irreversible.
|
|
45
|
+
</Warning>
|
|
46
|
+
|
|
47
|
+
## Contract interaction
|
|
48
|
+
|
|
49
|
+
### Reading contract data
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
"Read the totalSupply of contract 0x..."
|
|
53
|
+
"What's the owner of contract 0x... on BSC?"
|
|
54
|
+
"Get the balance of 0x... on the USDT contract"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Writing to contracts
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
"Call the approve function on USDT contract for 100 tokens"
|
|
61
|
+
"Execute the stake function on contract 0x... with 10 BNB"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
All write operations require confirmation through the tx-gate.
|
|
65
|
+
|
|
66
|
+
## Explorer integration
|
|
67
|
+
|
|
68
|
+
CryptoClaw integrates with block explorers via the Etherscan API family:
|
|
69
|
+
|
|
70
|
+
| Chain | Explorer |
|
|
71
|
+
| -------- | -------------------- |
|
|
72
|
+
| Ethereum | Etherscan |
|
|
73
|
+
| BSC | BSCScan |
|
|
74
|
+
| Polygon | Polygonscan |
|
|
75
|
+
| Arbitrum | Arbiscan |
|
|
76
|
+
| Optimism | Optimistic Etherscan |
|
|
77
|
+
| Base | BaseScan |
|
|
78
|
+
|
|
79
|
+
### Setup
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
export ETHERSCAN_API_KEY=your_key_here
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Explorer operations
|
|
86
|
+
|
|
87
|
+
- Fetch verified contract ABI for dynamic interaction
|
|
88
|
+
- View contract source code
|
|
89
|
+
- Query transaction history
|
|
90
|
+
- Check token transfers
|
|
91
|
+
- Monitor gas prices
|
|
92
|
+
|
|
93
|
+
## Related
|
|
94
|
+
|
|
95
|
+
- [NFT Manager](/blockchain/nft) — Specialized NFT operations
|
|
96
|
+
- [Transaction Security](/blockchain/security) — Confirmation and spending limits
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Monitor DeFi positions — yield farming, staking, liquidity pools, and protocol analytics."
|
|
3
|
+
title: "DeFi Dashboard"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DeFi Dashboard
|
|
7
|
+
|
|
8
|
+
CryptoClaw provides a comprehensive DeFi monitoring dashboard that tracks your positions across protocols and surfaces yield opportunities.
|
|
9
|
+
|
|
10
|
+
## Data sources
|
|
11
|
+
|
|
12
|
+
The DeFi dashboard combines data from multiple sources:
|
|
13
|
+
|
|
14
|
+
- **On-chain contract queries** — Direct reads from protocol contracts (Aave, PancakeSwap, Uniswap, Compound)
|
|
15
|
+
- **DeFiLlama API** — TVL data, protocol analytics, yield pool rankings (no API key required)
|
|
16
|
+
- **DeBank API** — Wallet-level DeFi positions across 100+ chains (requires `DEBANK_API_KEY`)
|
|
17
|
+
|
|
18
|
+
## Supported protocols
|
|
19
|
+
|
|
20
|
+
| Protocol | Chains | Features |
|
|
21
|
+
| ----------- | --------------------------------- | -------------------------------------- |
|
|
22
|
+
| PancakeSwap | BSC, Ethereum | LP positions, farming rewards |
|
|
23
|
+
| Uniswap | Ethereum, Polygon, Arbitrum, Base | V2/V3 positions, fee earnings |
|
|
24
|
+
| Aave | BSC, Ethereum, Polygon | Supply/borrow positions, health factor |
|
|
25
|
+
| Compound | Ethereum | Supply/borrow positions |
|
|
26
|
+
|
|
27
|
+
## Operations
|
|
28
|
+
|
|
29
|
+
**Position monitoring:**
|
|
30
|
+
|
|
31
|
+
- "Show my DeFi positions" — Lists all active positions across protocols
|
|
32
|
+
- "What's my Aave health factor?" — Checks liquidation risk
|
|
33
|
+
- "How much am I earning on PancakeSwap?" — Shows farming rewards
|
|
34
|
+
|
|
35
|
+
**Protocol analytics:**
|
|
36
|
+
|
|
37
|
+
- "What's the TVL of Aave?" — Total value locked via DeFiLlama
|
|
38
|
+
- "Top yield pools on BSC" — Ranked by APY
|
|
39
|
+
- "Compare lending rates across protocols" — Side-by-side comparison
|
|
40
|
+
|
|
41
|
+
**Yield discovery:**
|
|
42
|
+
|
|
43
|
+
- "Best stablecoin yields on Ethereum" — Filtered yield pool search
|
|
44
|
+
- "Show trending DeFi protocols" — Protocols with growing TVL
|
|
45
|
+
|
|
46
|
+
## Configuration
|
|
47
|
+
|
|
48
|
+
Set up API keys for enhanced data:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# Optional: DeBank for wallet-level positions
|
|
52
|
+
export DEBANK_API_KEY=your_key_here
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
DeFiLlama data works without any API key.
|
|
56
|
+
|
|
57
|
+
## Related
|
|
58
|
+
|
|
59
|
+
- [Token Swap](/blockchain/swap) — Execute swaps on DEXs
|
|
60
|
+
- [AAVE Lending](/blockchain/aave) — Supply, borrow, and repay on Aave V3
|
|
61
|
+
- [Portfolio Tracker](/blockchain/portfolio) — Aggregate holdings view
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "CryptoClaw blockchain capabilities — wallet management, DeFi, NFTs, and multi-chain support across 16+ EVM networks."
|
|
3
|
+
title: "Blockchain Overview"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Blockchain Overview
|
|
7
|
+
|
|
8
|
+
CryptoClaw extends a multi-channel AI assistant with native blockchain capabilities. Interact with EVM-compatible chains directly from chat — manage wallets, swap tokens, track portfolios, deploy contracts, and more.
|
|
9
|
+
|
|
10
|
+
## Supported networks
|
|
11
|
+
|
|
12
|
+
CryptoClaw supports **16+ EVM-compatible chains** including:
|
|
13
|
+
|
|
14
|
+
| Network | Chain ID | Default |
|
|
15
|
+
| ----------------- | -------- | ------- |
|
|
16
|
+
| BNB Smart Chain | 56 | Yes |
|
|
17
|
+
| Ethereum | 1 | |
|
|
18
|
+
| Polygon | 137 | |
|
|
19
|
+
| Arbitrum One | 42161 | |
|
|
20
|
+
| Optimism | 10 | |
|
|
21
|
+
| Base | 8453 | |
|
|
22
|
+
| Avalanche C-Chain | 43114 | |
|
|
23
|
+
| Fantom | 250 | |
|
|
24
|
+
| Cronos | 25 | |
|
|
25
|
+
| zkSync Era | 324 | |
|
|
26
|
+
| BSC Testnet | 97 | |
|
|
27
|
+
| Sepolia | 11155111 | |
|
|
28
|
+
|
|
29
|
+
Specify any chain by name or ID when calling tools. BSC is the default.
|
|
30
|
+
|
|
31
|
+
## Security model
|
|
32
|
+
|
|
33
|
+
All blockchain operations in CryptoClaw follow strict security principles:
|
|
34
|
+
|
|
35
|
+
- **Encrypted at rest** — Private keys stored with AES-256-GCM encryption (scrypt KDF)
|
|
36
|
+
- **Confirmation gates** — State-changing operations (transfers, swaps, contract writes) require explicit user confirmation
|
|
37
|
+
- **Spending limits** — Configurable per-transaction and daily USD caps
|
|
38
|
+
- **Key redaction** — Private keys are never exposed in agent transcripts
|
|
39
|
+
- **CLI-only sensitive ops** — Import/export operations restricted to the CLI
|
|
40
|
+
|
|
41
|
+
See [Transaction Security](/blockchain/security) for the full architecture.
|
|
42
|
+
|
|
43
|
+
## Capabilities
|
|
44
|
+
|
|
45
|
+
<Columns>
|
|
46
|
+
<Card title="Wallet Management" href="/blockchain/wallet" icon="wallet">
|
|
47
|
+
Create, import, and manage encrypted wallets. Check balances across chains.
|
|
48
|
+
</Card>
|
|
49
|
+
<Card title="Token Swap" href="/blockchain/swap" icon="arrow-left-right">
|
|
50
|
+
Swap tokens on PancakeSwap, Uniswap V2/V3 with slippage protection.
|
|
51
|
+
</Card>
|
|
52
|
+
<Card title="DeFi Dashboard" href="/blockchain/defi" icon="bar-chart-3">
|
|
53
|
+
Monitor yield farming, staking, and liquidity pool positions.
|
|
54
|
+
</Card>
|
|
55
|
+
<Card title="Market Data" href="/blockchain/market-data" icon="trending-up">
|
|
56
|
+
Real-time prices, charts, trending tokens, and on-chain analytics.
|
|
57
|
+
</Card>
|
|
58
|
+
<Card title="Portfolio Tracker" href="/blockchain/portfolio" icon="pie-chart">
|
|
59
|
+
Aggregate holdings across wallets and networks with USD valuations.
|
|
60
|
+
</Card>
|
|
61
|
+
<Card title="Smart Contracts" href="/blockchain/contracts" icon="file-code">
|
|
62
|
+
Deploy, call, and verify contracts on any supported chain.
|
|
63
|
+
</Card>
|
|
64
|
+
<Card title="NFT Manager" href="/blockchain/nft" icon="image">
|
|
65
|
+
Mint, transfer, and query ERC-721 and ERC-1155 tokens.
|
|
66
|
+
</Card>
|
|
67
|
+
<Card title="AAVE Lending" href="/blockchain/aave" icon="landmark">
|
|
68
|
+
Supply, borrow, and repay on Aave V3 (BSC).
|
|
69
|
+
</Card>
|
|
70
|
+
<Card title="Agent Identity" href="/blockchain/agent-identity" icon="fingerprint">
|
|
71
|
+
Register on-chain AI agent identity via ERC-8004.
|
|
72
|
+
</Card>
|
|
73
|
+
</Columns>
|
|
74
|
+
|
|
75
|
+
## Quick start
|
|
76
|
+
|
|
77
|
+
<Steps>
|
|
78
|
+
<Step title="Install CryptoClaw">
|
|
79
|
+
```bash
|
|
80
|
+
npm install -g @termix-it/cryptoclaw
|
|
81
|
+
```
|
|
82
|
+
</Step>
|
|
83
|
+
<Step title="Create a wallet">
|
|
84
|
+
```bash
|
|
85
|
+
cryptoclaw onboard --wallet
|
|
86
|
+
```
|
|
87
|
+
Or ask the agent: "Create a new wallet"
|
|
88
|
+
</Step>
|
|
89
|
+
<Step title="Start interacting">
|
|
90
|
+
Ask the agent to check balances, swap tokens, or track your portfolio.
|
|
91
|
+
</Step>
|
|
92
|
+
</Steps>
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Real-time cryptocurrency prices, charts, trending tokens, and on-chain analytics."
|
|
3
|
+
title: "Market Data"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Market Data
|
|
7
|
+
|
|
8
|
+
CryptoClaw provides real-time and historical cryptocurrency market data through multiple data providers.
|
|
9
|
+
|
|
10
|
+
## Data providers
|
|
11
|
+
|
|
12
|
+
| Provider | API Key | Rate Limit | Features |
|
|
13
|
+
| -------------- | :------------: | ------------------ | ---------------------------------- |
|
|
14
|
+
| CoinGecko | Not required | ~30 calls/min | Prices, markets, trending, history |
|
|
15
|
+
| Dune Analytics | `DUNE_API_KEY` | 10 exec/day (free) | Custom SQL queries, on-chain data |
|
|
16
|
+
| DeFiLlama | Not required | Generous | TVL, yields, stablecoin data |
|
|
17
|
+
|
|
18
|
+
## CoinGecko operations
|
|
19
|
+
|
|
20
|
+
| Operation | Description |
|
|
21
|
+
| --------------- | --------------------------------------------------- |
|
|
22
|
+
| Price lookup | Current price in USD/BTC/ETH for any token |
|
|
23
|
+
| Market overview | Top tokens by market cap with 24h changes |
|
|
24
|
+
| Trending tokens | Currently trending on CoinGecko |
|
|
25
|
+
| Price history | Historical price charts (1d, 7d, 30d, 1y) |
|
|
26
|
+
| Token search | Find tokens by name or symbol |
|
|
27
|
+
| Token details | Full info including links, description, market data |
|
|
28
|
+
|
|
29
|
+
### Examples
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
"What's the price of BNB?"
|
|
33
|
+
"Show me the top 10 tokens by market cap"
|
|
34
|
+
"What's trending on CoinGecko?"
|
|
35
|
+
"Show BTC price chart for the last 30 days"
|
|
36
|
+
"Find token info for Chainlink"
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Dune Analytics
|
|
40
|
+
|
|
41
|
+
Query on-chain data with custom SQL through the Dune API.
|
|
42
|
+
|
|
43
|
+
### Setup
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
export DUNE_API_KEY=your_key_here
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Operations
|
|
50
|
+
|
|
51
|
+
| Operation | Description |
|
|
52
|
+
| --------------- | ---------------------------- |
|
|
53
|
+
| Execute query | Run a DuneSQL query |
|
|
54
|
+
| Check status | Poll query execution status |
|
|
55
|
+
| Get results | Retrieve query results |
|
|
56
|
+
| Run saved query | Execute a public query by ID |
|
|
57
|
+
|
|
58
|
+
### Useful public queries
|
|
59
|
+
|
|
60
|
+
| Query ID | Description |
|
|
61
|
+
| -------- | ------------------------------- |
|
|
62
|
+
| 3286091 | Weekly DEX volume by protocol |
|
|
63
|
+
| 3237721 | Daily active addresses by chain |
|
|
64
|
+
| 2781844 | Stablecoin supply breakdown |
|
|
65
|
+
|
|
66
|
+
### Examples
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
"Run Dune query 3286091 for weekly DEX volumes"
|
|
70
|
+
"Query total gas spent on Ethereum today"
|
|
71
|
+
"Show daily active addresses on BSC this week"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## DeFiLlama
|
|
75
|
+
|
|
76
|
+
Protocol and yield data without an API key.
|
|
77
|
+
|
|
78
|
+
| Operation | Description |
|
|
79
|
+
| --------------- | ------------------------------------------- |
|
|
80
|
+
| Protocol TVL | Current and historical TVL for any protocol |
|
|
81
|
+
| Chain TVL | Total TVL per blockchain |
|
|
82
|
+
| Yield pools | Top yield pools ranked by APY |
|
|
83
|
+
| Stablecoin data | Supply and chain distribution |
|
|
84
|
+
| Token prices | Price data for on-chain tokens |
|
|
85
|
+
|
|
86
|
+
### Examples
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
"What's Aave's total TVL?"
|
|
90
|
+
"Compare TVL across BSC, Ethereum, and Polygon"
|
|
91
|
+
"Top stablecoin yield pools on Ethereum"
|
|
92
|
+
"Show PancakeSwap TVL history"
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Related
|
|
96
|
+
|
|
97
|
+
- [Portfolio Tracker](/blockchain/portfolio) — Track your own holdings
|
|
98
|
+
- [DeFi Dashboard](/blockchain/defi) — Monitor your DeFi positions
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Mint, transfer, and query ERC-721 and ERC-1155 NFTs."
|
|
3
|
+
title: "NFT Manager"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# NFT Manager
|
|
7
|
+
|
|
8
|
+
CryptoClaw manages NFT collections and individual tokens across ERC-721 and ERC-1155 standards.
|
|
9
|
+
|
|
10
|
+
## Supported standards
|
|
11
|
+
|
|
12
|
+
| Standard | Description |
|
|
13
|
+
| -------- | ------------------------------------------------------- |
|
|
14
|
+
| ERC-721 | Non-fungible tokens — unique items |
|
|
15
|
+
| ERC-1155 | Multi-token — fungible and non-fungible in one contract |
|
|
16
|
+
|
|
17
|
+
## Operations
|
|
18
|
+
|
|
19
|
+
| Tool | Description | Confirmation |
|
|
20
|
+
| --------------------- | --------------------------------------------- | :----------: |
|
|
21
|
+
| `transfer_nft` | Transfer an ERC-721 token | Yes |
|
|
22
|
+
| `transfer_erc1155` | Transfer ERC-1155 tokens | Yes |
|
|
23
|
+
| `get_nft_metadata` | View token metadata (name, image, attributes) | |
|
|
24
|
+
| `get_nft_holdings` | List NFTs owned by an address | |
|
|
25
|
+
| `get_collection_info` | Collection-level stats (supply, floor, etc.) | |
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
"Show my NFTs on BSC"
|
|
31
|
+
"What's the metadata for token #42 in collection 0x...?"
|
|
32
|
+
"Transfer NFT #7 from collection 0x... to 0xRecipient"
|
|
33
|
+
"List all NFTs in my wallet on Ethereum"
|
|
34
|
+
"Show collection info for 0x..."
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
<Warning>
|
|
38
|
+
When transferring NFTs, ensure the recipient address supports the token standard. Sending to a contract that doesn't implement the receiver interface may result in permanent loss.
|
|
39
|
+
</Warning>
|
|
40
|
+
|
|
41
|
+
## Related
|
|
42
|
+
|
|
43
|
+
- [Smart Contracts](/blockchain/contracts) — Deploy NFT contracts
|
|
44
|
+
- [Transaction Security](/blockchain/security) — Transfer confirmations
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Aggregate cryptocurrency holdings across wallets and networks with USD valuations."
|
|
3
|
+
title: "Portfolio Tracker"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Portfolio Tracker
|
|
7
|
+
|
|
8
|
+
CryptoClaw aggregates and displays your cryptocurrency holdings across all wallets and networks with real-time USD valuations.
|
|
9
|
+
|
|
10
|
+
## Tools
|
|
11
|
+
|
|
12
|
+
| Tool | Description |
|
|
13
|
+
| ------------------------ | ------------------------------------------- |
|
|
14
|
+
| `get_native_balance` | Query native token balance (BNB, ETH, etc.) |
|
|
15
|
+
| `get_erc20_balance` | Query ERC-20 token balance |
|
|
16
|
+
| `wallet_list` | List all managed wallets |
|
|
17
|
+
| `get_supported_networks` | List available networks |
|
|
18
|
+
|
|
19
|
+
## Features
|
|
20
|
+
|
|
21
|
+
- **Multi-wallet aggregation** — View consolidated holdings across all wallets
|
|
22
|
+
- **Multi-chain support** — Balances from all 16+ supported EVM chains
|
|
23
|
+
- **USD valuation** — Real-time conversion using CoinGecko prices
|
|
24
|
+
- **Token breakdown** — Individual token balances with percentages
|
|
25
|
+
|
|
26
|
+
## Enhanced data with DeBank
|
|
27
|
+
|
|
28
|
+
For a comprehensive portfolio view including DeFi positions, configure the DeBank API:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
export DEBANK_API_KEY=your_key_here
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
DeBank provides:
|
|
35
|
+
|
|
36
|
+
- Total portfolio value across 100+ chains
|
|
37
|
+
- Per-chain balance breakdown
|
|
38
|
+
- Token holdings with prices
|
|
39
|
+
- DeFi positions (lending, LP, staking)
|
|
40
|
+
- NFT holdings
|
|
41
|
+
- Transaction history
|
|
42
|
+
|
|
43
|
+
## Examples
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
"Show my portfolio"
|
|
47
|
+
"What's my total balance across all wallets?"
|
|
48
|
+
"List my token holdings on BSC"
|
|
49
|
+
"Show my portfolio breakdown by chain"
|
|
50
|
+
"What's the value of my ETH across all networks?"
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Related
|
|
54
|
+
|
|
55
|
+
- [Wallet Management](/blockchain/wallet) — Create and manage wallets
|
|
56
|
+
- [Market Data](/blockchain/market-data) — Check current prices
|
|
57
|
+
- [DeFi Dashboard](/blockchain/defi) — Monitor DeFi positions in detail
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Transaction security architecture — confirmation gates, spending limits, and private key protection."
|
|
3
|
+
title: "Transaction Security"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Transaction Security
|
|
7
|
+
|
|
8
|
+
CryptoClaw enforces multiple layers of security for all blockchain operations to protect user funds and private keys.
|
|
9
|
+
|
|
10
|
+
## Confirmation gates
|
|
11
|
+
|
|
12
|
+
State-changing operations require explicit user confirmation before execution. The tx-gate system intercepts these tool calls via a `before_tool_call` hook.
|
|
13
|
+
|
|
14
|
+
**Operations requiring confirmation:**
|
|
15
|
+
|
|
16
|
+
| Tool | Action |
|
|
17
|
+
| ------------------------ | ----------------------------------- |
|
|
18
|
+
| `transfer_native_token` | Send native tokens (BNB, ETH, etc.) |
|
|
19
|
+
| `transfer_erc20` | Send ERC-20 tokens |
|
|
20
|
+
| `approve_token_spending` | Approve token allowance |
|
|
21
|
+
| `transfer_nft` | Transfer ERC-721 NFTs |
|
|
22
|
+
| `transfer_erc1155` | Transfer ERC-1155 tokens |
|
|
23
|
+
| `write_contract` | Execute arbitrary contract calls |
|
|
24
|
+
| `swap_execute` | Execute token swaps |
|
|
25
|
+
| `wallet_delete` | Remove a wallet |
|
|
26
|
+
| `agent_register` | Register agent identity on-chain |
|
|
27
|
+
| `agent_set_wallet` | Update agent's on-chain wallet |
|
|
28
|
+
|
|
29
|
+
When a confirmation is required, the agent presents a human-readable summary of the transaction (recipient, amount, token, network) and waits for your approval.
|
|
30
|
+
|
|
31
|
+
## Spending limits
|
|
32
|
+
|
|
33
|
+
Configure per-transaction and daily spending caps in `~/.cryptoclaw/cryptoclaw.json`:
|
|
34
|
+
|
|
35
|
+
```json5
|
|
36
|
+
{
|
|
37
|
+
blockchain: {
|
|
38
|
+
spendingLimits: {
|
|
39
|
+
perTransaction: 100, // Max USD per single transaction
|
|
40
|
+
daily: 1000, // Max USD per 24-hour period
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Transactions exceeding these limits are blocked with a warning.
|
|
47
|
+
|
|
48
|
+
## Private key protection
|
|
49
|
+
|
|
50
|
+
- **Encrypted storage**: AES-256-GCM with scrypt KDF (N=2^15, r=8, p=1)
|
|
51
|
+
- **Keystore permissions**: File mode `0600` (owner-only access)
|
|
52
|
+
- **Transcript redaction**: The `tool_result_persist` hook strips private keys from session transcripts
|
|
53
|
+
- **Secret detection**: `containsPrivateKey()` and `sanitizeSecrets()` guard all tool outputs
|
|
54
|
+
- **CLI-only operations**: `wallet_import` and `wallet_export` are restricted to the terminal
|
|
55
|
+
|
|
56
|
+
## Sensitive parameter handling
|
|
57
|
+
|
|
58
|
+
Parameters like `privateKey`, `passphrase`, and `mnemonic` are in the `SENSITIVE_PARAM_NAMES` list. These are:
|
|
59
|
+
|
|
60
|
+
- Never logged
|
|
61
|
+
- Never included in session history
|
|
62
|
+
- Masked in any error messages
|
|
63
|
+
|
|
64
|
+
## Architecture
|
|
65
|
+
|
|
66
|
+
```mermaid
|
|
67
|
+
flowchart TD
|
|
68
|
+
A["Agent tool call"] --> B{"tx-gate hook"}
|
|
69
|
+
B -->|Read-only| C["Execute immediately"]
|
|
70
|
+
B -->|State-changing| D["Format confirmation prompt"]
|
|
71
|
+
D --> E["User approval"]
|
|
72
|
+
E -->|Approved| F{"Check spending limits"}
|
|
73
|
+
F -->|Within limits| G["Execute transaction"]
|
|
74
|
+
F -->|Exceeds limits| H["Block with warning"]
|
|
75
|
+
E -->|Denied| I["Cancel operation"]
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Best practices
|
|
79
|
+
|
|
80
|
+
- Set conservative spending limits initially and increase as needed
|
|
81
|
+
- Use a dedicated wallet for agent operations rather than your main wallet
|
|
82
|
+
- Review confirmation prompts carefully before approving
|
|
83
|
+
- Use testnet chains (BSC Testnet, Sepolia) for experimentation
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Swap tokens on PancakeSwap and Uniswap with slippage protection and honeypot detection."
|
|
3
|
+
title: "Token Swap"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Token Swap
|
|
7
|
+
|
|
8
|
+
CryptoClaw enables token swaps on major decentralized exchanges across multiple EVM chains.
|
|
9
|
+
|
|
10
|
+
## Supported DEXs
|
|
11
|
+
|
|
12
|
+
| DEX | Versions | Chains |
|
|
13
|
+
| ----------- | -------- | ------------------------------------------- |
|
|
14
|
+
| PancakeSwap | V2, V3 | BSC, Ethereum |
|
|
15
|
+
| Uniswap | V2, V3 | Ethereum, Polygon, Arbitrum, Optimism, Base |
|
|
16
|
+
|
|
17
|
+
## Tools
|
|
18
|
+
|
|
19
|
+
| Tool | Description | Confirmation |
|
|
20
|
+
| ----------------- | ------------------------------------------ | :----------: |
|
|
21
|
+
| `swap_quote` | Get a price quote for a token pair | |
|
|
22
|
+
| `swap_execute` | Execute a token swap | Yes |
|
|
23
|
+
| `check_allowance` | Check token spending allowance | |
|
|
24
|
+
| `get_dex_list` | List supported DEXs for a chain | |
|
|
25
|
+
| `get_token_info` | Look up token details by address or symbol | |
|
|
26
|
+
|
|
27
|
+
## Swap flow
|
|
28
|
+
|
|
29
|
+
<Steps>
|
|
30
|
+
<Step title="Get a quote">
|
|
31
|
+
Ask: "Quote swapping 1 BNB to USDT on PancakeSwap"
|
|
32
|
+
|
|
33
|
+
The agent fetches the best route, shows expected output, price impact, and fees.
|
|
34
|
+
|
|
35
|
+
</Step>
|
|
36
|
+
<Step title="Review and confirm">
|
|
37
|
+
The agent displays:
|
|
38
|
+
- Input/output amounts
|
|
39
|
+
- Exchange rate
|
|
40
|
+
- Price impact percentage
|
|
41
|
+
- Slippage tolerance
|
|
42
|
+
- Gas estimate
|
|
43
|
+
|
|
44
|
+
You must confirm before execution.
|
|
45
|
+
|
|
46
|
+
</Step>
|
|
47
|
+
<Step title="Execute">
|
|
48
|
+
The swap is submitted on-chain. The agent reports the transaction hash and final amounts.
|
|
49
|
+
</Step>
|
|
50
|
+
</Steps>
|
|
51
|
+
|
|
52
|
+
## Safety features
|
|
53
|
+
|
|
54
|
+
- **Slippage protection** — Default 0.5% slippage tolerance, configurable per swap
|
|
55
|
+
- **Price impact warnings** — Alerts when price impact exceeds 3%
|
|
56
|
+
- **Honeypot detection** — Checks for tokens that cannot be sold
|
|
57
|
+
- **Allowance management** — Automatic approval flow when needed
|
|
58
|
+
- **Spending limits** — Respects configured per-transaction and daily USD caps
|
|
59
|
+
|
|
60
|
+
<Warning>
|
|
61
|
+
Always verify token contract addresses. The agent will warn about unverified tokens, but exercise caution with unfamiliar tokens.
|
|
62
|
+
</Warning>
|
|
63
|
+
|
|
64
|
+
## Examples
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
"Swap 0.5 BNB for USDT on PancakeSwap"
|
|
68
|
+
"Get a quote for 100 USDC to ETH on Uniswap V3"
|
|
69
|
+
"What DEXs are available on Polygon?"
|
|
70
|
+
"Check my USDT allowance for PancakeSwap router"
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Configuration
|
|
74
|
+
|
|
75
|
+
```json5
|
|
76
|
+
{
|
|
77
|
+
blockchain: {
|
|
78
|
+
swap: {
|
|
79
|
+
defaultSlippage: 0.5, // Percentage
|
|
80
|
+
maxPriceImpact: 5, // Percentage threshold for warnings
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Related
|
|
87
|
+
|
|
88
|
+
- [DeFi Dashboard](/blockchain/defi) — Monitor LP and yield positions
|
|
89
|
+
- [Market Data](/blockchain/market-data) — Check token prices before swapping
|