{"id":13651136,"url":"https://github.com/smartcontractkit/chainlink-polkadot","last_synced_at":"2025-04-22T22:30:34.033Z","repository":{"id":37177873,"uuid":"227884596","full_name":"smartcontractkit/chainlink-polkadot","owner":"smartcontractkit","description":null,"archived":true,"fork":false,"pushed_at":"2023-09-06T19:50:58.000Z","size":2779,"stargazers_count":138,"open_issues_count":30,"forks_count":71,"subscribers_count":83,"default_branch":"master","last_synced_at":"2024-01-25T03:03:23.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smartcontractkit.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":"2019-12-13T16:53:48.000Z","updated_at":"2024-01-24T10:10:18.000Z","dependencies_parsed_at":"2024-01-03T05:14:07.864Z","dependency_job_id":"e3a1f40a-91aa-4b17-91a4-ecedd68f0017","html_url":"https://github.com/smartcontractkit/chainlink-polkadot","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/smartcontractkit%2Fchainlink-polkadot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartcontractkit%2Fchainlink-polkadot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartcontractkit%2Fchainlink-polkadot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartcontractkit%2Fchainlink-polkadot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartcontractkit","download_url":"https://codeload.github.com/smartcontractkit/chainlink-polkadot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250333859,"owners_count":21413470,"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-08-02T02:00:45.596Z","updated_at":"2025-04-22T22:30:32.475Z","avatar_url":"https://github.com/smartcontractkit.png","language":"Go","funding_links":[],"categories":["Rust","FRAME Pallets"],"sub_categories":[],"readme":"# Chainlink-polkadot\n\nThis repository contains the [Chainlink](https://chain.link/) feed pallet as well as an example node showing how to integrate\nit in [Substrate](https://www.substrate.io/)-based chains.\n\nIt also includes the `pallet-chainlink` for interacting with the Chainlink job-based oracle system.\n\n## How to integrate the Chainlink feed pallet into a runtime?\nThe pallet is added to the runtime like any regular pallet (see [tutorial](https://substrate.dev/docs/en/tutorials/add-a-pallet/)).\nIt then needs to be configured. See the [pallet readme](./pallet-chainlink-feed/README.md) for details.\n\nThe usage is simple:\n```Rust\nlet feed = T::Oracle::feed(0.into()).ok_or(Error::\u003cT\u003e::FeedMissing)?;\nlet RoundData { answer, .. } = feed.latest_data();\ndo_something_with_answer(answer);\n```\nSee [the template pallet](./substrate-node-example/pallets/template/src/lib.rs) for a full example showing how to access a price feed.\n\n\n## Run the example\n\n`substrate-node-example` demonstrates how to use `pallet-chainlink-feed` end-to-end.\nTo test:\n\n* start the chain using `make run-temp` (for a temporary node which cleans up after itself)\n* connect to the chain by pointing https://polkadot.js.org/apps/ (or a locally hosted version) to the local dev node \n* specify the types by copying `substrate-node-example/types.json` into the input at `Settings \u003e Developer`\n\nYou are now ready to send extrinsics to the pallet.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartcontractkit%2Fchainlink-polkadot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartcontractkit%2Fchainlink-polkadot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartcontractkit%2Fchainlink-polkadot/lists"}