{
  "name": "wagmi-core",
  "license": "MIT",
  "version": "0.1.22",
  "ethereum": "awkweb.eth",
  "repository": "tmm/wagmi",
  "sideEffects": false,
  "main": "dist/wagmi-core.cjs.js",
  "module": "dist/wagmi-core.esm.js",
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "module": "./dist/wagmi-core.esm.js",
      "default": "./dist/wagmi-core.cjs.js"
    },
    "./connectors/walletConnect": {
      "module": "./connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.esm.js",
      "default": "./connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.js"
    },
    "./connectors/walletLink": {
      "module": "./connectors/walletLink/dist/wagmi-core-connectors-walletLink.esm.js",
      "default": "./connectors/walletLink/dist/wagmi-core-connectors-walletLink.cjs.js"
    },
    "./connectors/coinbaseWallet": {
      "module": "./connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.esm.js",
      "default": "./connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.js"
    }
  },
  "files": [
    "/dist",
    "/connectors/walletConnect/",
    "/connectors/walletLink/",
    "/connectors/coinbaseWallet/"
  ],
  "preconstruct": {
    "entrypoints": [
      "index.ts",
      "connectors/walletConnect.ts",
      "connectors/walletLink.ts",
      "connectors/coinbaseWallet.ts"
    ]
  },
  "peerDependencies": {
    "@coinbase/wallet-sdk": "^3.0.8",
    "@walletconnect/ethereum-provider": "1.7.5",
    "ethers": "^5.5.1",
    "walletlink": "^2.5.0"
  },
  "peerDependenciesMeta": {
    "@coinbase/wallet-sdk": {
      "optional": true
    },
    "@walletconnect/ethereum-provider": {
      "optional": true
    },
    "walletlink": {
      "optional": true
    }
  },
  "dependencies": {
    "@ethersproject/providers": "^5.5.1",
    "eventemitter3": "^4.0.7"
  },
  "devDependencies": {
    "@coinbase/wallet-sdk": "^3.0.8",
    "@walletconnect/ethereum-provider": "1.7.5",
    "ethers": "^5.5.1",
    "wagmi-testing": "0.1.22",
    "walletlink": "^2.5.0"
  },
  "readme": "# wagmi [![Version](https://img.shields.io/npm/v/wagmi)](https://www.npmjs.com/package/wagmi) [![Downloads](https://img.shields.io/npm/dm/wagmi)](https://www.npmjs.com/package/wagmi) [![Sponsors](https://img.shields.io/github/sponsors/tmm)](https://github.com/sponsors/tmm)\n\nReact Hooks library for Ethereum, built on [ethers.js](https://github.com/ethers-io/ethers.js).\n\n## Features\n\n- 🚀 20+ hooks for working with wallets, ENS, contracts, transactions, signing, etc.\n- 💼 Built-in wallet connectors for MetaMask, WalletConnect, and Coinbase Wallet\n- 🌀 Auto-refresh data on wallet and network changes\n- 🦄 TypeScript ready\n- 💨 Zero-dependencies (besides ethers.js peer dependency)\n- 🌳 Test suite and documentation\n- 📖 MIT License\n\n## Documentation\n\nVisit https://wagmi.sh to view the full documentation.\n\n## Usage\n\n1. Install the dependencies.\n\n```bash\nnpm add wagmi ethers\n```\n\n2. Wrap your app with the `Provider` component.\n\n```tsx\nimport { Provider } from 'wagmi'\n\nconst App = () => (\n  <Provider>\n    <YourRoutes />\n  </Provider>\n)\n```\n\n3. Use hooks.\n\n```tsx\nimport { useAccount } from 'wagmi'\n\nconst Page = () => {\n  const [{ data, error, loading }, disconnect] = useAccount({\n    fetchEns: true,\n  })\n\n  return ...\n}\n```\n\nEvery component inside the `Provider` is set up with the default `InjectedConnector` for connecting wallets and ethers.js [Default Provider](https://docs.ethers.io/v5/api/providers/#providers-getDefaultProvider) for fetching data.\n\nWant to learn more? Check out the [guides](https://wagmi-xyz.vercel.app/guides/connect-wallet) or browse the [API docs](https://wagmi-xyz.vercel.app/docs/provider).\n\n## Community\n\n- Join the [discussions on GitHub](https://github.com/tmm/wagmi/discussions)\n- Follow [@awkweb](https://twitter.com/awkweb) on Twitter for project updates\n- Sign the [guestbook](https://github.com/tmm/wagmi/discussions/2)\n- Share [your project/organization](https://github.com/tmm/wagmi/discussions/201) that uses wagmi\n\n## Support\n\n- awkweb.eth\n- [GitHub Sponsors](https://github.com/sponsors/tmm)\n- [Gitcoin Grant](https://gitcoin.co/grants/4493/wagmi-react-hooks-library-for-ethereum)\n\n## Thanks\n\n- [ricmoo.eth](https://twitter.com/ricmoo) for creating and continued work on [ethers.js](https://github.com/ethers-io/ethers.js)\n- [Mirror](https://mirror.xyz) for creating space to do good work\n\n## License\n\nMIT.\n\n<br />\n\nwagmi\n"
}