{"_id":"@0xgabi/use-wallet","_rev":"10-82ff3054bd4d71c7b320a4e79efefb4b","name":"@0xgabi/use-wallet","dist-tags":{"latest":"0.15.0"},"versions":{"0.9.0":{"name":"@0xgabi/use-wallet","version":"0.9.0","author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepublishOnly":"git push && git push --tags"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"^6.1.1","@web3-react/fortmatic-connector":"^6.1.6","@web3-react/frame-connector":"^6.0.9","@web3-react/injected-connector":"^6.0.7","@web3-react/ledger-connector":"^6.1.9","@web3-react/portis-connector":"^6.1.6","@web3-react/torus-connector":"^6.1.7","@web3-react/walletconnect-connector":"^6.1.6","@web3-react/walletlink-connector":"^6.1.6","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","react":"^16.13.1","react-dom":"^16.13.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.12.0"},"gitHead":"4c3497dfec71e1d3b13259b1f5c136132a5ee6dd","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@0xgabi/use-wallet@0.9.0","_nodeVersion":"16.4.2","_npmVersion":"7.18.1","dist":{"integrity":"sha512-XGlHPKLjiQtlWU1kxhku3VpIKSmJcOzCstQoCMJ/hkuMYM8sLZDO6a2trWjb+Kd56cjFQp6F6N5cOMc5bVhFJw==","shasum":"4a588818d9321a7113e6c1c4a17bd2c85f314ad1","tarball":"https://registry.npmjs.org/@0xgabi/use-wallet/-/use-wallet-0.9.0.tgz","fileCount":22,"unpackedSize":273848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg53R2CRA9TVsSAnZWagAAMx8QAI37biyIZEkwXNVgu18S\nDKlQPpf+0iiXj25kumfgW2yweisN0JflxtqJp6spqxDd9VTam7PE5+LdoC76\np2TDYT4Ui5TOJjQqPBxwXvdUfZTs+3dzSBYQP/pGfmaQL4F/2SvRIUfoMzbT\nR/1wZ6luxq/DvwDKIwL5pWOJfyvcSxPr0gGAeFaR/w7TXW0xsoScIsNFZG5f\nRe3OmJekuThuaDZs7A/HVcGzBxhM3eRGXbt+TnJdRiJcUXYJ14DE16ss1S2R\njzBPXp3qJ2OjKPhZ8aSNywtjiDtWK0if6tVycrosxsSkLwV6uPJYFt0Q8VyV\nsH91jhxPDyNKVU8rROZq2nLG65RBaldLTSxbSF1do+FGyOKmKHM8bkXG6hYM\n3cMyfBVyCjKE0H2eJHmXl4dHOJllSPBjOXakwmjJVoKbm9Yl8Frgv43tLJQi\nhLY/OBSQjqXx4xf1BTIhVs8R+PU30bqe4s2unc4HUg5E91wOM/4bdA7umag4\ng6YN6uaDnIUzw/4YlErYJbVK8zyuSJcNWb6azeyN6XbfH+QqvlrTSbaM0nuE\nWpUXiJ9+crje83fot5fmQNXliXGwsxFLHV51rjhBie2glnuTSpJyyuBeyBt7\nanE5ksliUSuTMH7GU8ltULRlE6bR/Y3lg6CN6rQBG5GkZMOBZEph4+49vaJB\nHpDE\r\n=NWQN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE5OBaCs1uWn1B3PkpGR/0wiwnz6fL3Fgmlia/Eoj4RyAiA9eLGmkhY3FHgLabXade8eaYoi4ddrZ+CERa+pwXzP8w=="}]},"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.9.0_1625781365560_0.445010523555621"},"_hasShrinkwrap":false},"0.13.1":{"name":"@0xgabi/use-wallet","version":"0.13.1","author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepublishOnly":"git push && git push --tags","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"6.1.9","@web3-react/fortmatic-connector":"6.1.6","@web3-react/frame-connector":"npm:@0xgabi/frame-connector@6.0.10","@web3-react/injected-connector":"6.0.7","@web3-react/ledger-connector":"6.1.9","@web3-react/portis-connector":"6.1.6","@web3-react/torus-connector":"6.1.7","@web3-react/walletconnect-connector":"6.2.4","@web3-react/walletlink-connector":"6.2.5","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.13.1","react-dom":"^16.13.1"},"gitHead":"8edc7ff2a415cb589d1246364a66720c0a7465f8","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@0xgabi/use-wallet@0.13.1","_nodeVersion":"16.4.2","_npmVersion":"7.18.1","dist":{"integrity":"sha512-vtS0dbEdnKo5wK9zX8hrm5W79Oa8A710OfzEM9LwDJ6m02FV33WYLuTeGMR2lYIfdm52s71hyuSUfkQ6x7RV5w==","shasum":"b8953352e1cf782eccf5c77a5be8ae3c3197992c","tarball":"https://registry.npmjs.org/@0xgabi/use-wallet/-/use-wallet-0.13.1.tgz","fileCount":26,"unpackedSize":328690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhue4UCRA9TVsSAnZWagAAEcMP/RolqnGyKUqFKodSl/r3\nO8llhFb+t+aXT0GztdBrQUip4lCVOUlNK5SxExr5pueIGNhB6EhxKNQG20K1\ny3diIxRtdmRGT8/JRXyP2LZmRVnz7joM6GYJF6G6nN1SrEExPK6xHVStzHEi\nRm5aKCgNA2seAADY38mEJImlKWicLOmOU2fWxrPfMM0HLojgsS2tRtKQ2HCA\nzRePeA562bD3H0/yoPbzd1Pim81bjCFyGIVMs8k4+WMar8kfYekgR8Zzolfo\nt/VBKz2Ppcp3A08CL7qksAIYrilj4wQcMVqefsF6qwz/CO7dtLlOqvF/hzfr\nf5CtQXKjNrb8A01vPCbevNuPFAS3Y0VSnx7fvQnY9muH796p+JV9xRb6i5r7\nIvrLoFFnhe5h9jw9ydaFNTz01BK/YqQgmqgIi81TT9PPODo0+cekeo3ApQzl\nUuW1pX8VsHz4jdaKAt+fpo4YoYdokhp4CpHDzIjDsgYJlfX8oWwanDOcaiMf\nXsVxQW4/MHhD18YXG/Z1x1eMXt0+L9r+AIY43OFVet6P0uZtZccxk3iaYCaa\nfXAUZJCrmYh8Y1CQT/Rr8OnIi5v+CZzQD9aOi4V+2UXHUVuqqKZm5gZI446+\nkfpL5oyFWncSzydVVRMTCAJMnbAIV+liQlEbKWyK1+5F8Q/HIoKUhOlz6tPb\nXVlZ\r\n=meGi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBvCQEexs97Rm9bnIMTq2qt11fgusLflu/QOa7/W8WoEAiBaao13dFDXEa4OnIDJcZRC8ETebrfkMoUcWgt8m/K3lQ=="}]},"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.13.1_1636256314157_0.5537003867346093"},"_hasShrinkwrap":false},"0.13.2":{"name":"@0xgabi/use-wallet","version":"0.13.2","author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"6.1.9","@web3-react/frame-connector":"npm:@0xgabi/frame-connector@6.0.10","@web3-react/injected-connector":"6.0.7","@web3-react/torus-connector":"^6.2.9","@web3-react/walletconnect-connector":"6.2.4","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.13.1","react-dom":"^16.13.1"},"gitHead":"ecc861e9075c4e7696986469f04764908b13b787","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@0xgabi/use-wallet@0.13.2","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-qDfn5IeN72CF62q0NI7u2Gbt7NQBw/a3zSaN4LI6/fw9uVIUFfhz0hwgKmsfbpu0g38wUIzkkPqxBr3Gwlq5vA==","shasum":"0493752250a7f44178795d8273ebfbcf011df47f","tarball":"https://registry.npmjs.org/@0xgabi/use-wallet/-/use-wallet-0.13.2.tgz","fileCount":24,"unpackedSize":308001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDUwhCRA9TVsSAnZWagAAPTEP/jq2umW5JQXbbiHnh0yb\nPEHBYlPQSd/c0dWRFtVTeN5VaJjEF8Czeou3ESN6XBvb9QtV1xH6oSEgaFZp\n1RiylFcCAUYBUEFJY9zk211hSFeGlfIwmqMi80nYv5p+TKuZcvQfZ7Cx4HIR\nLzyB4Zz+637YF6abMCUxF2AXo1FFECSSpVeCBbCGmVAi0XcRl1EBfiKvkVQy\niETgMmpE8zaotSemWUFztwfdhMFB0HEbHDSU5qaVhGnNX7E1QYD0xM2MVnCX\n4+/mz5uNhguuaGsC6eX8Nu3RjEhuR8KNhJksvI0Vdj3VhQ2e9+ShgPncspVt\nwxTznE1jCAL10Vs0uBfn4Ng9zhxW8cMkh505j3MAjDxKkd8CU2umAXOvPH0n\ntBSqmOdXCgtIv+Wc8kOYtJPt/kiAKX5TyJtAoY+2M/OuE3ggBt26TiHEK52T\nbYaKpvekbmxgOYYfEYYWz4jwyjp/pwemclUpKUCcs//HS3MdbSjKk3jwr3GN\nsAg9ienJm/fo1/G0bjPXHSyvKyYnE30VOgMcMdnLnE3o1J26Gy17+csy6bD6\ntSxRXnzbyyCgHEjWH3MtW5UCeqhc1K2lC97lgdl3DdyoJr19SUxl4Z1X5JZz\nAToNgWilmisyMEEY0vA0U/Wedw6k1nWudOVeRqIkIpYpNflKGNADlx0ITcjZ\n8+uQ\r\n=3SEg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/M3sJnlbovZ7SOgcYdFQRG7vhJpO4cMvy7hrVkCH34wIgahCELD2YkwS2cmrHUIm4V5i0JjMIjXOfZg0AviMz8Cg="}]},"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.13.2_1645038625345_0.7996879642460726"},"_hasShrinkwrap":false},"0.13.3":{"name":"@0xgabi/use-wallet","version":"0.13.3","author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"6.1.9","@web3-react/frame-connector":"npm:@0xgabi/frame-connector@6.0.10","@web3-react/injected-connector":"6.0.7","@web3-react/torus-connector":"^6.2.9","@web3-react/walletconnect-connector":"6.2.4","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.13.1","react-dom":"^16.13.1"},"gitHead":"ecc861e9075c4e7696986469f04764908b13b787","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@0xgabi/use-wallet@0.13.3","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-cPxwqE2ztznhXeA4cqahyv3MG3DSGnRtp9BXTAtOqDzzNCKzkztUKGHFMM5oMt0mlwlpooWqQF2nrhe8JgP/ug==","shasum":"120531a73cdded5dcafc21780858e5993aec5ec7","tarball":"https://registry.npmjs.org/@0xgabi/use-wallet/-/use-wallet-0.13.3.tgz","fileCount":22,"unpackedSize":306793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDVbTCRA9TVsSAnZWagAAZ9wP/ArSdx7VSccWfI3Mp88R\npi37fj3w0N81OgFPv/Z/xKoxZCBWgOV7S6PKixNgvTpGn6+IsViGIWIXlx1u\nQyhZ4GnxcmIoGNDN+ifU2polqaOd9PPy24NfoPc39peVzfKyenfrEenCcFwI\n7r4fQorHM1lpweovxm/AfgMjSkRPshndovGoM8Rv2eaH+Ti3F10x7JjlWYFv\nYTaM1P1i0s6pwR1ZAoB8yGp6RYAV+EO51/11LQPKH4NySl9Lb25UopCdUOdb\nMHLsxFaTi9fpsMg3FrZaEVw2SHb5WUn36mNgKMHJVvQJpnBqziZlBNDwAf7+\nW4mKuhczZL5gZlCa6pPs/msdyc/CAeFeuIogmngwH+s4QyijYptN2WetXPkr\nQz71IU9kmsoaFtmd1rZqqD6PC+DIMGeN7HL+LawZ6912eoGDoDsgRVms+C6j\nFKMVro36ZyNh523fMM61B9AuFvFRI1TBsUpU1ewGYPv6rVuABgvlaupc26Bx\nJZKRUypL0PuaXG6xbs5KuU09B0O4K8V9JpjSGcZCik8IMjoqlQ6seEcCSdum\n6raO/qipOmrZvs66CJWD6USo2ImhhvR70hAQf3ZYiyOhq7hxnXmHP3ZagLU3\nuFCgL/zNBq8dVo9cjqX76vVcWF1sWdA6X4yXm1qbnT60EvRSW7oSyeD2GUWV\nEVsh\r\n=Ij8Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBRwoHkoy7cota+z3NtM7Q3NGbmX49TWiflWNp08H8lwAiAedX9XkFNgHOR/+0J2KbMNl9VvW84P+zUm+8hPFkTj4w=="}]},"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.13.3_1645041363382_0.10743404492828645"},"_hasShrinkwrap":false},"0.13.4":{"name":"@0xgabi/use-wallet","version":"0.13.4","author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"6.1.9","@web3-react/frame-connector":"npm:@0xgabi/frame-connector@6.0.10","@web3-react/injected-connector":"6.0.7","@web3-react/torus-connector":"^6.2.9","@web3-react/walletconnect-connector":"6.2.4","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.13.1","react-dom":"^16.13.1"},"gitHead":"ecc861e9075c4e7696986469f04764908b13b787","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@0xgabi/use-wallet@0.13.4","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-zdm4W/1r7TimtuAHGUk3ru5DkZ2C3itTfN9ZNIopbzpryaKEHW10RETedyfUum1Gp6Gs6XHD0lNRvvs8JKF0rQ==","shasum":"96eff87abdc55bc1b6dd7d3b9fff0b28b933a9e2","tarball":"https://registry.npmjs.org/@0xgabi/use-wallet/-/use-wallet-0.13.4.tgz","fileCount":22,"unpackedSize":306833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDVfuCRA9TVsSAnZWagAA5P8P/i7SlpxT8FGOL1ZbnO2n\nqNRDXhDBsV1gcR4gPXVOeiuTl1FfON865Uww07ghNWUl+6Y9WzW3UYUCA0rh\non8LNkC+CNyLUn4h0YkYPgTabM1BKe8I+obcjRDOFqc/cIEgN5LIKlzalRvL\nWohLaU5Pt6zSOzLscgtk4k1rUZQdh+5uB/c7pE/0C4umDh6MdmSbc82/3G3v\n0991gknhPzHnk64uAO9C44BaWyiGE72jWCQEa93ZmKJm7GXJrQlgW58G1hd1\nyxm7rU7381lgThAqaUbMJCDCCdQKxJp5QN0VelaYZVCPHkDqxpzTCgSwbteN\nrAOc+XQR8Xb7nwwMfXE/yGQuDWBBaRI+ZzfKcEwlm4m8/juEmfldFDkOgrd/\nE3jBlD94gQ979oXaMQ83Z2+DtqktQ+WxCZrFjWuJAd7QrLcKOfjVr7BkPm+H\nN/qnq6qWXNhy5kb+/9L2ESq9s3l1dzU+pCxP0OSfQ+zuNsq+OStCEanNSy/B\nhLDuM5R6SSwOjI7mo+LNfXmFNoHkpuOnYZMFb9AYLrSKq62YYPqoVFMs7AAm\npL9F6uMPCU0glFi4rseNC9gkKKgpgwionb5FT1VCiif6P0vFU71qsFjWdx+N\nU7bUQWIwvMyUBBI00L33tr+v3V3BZpImJwjaIvCmUJ54elPQcSQEkUMYxOUV\nHJun\r\n=i/9o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT9KrT/vMCHe0/aJYXV6LrILekOwhojQeOr9gOnSLRRAIhAN8TDcQt76+yLl6AroimVxTzdAmOOLCv7dF+2qON1Mvi"}]},"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.13.4_1645041646109_0.27764016963811056"},"_hasShrinkwrap":false},"0.14.0":{"name":"@0xgabi/use-wallet","version":"0.14.0","author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"^6.0.0","@web3-react/fortmatic-connector":"6.1.6","@web3-react/frame-connector":"6.0.9","@web3-react/injected-connector":"6.0.7","@web3-react/ledger-connector":"6.1.9","@web3-react/portis-connector":"6.1.6","@web3-react/torus-connector":"6.1.7","@web3-react/walletconnect-connector":"6.2.4","@web3-react/walletconnect-v2":"^8.3.7","@web3-react/walletlink-connector":"6.2.5","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.13.1 || ^17","react-dom":"^16.13.1 || ^17"},"gitHead":"6b121696fdbf6f65cb20df9c2f249b8fc215c241","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@0xgabi/use-wallet@0.14.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-gXCnXu8qpWWEZNkCN8lYZ0dovJokoNt/+yK7TiVQXRDou2kwssQAqHNObH7Hpgqs7cNogyr4P/Np68qCW1Wo+w==","shasum":"6655017ad4f012d9c02661b0d14ab9452fe05d89","tarball":"https://registry.npmjs.org/@0xgabi/use-wallet/-/use-wallet-0.14.0.tgz","fileCount":46,"unpackedSize":481057,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE26+7CpMwTUyGEYAVNt025XKt2tV7/TIyRmFfa0oDp6AiBGixjxn/hqGagyFPcv0AKJnhnqcawUBPimcd23IR+kVA=="}]},"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.14.0_1690999759208_0.16550064371417328"},"_hasShrinkwrap":false},"0.14.1":{"name":"@0xgabi/use-wallet","version":"0.14.1","author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepublishOnly":"git push && git push --tags","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"6.1.9","@web3-react/fortmatic-connector":"6.1.6","@web3-react/frame-connector":"6.0.9","@web3-react/injected-connector":"6.0.7","@web3-react/ledger-connector":"6.1.9","@web3-react/portis-connector":"6.1.6","@web3-react/torus-connector":"6.1.7","@web3-react/walletconnect-connector":"6.2.4","@web3-react/walletlink-connector":"6.2.5","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.13.1 || ^17","react-dom":"^16.13.1 || ^17"},"gitHead":"9604a45147acc66f82ae1fa904bcf1ab09e73822","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@0xgabi/use-wallet@0.14.1","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-ME74I6cZjA+9VHjUZS03ArXp0Wnw4+tBI4WWENnH+iBClgHOHiXpjvxDDj/Ut5fiXAkvleL7oBa9ZkcDrZwhjA==","shasum":"61660ea12bc7927cd41378ce0f4274d536e486bc","tarball":"https://registry.npmjs.org/@0xgabi/use-wallet/-/use-wallet-0.14.1.tgz","fileCount":26,"unpackedSize":337453,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8lDZfvDuJFQPAXcvmSiqHpr6ibSyekRKaLoVUIsxWeAiBVNh41dQXakknhbaTfuCFz2Z8kXVDuplorfNPv4aOKdQ=="}]},"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.14.1_1691001128724_0.532659146146852"},"_hasShrinkwrap":false},"0.14.2":{"name":"@0xgabi/use-wallet","version":"0.14.2","author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepublishOnly":"git push && git push --tags","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"6.1.9","@web3-react/fortmatic-connector":"6.1.6","@web3-react/frame-connector":"6.0.9","@web3-react/injected-connector":"6.0.7","@web3-react/portis-connector":"6.1.6","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.13.1 || ^17","react-dom":"^16.13.1 || ^17"},"gitHead":"53f3480d0b6111e915495ab6bf0272c872d51d06","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@0xgabi/use-wallet@0.14.2","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-/EKZtc1fs1hhg+7ApIlNhQrcwT4Jlnt16ImuuwzMowoKhIlL7E51Hte8tasnGp9LGXfgHq65ICLUB/6+wHWjLA==","shasum":"205509d888f1ac56b9d91e20a49cca1e83db7ba3","tarball":"https://registry.npmjs.org/@0xgabi/use-wallet/-/use-wallet-0.14.2.tgz","fileCount":22,"unpackedSize":312571,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICoy9Qp6aiueR7KLsjoj3FTlza/oRB0Kjar8s7U3gVEOAiBqCAWmNMdjoJkjjY19hs5uRzhBL2Mtu4c1ZOICYfeeyQ=="}]},"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.14.2_1691002094013_0.9131316746506974"},"_hasShrinkwrap":false},"0.15.0":{"name":"@0xgabi/use-wallet","version":"0.15.0","author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/cjs/index.d.ts","sideEffects":false,"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint src","prepublishOnly":"git push && git push --tags","prepare":"rm -rf ./dist && yarn build"},"dependencies":{"@aragon/provided-connector":"^6.0.8","@typescript-eslint/parser":"^4.1.0","@web3-react/core":"6.1.9","@web3-react/frame-connector":"6.0.9","@web3-react/injected-connector":"6.0.7","@web3-react/walletconnect-connector":"6.2.4","jsbi":"^3.1.4","prop-types":"^15.7.2","regenerator-runtime":"^0.13.7","rollup-plugin-image-files":"^1.4.2"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"devDependencies":{"@types/react":"^16.9.49","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^4.1.0","@web3-react/abstract-connector":"^6.0.7","babel-eslint":"^10.1.0","eslint":"^7.8.1","eslint-config-prettier":"^6.9.0","eslint-config-react-app":"^5.2.1","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-flowtype":"^5.2.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.20.6","eslint-plugin-react-hooks":"^4.1.0","eslint-plugin-standard":"^4.0.1","husky":"^4.3.0","prettier":"^2.1.1","tsdx":"^0.14.1","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.13.1 || ^17","react-dom":"^16.13.1 || ^17"},"gitHead":"34f1921ce32a625a1a18840cad3c1fb654949698","description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","_id":"@0xgabi/use-wallet@0.15.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-XzP26xB0Tf69jYrFTsKhojtHOjGE8wBU5T82XSPtQhgw9xah2kRNE2q0l+49YRv5QhuJnqovpweSlxKscz/y0Q==","shasum":"9d80a242e454f6cc388d30449bbe49b5d9a98bd4","tarball":"https://registry.npmjs.org/@0xgabi/use-wallet/-/use-wallet-0.15.0.tgz","fileCount":21,"unpackedSize":310790,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVTFA16tIPaq7qEKj4hT7iemFAZQRNdGhNrNuV6bHlcgIgO0+DGmoGXKlGabl2aXvNqBvHfXizUcEPz5sgYxLQZw4="}]},"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-wallet_0.15.0_1691639250647_0.5214528756926224"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-08T21:56:05.235Z","0.9.0":"2021-07-08T21:56:05.764Z","modified":"2023-08-10T03:47:31.147Z","0.13.1":"2021-11-07T03:38:34.341Z","0.13.2":"2022-02-16T19:10:25.494Z","0.13.3":"2022-02-16T19:56:03.546Z","0.13.4":"2022-02-16T20:00:46.273Z","0.14.0":"2023-08-02T18:09:19.420Z","0.14.1":"2023-08-02T18:32:08.954Z","0.14.2":"2023-08-02T18:48:14.187Z","0.15.0":"2023-08-10T03:47:30.827Z"},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"description":"[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)","author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"MIT","readme":"# 👛 useWallet()\n\n[<img src=\"https://img.shields.io/npm/v/use-wallet\" alt=\"\" />](https://www.npmjs.com/package/use-wallet) [<img src=\"https://img.shields.io/bundlephobia/minzip/use-wallet\" alt=\"\" />](https://bundlephobia.com/result?p=use-wallet)\n\nuseWallet() allows dapp users to connect to the provider of their choice in a way that is as straightforward as possible. It provides a common data structure for any connected account, no matter what provider has been chosen by the user. It aims to provide some features that are often reimplemented by dapp developers: connecting to a wallet, keeping track of transactions, and more (submit a [issue](https://github.com/aragon/use-wallet/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) or PR!).\n\n## Features\n\n- All-in-one solution to connect to Ethereum providers.\n- Completely library agnostic (use Web3.js, ethers.js, …).\n- Provides the current balance.\n- Keeps track of the recent transactions (coming soon).\n\n### Opinionated?\n\nOh yes:\n\n- React only.\n- Ethereum only (for now).\n- Supports one network at a time.\n- Embeds as many providers as possible.\n- Every prop and parameter is optional.\n\n### What useWallet() is not\n\n- An Ethereum wallet implementation.\n- A low-level, fully configurable connection system for Ethereum providers (see [web3-react](https://github.com/NoahZinsmeister/web3-react) if you are after that).\n- An general library to interact with Ethereum (see ethers.js, Web3.js, etc.).\n\n### Used by\n\n- [Aragon client](https://github.com/aragon/aragon)\n- [Aragon’s Court Dashboard](https://github.com/aragon/court-dashboard)\n- [Aragon Voice](https://github.com/vocdoni/bridge-ui/)\n- [Wallets Chat](https://app.wallets.chat/)\n\n- _(Your project!)_\n\n## Usage\n\nAdd it to your project:\n\n```console\nyarn add use-wallet\n```\n\nUse it in your React app:\n\n```jsx\n// App.js\n\nimport React from 'react'\nimport { useWallet, UseWalletProvider } from 'use-wallet'\n\nfunction App() {\n  const wallet = useWallet()\n  const blockNumber = wallet.getBlockNumber()\n\n  return (\n    <>\n      <h1>Wallet</h1>\n      {wallet.status === 'connected' ? (\n        <div>\n          <div>Account: {wallet.account}</div>\n          <div>Balance: {wallet.balance}</div>\n          <button onClick={() => wallet.reset()}>disconnect</button>\n        </div>\n      ) : (\n        <div>\n          Connect:\n          <button onClick={() => wallet.connect()}>MetaMask</button>\n          <button onClick={() => wallet.connect('frame')}>Frame</button>\n          <button onClick={() => wallet.connect('portis')}>Portis</button>\n        </div>\n      )}\n    </>\n  )\n}\n\n// Wrap everything in <UseWalletProvider />\nexport default () => (\n  <UseWalletProvider\n    chainId={1}\n    connectors={{\n      // This is how connectors get configured\n      portis: { dAppId: 'my-dapp-id-123-xyz' },\n    }}\n  >\n    <App />\n  </UseWalletProvider>\n)\n```\n\n## API\n\n### &lt;UseWalletProvider />\n\nThis is the provider component. It should be placed above any component using `useWallet()`. Apart from `children`, it accepts two other props:\n\n#### chainId\n\nThe [Chain ID](https://chainid.network/) supported by the connection. Defaults to 1.\n\n#### connectors\n\nConfiguration for the different connectors. If you use a connector that requires a configuration but do not provide one, an error will be thrown.\n\n- `injected`: no configuration needed.\n- `frame`: no configuration needed.\n- `fortmatic`: `{ apiKey }`\n- `portis`: `{ dAppId }`\n- `provided`: `{ provider }`\n- `authereum`: no configuration needed.\n- `squarelink`: `{ clientId, options }`\n- `walletconnect`: `{ rpc: { 1: 'https://rpc-url', 3: 'https://rpc-url' } }`\n- `walletlink`: `{ url, appName, appLogoUrl }`\n\nSee the [web3-react documentation](https://github.com/NoahZinsmeister/web3-react/tree/v6/docs) for more details.\n\n#### autoConnect\n\nAutomatically connect to wallet on page load. Defaults to false.\n\n### useWallet()\n\nThis is the hook to be used throughout the app.\n\nIt takes an optional object as a single param, containing the following:\n\n- `pollBalanceInterval`: the interval used to poll the wallet balance. Defaults to 2000.\n- `pollBlockNumberInterval`: the interval used to poll the block number. Defaults to 5000.\n\nIt returns an object representing the connected account (“wallet”), containing:\n\n- `account`: the address of the account, or `null` when disconnected.\n- `balance`: the balance of the account, in wei.\n- `chainId`: The specified Chain ID of the network you're connected to.\n- `connect(connectorId)`: call this function with a connector ID to “connect” to a provider (see above for the connectors provided by default).\n- `connector`: The \"key\" of the wallet you're connected to (e.g \"metamask\", \"portis\").\n- `connectors`: the full list of connectors.\n- `error`: contains an error object with the corresponding name and message if `status` is set to `error`.\n- `ethereum`: the connected [Ethereum provider](https://eips.ethereum.org/EIPS/eip-1193).\n- `getBlockNumber()`: this function returns the current block number. This is a function because the block number updates often, which could trigger as many extra renders. Making an explicit call for the block number allows users of `useWallet()` to avoid extra renders when the block number is not needed.\n- `isConnected()`: this function returns whether the wallet is connected.\n- `networkName`: a human-readable name corresponding to the Chain ID.\n- `reset()`: call this function to “disconnect” from the current provider. This will also clean the latest error value stored in `use-wallet`'s state.\n- `status`: contains the current status of the wallet connection. The possible values are:\n  - \"disconnected\": no wallet connected (default state).\n  - \"connecting\": trying to connect to the wallet.\n  - \"connected\": connected to the wallet (i.e. the account is available).\n  - \"error\": a connection error happened.\n- `type`: whether or not the account is a contract. Can be `null` when you're\n  disconnected, or either `\"contract\"` or `\"normal\"`.\n\n## Examples\n\nTo run the examples, switch to the respective directories. Then, simply run `yarn install`\nto install, and `yarn start` to run the examples on `localhost:1234`.\n\n## Special thanks\n\nuseWallet() is a built on [web3-react](https://github.com/NoahZinsmeister/web3-react) and its connectors, which are doing all the hard work internally.\n","readmeFilename":"README.md"}