{"id":18622114,"url":"https://github.com/0xpuddi/qd-oracle","last_synced_at":"2025-09-04T19:06:54.629Z","repository":{"id":150007547,"uuid":"612996025","full_name":"0xPuddi/QD-Oracle","owner":"0xPuddi","description":"QuarryDraw's on-chain price feed Oracle infrastructure. Oracle Script.","archived":false,"fork":false,"pushed_at":"2024-01-08T14:06:07.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T05:35:46.180Z","etag":null,"topics":["javascript","oracle","script"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/0xPuddi.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}},"created_at":"2023-03-12T15:43:38.000Z","updated_at":"2024-01-09T08:29:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3cb8cd1-cd54-4858-a8ef-16421f3959be","html_url":"https://github.com/0xPuddi/QD-Oracle","commit_stats":null,"previous_names":["puddi1/qd-oracle","0xpuddi/qd-oracle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xPuddi/QD-Oracle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPuddi%2FQD-Oracle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPuddi%2FQD-Oracle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPuddi%2FQD-Oracle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPuddi%2FQD-Oracle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xPuddi","download_url":"https://codeload.github.com/0xPuddi/QD-Oracle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPuddi%2FQD-Oracle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273657197,"owners_count":25145030,"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-09-04T02:00:08.968Z","response_time":61,"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":["javascript","oracle","script"],"created_at":"2024-11-07T04:15:38.204Z","updated_at":"2025-09-04T19:06:54.596Z","avatar_url":"https://github.com/0xPuddi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quarry Draw Oracle\n\nThis is a three repo project: Quarry Draw Oracle, [Quarry Draw Oracle Server](https://github.com/Puddi1/QD-OracleServer) and [Quarry Draw Validator Contracts](https://github.com/Puddi1/QD-Validator-Contracts).\n\nThe project consist of an on-chain price feed Oracle.\n\nThe Oracle uses a series of GET API endpoints provided by the [Quarry Draw Oracle Server](https://github.com/Puddi1/OracleServer) to fetch price data, then on a regular time basis it updates the on-chain price.\n\n## Usage\n\nStart with adding the environment variables in your `.env` that are needed in the oracle, where:\n\n- `BASE_URL` is the base URL of the [Quarry Draw Oracle Server](https://github.com/Puddi1/QD-OracleServer)\n- `RPC` is the blockchain rpc URL the Oracle will send transactions to.\n- `ORACLE_WALLET_PRIVATE_KEY` is the private key of the wallet the Oracle will use to transact.\n- `CONTRACT_ADDRESS` is the address of the contract the Oracle will send transactions to.\n\nFor syntax example refer to `.env.example`\n\nBefore running the script install all required packages:\n```sh\nnpm i\n```\n\nThen run the Oracle with any js runtime (node):\n```sh\nnode index.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xpuddi%2Fqd-oracle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xpuddi%2Fqd-oracle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xpuddi%2Fqd-oracle/lists"}