{"id":23115105,"url":"https://github.com/singhhp1069/slockeventtask","last_synced_at":"2025-04-04T01:11:28.948Z","repository":{"id":93278565,"uuid":"181350322","full_name":"singhhp1069/SlockEventTask","owner":"singhhp1069","description":null,"archived":false,"fork":false,"pushed_at":"2019-04-14T18:27:27.000Z","size":126,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T12:43:04.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/singhhp1069.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-14T18:16:54.000Z","updated_at":"2023-01-19T17:53:13.000Z","dependencies_parsed_at":"2023-06-01T17:01:05.957Z","dependency_job_id":null,"html_url":"https://github.com/singhhp1069/SlockEventTask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhhp1069%2FSlockEventTask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhhp1069%2FSlockEventTask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhhp1069%2FSlockEventTask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhhp1069%2FSlockEventTask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/singhhp1069","download_url":"https://codeload.github.com/singhhp1069/SlockEventTask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103307,"owners_count":20884023,"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":[],"created_at":"2024-12-17T03:39:21.554Z","updated_at":"2025-04-04T01:11:28.942Z","avatar_url":"https://github.com/singhhp1069.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slock Programming Task\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.2.2.\n\nThe programming task shared by **Yvonne Jaursch**\n\n### Details\nAs mentioned in the task to install the parity network, unfortunatly I tried but my system configuration is quite poor so it didn't worked on my macbook.\nand as an alternate way in used infura.io\n\n*JSON-RPC endpoints*\n```sh\nhttps://mainnet.infura.io/v3/d8f39143f5b34f77964e944de142dbfb\n```\n*websocket*\n```sh\nwss://mainnet.infura.io/ws/v3/d8f39143f5b34f77964e944de142dbfb\n```\n*Address*\n```sh\n0x6090A6e47849629b7245Dfa1Ca21D94cd15878Ef\n```\n*ABI*\n```sh\nhttps://etherscan.io/address/0x6090a6e47849629b7245dfa1ca21d94cd15878ef#code\n```\n*Event*\nrelavent event is **BidRevealed** in unsealBid function in contract\n\n*blockCount*\nethereum block count per day on average is around 6000 blocks as per **https://etherscan.io/chart/blocks** so for past 2 days events I have used 12000 blocks, which is substracted from the currentBlockCount.\n\n### Envoirnment Variables\nyou can change the ENV variables under */src/environments/environments.prod.ts*\n\n### Installation and Running\n\nMake sure the Docker is installed and running.\n\n## Without Docker\n```sh\nnpm i -g angular/cli@latest\nnpm install\nng serve\n```\naccess it on **localhost:4200**\n\n## With Docker\n**to build the image**\n```sh\ndocker build -t ngeventapp .\n```\n\n**to run the image**\n```sh\ndocker run -p 80:80 ngeventapp\n```\n\nconfigure the expose PORT NUMBER accordingly.\n\n### Todos\n - Let me know if you want me to do any changes\n \n\n**Har Preet Singh**\n**singhhp1069@gmail.com**\n**https://www.linkedin.com/in/singhhp1069/**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghhp1069%2Fslockeventtask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinghhp1069%2Fslockeventtask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghhp1069%2Fslockeventtask/lists"}