{"id":13631086,"url":"https://github.com/ethjs/examples","last_synced_at":"2025-08-22T10:10:08.918Z","repository":{"id":50287018,"uuid":"76809898","full_name":"ethjs/examples","owner":"ethjs","description":"A set of example dApps and apps using ethjs.","archived":false,"fork":false,"pushed_at":"2023-01-17T10:52:13.000Z","size":861,"stargazers_count":118,"open_issues_count":2,"forks_count":69,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-07-14T07:05:48.800Z","etag":null,"topics":["dapp","ethjs","examples","solidity","web3"],"latest_commit_sha":null,"homepage":"http://ethjs-examples.surge.sh","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ethjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-18T22:15:56.000Z","updated_at":"2025-04-27T12:15:05.000Z","dependencies_parsed_at":"2023-02-10T09:15:38.093Z","dependency_job_id":null,"html_url":"https://github.com/ethjs/examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ethjs/examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethjs%2Fexamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethjs%2Fexamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethjs%2Fexamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethjs%2Fexamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethjs","download_url":"https://codeload.github.com/ethjs/examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethjs%2Fexamples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271620597,"owners_count":24791569,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dapp","ethjs","examples","solidity","web3"],"created_at":"2024-08-01T22:02:10.012Z","updated_at":"2025-08-22T10:10:08.765Z","avatar_url":"https://github.com/ethjs.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"## ethjs-examples\n\nA set of example dApps and apps using `ethjs`.\n\n## Install\n\n```\ngit clone http://github.com/ethjs/examples\ncd examples\n```\n\n## Hosted\n\n[ethjs-examples.surge.sh](http://ethjs-examples.surge.sh)\n\n## Usage\n\nOpen any of the `.html` files in `Chrome` or `Firefox`. Everything runs out of the box.\n\n## Available Examples\n\n  - [Account dApp](http://ethjs-examples.surge.sh/accounts.html) - [code](./accounts.html) -- See your Ethereum accounts and balances\n  - [Ballot dApp](http://ethjs-examples.surge.sh/ballot.html) - [code](./ballot.html) -- The Ballot.sol dApp from the Solidity Read the docs\n  - [Blockchain Explorer](http://ethjs-examples.surge.sh/blockchain-explorer.html) -  [code](./blockchain-explorer.html) Lookup blocks and transactions on the Etheruem mainnet, via Infura.io\n  - [First Contract dApp](http://ethjs-examples.surge.sh/first-contract.html) -  [code](./first-contract.html) - Set and Get from a SimpleStore contract\n  - [Simple Auction dApp](http://ethjs-examples.surge.sh/simple-auction.html) -  [code](./simple-auction.html) - [try now](http://www.webpackbin.com/4yJyG0hrG) -- A simple Ethereum auction from the Solidity examples\n  - [Token Wallet](http://ethjs-examples.surge.sh/token-wallet.html) -  [code](./token-wallet.html) - Send and receive EC20 standard tokens\n  - [TicTacToe](http://ethjs-examples.surge.sh/tictactoe.html) -  [code](./tictactoe.html) - [try now](http://www.webpackbin.com/V1hFA02Bz) -- A tic tac toe game, the winning player gets the reward!\n\n## About\n\nThis is a small set of dApps and apps using `ethjs`. Each example is meant to demonstrate correct usage of `ethjs` modules, namely, the [`ethjs`](http://github.com/ethjs/ethjs) module.\n\nMany of these examples use `ethereumjs-testrpc` to simulate an Ethereum node running in the browser. This is meant to get you up and running with Ethereum, so configuration is kept to a minimum. Once you feel ready to go to an actual node or client, please use any one of the available nodes or clients listed below.\n\n## Libraries Used\n\n  - [TestRPC](http://github.com/ethereumjs/testrpc) - An entire Ethereum node simulator written in Javascript\n  - [ethjs](http://github.com/ethjs/ethjs) - A simple JS utility library for Ethereum\n\n## Enable Metamask Support\n\nOnce your ready to go live on the Ethereum `mainnet` or `testnet`, simply add this script to make your dApp to make it MetaMask ready (note every example has this script commented off by default, simply uncomment it to enable support).\n\n```js\nif (typeof window.web3 !== 'undefined' \u0026\u0026 typeof window.web3.currentProvider !== 'undefined') {\n  eth.setProvider(window.web3.currentProvider);\n} else {\n  eth.setProvider(provider);\n}\n```\n\n## Contributing\n\nPlease help better the ecosystem by submitting issues and pull requests to default. We need all the help we can get to build the absolute best linting standards and utilities. We follow the AirBNB linting standard and the unix philosophy.\n\n## Guides\n\nPlease see the Ethereum RPC specification hosted on their github:\n\nhttps://github.com/ethereum/wiki/wiki/JSON-RPC\n\n## Help out\n\nThere is always a lot of work to do, and will have many rules to maintain. So please help out in any way that you can:\n\n- Create, enhance, and debug ethjs rules (see our guide to [\"Working on rules\"](./github/CONTRIBUTING.md)).\n- Improve documentation.\n- Chime in on any open issue or pull request.\n- Open new issues about your ideas for making `ethjs-schema` better, and pull requests to show us how your idea works.\n- Add new tests to *absolutely anything*.\n- Spread the word.\n\nPlease consult our [Code of Conduct](CODE_OF_CONDUCT.md) docs before helping out.\n\nWe communicate via [issues](https://github.com/ethjs/ethjs-schema/issues) and [pull requests](https://github.com/ethjs/ethjs-schema/pulls).\n\n## Important documents\n\n- [Changelog](CHANGELOG.md)\n- [Code of Conduct](CODE_OF_CONDUCT.md)\n- [License](https://raw.githubusercontent.com/ethjs/ethjs-schema/master/LICENSE)\n\n## Licence\n\nThis project is licensed under the MIT license, Copyright (c) 2016 Nick Dodson. For more information see LICENSE.md.\n\n```\nThe MIT License\n\nCopyright (c) 2016 Nick Dodson. nickdodson.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethjs%2Fexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethjs%2Fexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethjs%2Fexamples/lists"}