{"id":24988415,"url":"https://github.com/lit-protocol/event-listener-test","last_synced_at":"2025-07-11T01:35:38.613Z","repository":{"id":271466297,"uuid":"913545774","full_name":"LIT-Protocol/event-listener-test","owner":"LIT-Protocol","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-07T22:59:33.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-04T12:04:12.142Z","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/LIT-Protocol.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":"2025-01-07T22:27:12.000Z","updated_at":"2025-01-07T22:59:36.000Z","dependencies_parsed_at":"2025-01-07T23:34:16.730Z","dependency_job_id":"98328b12-75f1-4a98-8a6a-6b312c8aca5b","html_url":"https://github.com/LIT-Protocol/event-listener-test","commit_stats":null,"previous_names":["lit-protocol/event-listener-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIT-Protocol%2Fevent-listener-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIT-Protocol%2Fevent-listener-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIT-Protocol%2Fevent-listener-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIT-Protocol%2Fevent-listener-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LIT-Protocol","download_url":"https://codeload.github.com/LIT-Protocol/event-listener-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246174604,"owners_count":20735417,"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":"2025-02-04T12:04:13.767Z","updated_at":"2025-03-29T11:17:57.163Z","avatar_url":"https://github.com/LIT-Protocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Event listener PoC / test\n\nThis is a proof of concept for an event listener using Rust and ethers.\n\nIt is a simple contract that emits events, and a Rust program that listens for those events.\n\nThe Rust program is a simple polling program that queries the contract for events in blocks.\n\nThe TypeScript program is a simple script that emits 100 events to the contract.\n\n## Usage\n\nTo run the tests, make sure you have a Yellowstone private key in the `LIT_ROLLUP_MAINNET_DEPLOYER_PRIVATE_KEY` environment variable. The emitter contract is already deployed, but if you want to isolate the test to ensure nobody else is emitting events, you can deploy it yourself with the `scripts/deploy.ts.ts` script. Note that the contract address is hardcoded in a bunch of places so you'll need to change that as well.\n\nTo run the test where we emit 100 events and check that we received all of the in rust, run `./test.sh`. in the `rust-ethers` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flit-protocol%2Fevent-listener-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flit-protocol%2Fevent-listener-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flit-protocol%2Fevent-listener-test/lists"}