{"id":21712512,"url":"https://github.com/youfoundron/react-web3-network-status","last_synced_at":"2025-04-12T18:08:20.812Z","repository":{"id":57347633,"uuid":"102671790","full_name":"youfoundron/react-web3-network-status","owner":"youfoundron","description":"Simple and subtle Ethereum network status indicator inspired by MetaMask. 🌐🔌 ","archived":false,"fork":false,"pushed_at":"2017-11-08T09:34:37.000Z","size":203,"stargazers_count":56,"open_issues_count":11,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T18:04:22.600Z","etag":null,"topics":["ethereum","metamask","network","react","web3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/youfoundron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-07T00:32:31.000Z","updated_at":"2025-02-22T01:48:29.000Z","dependencies_parsed_at":"2022-08-28T01:40:14.379Z","dependency_job_id":null,"html_url":"https://github.com/youfoundron/react-web3-network-status","commit_stats":null,"previous_names":["rongierlach/react-web3-network-status"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youfoundron%2Freact-web3-network-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youfoundron%2Freact-web3-network-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youfoundron%2Freact-web3-network-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youfoundron%2Freact-web3-network-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youfoundron","download_url":"https://codeload.github.com/youfoundron/react-web3-network-status/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610346,"owners_count":21132921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ethereum","metamask","network","react","web3"],"created_at":"2024-11-25T23:39:31.117Z","updated_at":"2025-04-12T18:08:20.776Z","avatar_url":"https://github.com/youfoundron.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" markdown=\"1\"\u003eReact Web3 Network Status\u003c/h1\u003e\n\u003cp align=\"center\" markdown=\"1\"\u003e\n  \u003ca href=\"https://badge.fury.io/js/react-web3-network-status\"\u003e\n    \u003cimg src=\"https://badge.fury.io/js/react-web3-network-status.svg\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- \u003ca href=\"https://travis-ci.org/rongierlach/react-web3-network-status\"\u003e\n    \u003cimg src=\"https://travis-ci.org/rongierlach/react-web3-network-status.svg?branch=master\" /\u003e\n  \u003c/a\u003e --\u003e\n  \u003c!-- \u003ca href=\"https://coveralls.io/github/rongierlach/react-web3-network-status?branch=master\"\u003e\n    \u003cimg src=\"https://coveralls.io/repos/github/rongierlach/react-web3-newtork-status/badge.svg?branch=master\" /\u003e\n  \u003c/a\u003e --\u003e\n  \u003ca href=\"https://david-dm.org/rongierlach/react-web3-network-status\"\u003e\n    \u003cimg src=\"https://david-dm.org/rongierlach/react-web3-network-status.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://david-dm.org/rongierlach/react-web3-network-status?type=peer\"\u003e\n    \u003cimg src=\"https://david-dm.org/rongierlach/react-web3-network-status/peer-status.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://david-dm.org/rongierlach/react-web3-network-status?type=dev\"\u003e\n    \u003cimg src=\"https://david-dm.org/rongierlach/react-web3-network-status/dev-status.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://standardjs.com\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg\n  src=\"https://user-images.githubusercontent.com/4658359/30234946-21873ec8-94c8-11e7-88ee-296b098a49f8.gif\"\n/\u003e\u003c/p\u003e\n\nA MetaMask inspired component to show users the status of their network connectivity.  \nNow [officially endorsed](https://twitter.com/metamask_io/status/928031347494461442)!\n\n## Installation\nUsing npm:  \n`$ npm install --save react-web3-network-status web3@^0.x.x babel-polyfill`  \n\nUsing yarn:  \n`$ yarn add react-web3-network-status web3@^0.x.x babel-polyfill`\n\n## Usage\n```javascript\nimport 'babel-polyfill'\nimport React from 'react'\nimport NetworkStatus from 'react-web3-network-status'\n\nconst MyApp = () =\u003e (\n  \u003cdiv\u003e\n    \u003cNetworkStatus /\u003e\n  \u003c/div\u003e\n)\n\nexport default MyApp\n```\n\nIf you're already managing state and wish to explicitly pass a network id, try out the stateless version:\n```javascript\nimport React from 'react'\nimport NetworkStatus from 'react-web3-network-status/stateless'\n\nconst MyApp = () =\u003e (\n  \u003cdiv\u003e\n    \u003cNetworkStatus\n      networkId='1' // 1, 3, 4, 42, null, 'not-listening', or 'account-not-unlocked'\n      address='0xe80C8E9ecB8e0F8CF75f4C5D1c15A065575a1cb9' // optional\n    /\u003e\n  \u003c/div\u003e\n)\n\nexport default MyApp\n```\n\n## Demo\nTo run the demo app locally, clone this repo and run:\n```\n$ cd ../react-web3-network-status\n$ npm install\n$ npm run demo\n```\nThen visit [localhost:3000](http://localhost:3000) in your browser.\n\n## Contributing\nTo contribute effectively, follow these steps:\n1. Create a feature branch: `git checkout -b my-new-feature`\n2. Commit your changes: `git commit -m 'add some feature'`\n3. Push to the branch: `git push origin my-new-feature`\n4. Submit a pull request!\n\n## Inspiration\n* [MetaMask](https://github.com/MetaMask/metamask-extension) - User interface\n* [react-web3](https://github.com/coopermaruyama/react-web3) - User experience\n* [DAO1901](https://github.com/asseth/dao1901) - State management using Redux Sagas\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoufoundron%2Freact-web3-network-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoufoundron%2Freact-web3-network-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoufoundron%2Freact-web3-network-status/lists"}