{"id":23173644,"url":"https://github.com/dreamjet31/uptime-verification-oraclize","last_synced_at":"2025-04-05T00:25:23.196Z","repository":{"id":242595827,"uuid":"681577092","full_name":"dreamjet31/Uptime-Verification-Oraclize","owner":"dreamjet31","description":"Uptime Verification System","archived":false,"fork":false,"pushed_at":"2023-08-22T10:07:29.000Z","size":365,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T08:49:38.944Z","etag":null,"topics":["ethereum-bridge","ethereum-dapp","oraclize","provable","provable-things","solidity","truffle"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dreamjet31.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-22T10:04:32.000Z","updated_at":"2023-08-22T10:06:50.000Z","dependencies_parsed_at":"2024-06-04T00:10:28.243Z","dependency_job_id":"4c4453f3-281f-421e-8688-013eb79db64a","html_url":"https://github.com/dreamjet31/Uptime-Verification-Oraclize","commit_stats":null,"previous_names":["dreamjet31/uptime-verification-oraclize"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamjet31%2FUptime-Verification-Oraclize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamjet31%2FUptime-Verification-Oraclize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamjet31%2FUptime-Verification-Oraclize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamjet31%2FUptime-Verification-Oraclize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreamjet31","download_url":"https://codeload.github.com/dreamjet31/Uptime-Verification-Oraclize/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247268197,"owners_count":20911094,"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-bridge","ethereum-dapp","oraclize","provable","provable-things","solidity","truffle"],"created_at":"2024-12-18T05:16:43.366Z","updated_at":"2025-04-05T00:25:23.180Z","avatar_url":"https://github.com/dreamjet31.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repo is to demonstrate how an Oraclize smart-contract is used in managing an ISP and its customers account by debiting the ISP account anytime there is a breach in contract in the offtime value gotten from the API using Truffle \u0026 the Ethereum-Bridge to do most of the heavy lifting for you. Head on over to the `./test` folder to examine the javascript files that thoroughly test the smart-contract, which latter you will find in `./contracts`.\n\n## :page_with_curl:  _Instructions_\n\n**1)** Fire up your favourite console \u0026 clone this repo somewhere:\n\n__`❍ git clone https://github.com/flurryunicorn/Uptime-Verification-Oraclize.git`__\n\n**2)** Enter this directory \u0026 install dependencies:\n\n__`❍ cd Uptime-Verification-Oraclize \u0026\u0026 npm install`__\n\n**3)** Install npx if not already installed:\n\n__`❍ sudo npm install -g npx `__\n\n**4)** Launch Truffle:\n\n__`❍ npx truffle develop`__\n\n**5)** Open a _new_ console in the same directory \u0026 spool up the ethereum-bridge:\n\n__`❍ npx ethereum-bridge -a 9 -H 127.0.0.1 -p 9545 --dev `__\n\n**6)** Once the bridge is ready \u0026 listening, go back to the first console with Truffle running \u0026 compile the contract code\n\n__`❍ truffle(develop)\u003e compile`__\n\n**7)** Migrate the contract to the network:\n\n__`❍ truffle(develop)\u003e migrate `__\n\n**8)** Set the tests going!\n\n__`❍ truffle(develop)\u003e test`__\n\n**9)** Open a _new_ console in the same directory \u0026 Start up the ÐApp:\n\n__`❍ npm run dev `__\n\n\u0026nbsp;\n\n## :camera: Passing Tests:\n\n![The passing tests](uptime-verification-test.png)\n\n\u0026nbsp;\n\n## :globe_with_meridians: ÐApp Homepage:\n\n![ÐApp Homepage](homepage.jpg)\n\n\u0026nbsp;\n\n__*Happy developing!*__\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamjet31%2Fuptime-verification-oraclize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreamjet31%2Fuptime-verification-oraclize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamjet31%2Fuptime-verification-oraclize/lists"}