{"id":29219772,"url":"https://github.com/protofire/tezos-price-oracle","last_synced_at":"2025-08-25T13:25:42.969Z","repository":{"id":43940592,"uuid":"267171748","full_name":"protofire/tezos-price-oracle","owner":"protofire","description":"Tezos price oracle for a liquidity pool","archived":false,"fork":false,"pushed_at":"2023-01-24T02:43:05.000Z","size":1293,"stargazers_count":4,"open_issues_count":19,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-22T21:18:45.954Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/protofire.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}},"created_at":"2020-05-26T23:15:28.000Z","updated_at":"2023-03-12T17:04:46.000Z","dependencies_parsed_at":"2023-01-26T18:30:57.418Z","dependency_job_id":null,"html_url":"https://github.com/protofire/tezos-price-oracle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/protofire/tezos-price-oracle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Ftezos-price-oracle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Ftezos-price-oracle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Ftezos-price-oracle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Ftezos-price-oracle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/protofire","download_url":"https://codeload.github.com/protofire/tezos-price-oracle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Ftezos-price-oracle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261973401,"owners_count":23238558,"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-07-03T02:07:27.952Z","updated_at":"2025-07-03T02:07:29.508Z","avatar_url":"https://github.com/protofire.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tezos price oracle\n\nThe Tezos Price Oracle receives price updates from a centralized poster, who pulls the prices from coingecko. \n\n## Contracts\n\n### Oracle: \n- [Better call dev link](https://better-call.dev/bigmap/carthagenet/KT1WBqqaCzh8MVD65fvL2CHmEJGrNahHRw4A)\n- [Contract in the Ligo IDE online](https://ide.ligolang.org/p/KlnD-FsYFR4UbYWlV3mNlA)\n\n### Inspector:\n- [Better call dev link](https://better-call.dev/bigmap/carthagenet/KT1XqUyWpK5Dc97E2NUtdfVo3n1hwxoTbd6r)\n- [Contract in the Ligo IDE online](https://ide.ligolang.org/p/H_Kj28bncDwsBGKr-wJg2Q)\n\n## Architecture\n\u003cimg src=\"https://i.ibb.co/qjvdtn7/Untitled-Diagram-1.png\" width=\"600\"\u003e\n\n## Installation\n\nTo deploy the Tezos price oracle you can use [the Ligo IDE online](https://ide.ligolang.org/p/ceSGJQnxzT7VreZbRshyJA)\n\nYou will need [yarn](https://yarnpkg.com/lang/en/docs/install/) or [npm](https://docs.npmjs.com/cli/install) installed.\n\n```\n    git clone https://github.com/protofire/tezos-price-oracle\n    cd tezos-price-oracle\n    yarn\n```\n\n## Poster Script\n\nThe poster is a simple centralized application created with oclif, that reads from coingecko the prices of Tez and Bitcoin and post them to the blockchain.\n\n### Running\nThe poster command requires some arguments to run:\n\n- ORACLE_ADDRESS: The oracle address where the contract is deployed.\n- TEZOS_RPC: a Tezos public rpc.\n- Some properties from a wallet: MNEMONIC, SECRET, PKH, PASSWORD, EMAIL, to be used as a signer. This wallet must be whitelisted by the oracle contract. You can download some faucet from [here](https://faucet.tzalpha.net/).\n```\nMNEMONIC=\"MNEMONIC\" SECRET=\"SECRET\" PKH=\"PKH\" PASSWORD=\"PASSWORD\" EMAIL=\"EMAIL\" TEZOS_RPC=\"https://api.tez.ie/rpc/carthagenet/\" ORACLE_ADDRESS=\"ORACLE_ADDRESS\"  ./bin/run assets\n``` \n\n### Discussion\nFor any concerns with the oracle, please open an issue \n\n### Licensing\n[MIT](https://github.com/protofire/tezos-defi-dapp/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotofire%2Ftezos-price-oracle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotofire%2Ftezos-price-oracle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotofire%2Ftezos-price-oracle/lists"}