{"id":31619455,"url":"https://github.com/multiversx/mx-chain-chainlink-scripts","last_synced_at":"2026-02-26T01:37:59.984Z","repository":{"id":47961938,"uuid":"374637255","full_name":"multiversx/mx-chain-chainlink-scripts","owner":"multiversx","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-11T16:41:32.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-04-01T15:08:35.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/multiversx.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}},"created_at":"2021-06-07T11:14:41.000Z","updated_at":"2023-01-11T16:41:28.000Z","dependencies_parsed_at":"2023-02-09T03:45:23.354Z","dependency_job_id":null,"html_url":"https://github.com/multiversx/mx-chain-chainlink-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/multiversx/mx-chain-chainlink-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiversx%2Fmx-chain-chainlink-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiversx%2Fmx-chain-chainlink-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiversx%2Fmx-chain-chainlink-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiversx%2Fmx-chain-chainlink-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/multiversx","download_url":"https://codeload.github.com/multiversx/mx-chain-chainlink-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiversx%2Fmx-chain-chainlink-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278621844,"owners_count":26017253,"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-10-06T02:00:05.630Z","response_time":65,"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":[],"created_at":"2025-10-06T14:06:32.867Z","updated_at":"2025-10-06T14:06:35.487Z","avatar_url":"https://github.com/multiversx.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MultiversX Chainlink Adapter\n\n## INTRODUCTION\n\nScripts will install and run a Chainlink Node complete with Postgresql DB and the MultiversX Chainlink Connector.\nThe Chainlink Node and MultiversX Adapter will run as system services that can be turned on/off independently.\n\n## REQUIREMENTS\n\n- Running Ubuntu 20.04 \u0026 up\n- Running the script requires a user (not root) with sudo priviledges (without password).\n\n## SCRIPT SETTINGS - MUST BE MODIFIED BEFORE FIRST RUN\n\n- config/variables.cfg - used to define username, home path, database options and chainlink node options.\n\n## KEY MANAGEMENT\n\nBefore installing/running be sure to add a valid `owner.pem` to the script PEM folder.\n\n- create a folder named `PEM` inside the scripts folder\n- add the `owner.pem` file inside the previously created folder\n\n## RUNNING THE SCRIPT\n\n    [FIRST RUN]\n\n`./script.sh install` - installs everything needed to run the elrond-adapter;\n\n    [START]\n`./script.sh start_chainlink` - starts the Chainlink Node;\n`./script.sh start_adapter` - starts the MultiversX Adapter;\n\n    [STOP]\n`./script.sh stop_chainlink` - stops the Chainlink Node;\n`./script.sh stop_adapter` - stops the MultiversX Adapter;\n\n    [CLEANUP]\n\n`./script.sh clean` - #Removes installed packages;\n\n## API Examples (elrond-adapter)\n\n### HTTP `POST /write` endpoint\n\nSends transaction and writes the request data to the MultiversX network\n\nInput:\n\n```json\n{\n  \"id\": \"bbfd3e3a8aed4d46abb0a89764951bf9\",\n  \"data\": {\n    \"value\": \"15051\",\n    \"data\": {},\n    \"sc_address\": \"erd1...\",\n    \"function\": \"submit_endpoint\",\n    \"round_id\": \"145\"\n  }\n}\n```\n\nOutput:\n\n```json\n{\n  \"jobRunID\": \"bbfd3e3a8aed4d46abb0a89764951bf9\",\n  \"data\": {\n    \"result\": \"19feccf4b8590bcc9554ad632ff23f8344d0318fbac643bdba5fa7a605373bf4\"\n  },\n  \"result\": \"19feccf4b8590bcc9554ad632ff23f8344d0318fbac643bdba5fa7a605373bf4\",\n  \"statusCode\": 200\n}\n```\n\n### HTTP `POST /price-job` endpoint\n\nStarts a price feed job which aggregates feeds from multiple sources and pushes data in the aggregator smart contract\n\nData body can be left empty, it reads input values from `config.toml`\n\nInput:\n\n```json\n{\n  \"id\": \"bbfd3e3a8aed4d46abb0a89764951bf9\",\n  \"data\": {}\n}\n```\n\nOutput:\n\n```json\n{\n  \"jobRunID\": \"bbfd3e3a8aed4d46abb0a89764951bf9\",\n  \"data\": {\n    \"result\": {\n      \"txHashes\": [\n        \"25d1731151692cd75aa605dcad376c6acf0cd22d6fe0a1ea50a8e2cd25c16f27\",\n        \"f95060ff47bc676f63a72cc5a51ead7ebbb1a21131d60e2273d5148a2fea3d95\",\n        \"3a3092ba6bf49ad54afbdb2b08efa91b6b024e25753797dee675091c9b8f1891\",\n        \"102ff3ef391cb4c53de2b9c672a98a4dca0c93da53be7255c827c60c8da029d3\",\n        \"9c0c4c1ab8372efc21c4bbcadfc79162564e9895c91f73d942cb96be53ddd27e\"\n      ]\n    }\n  },\n  \"result\": {\n    \"txHashes\": [\n      \"25d1731151692cd75aa605dcad376c6acf0cd22d6fe0a1ea50a8e2cd25c16f27\",\n      \"f95060ff47bc676f63a72cc5a51ead7ebbb1a21131d60e2273d5148a2fea3d95\",\n      \"3a3092ba6bf49ad54afbdb2b08efa91b6b024e25753797dee675091c9b8f1891\",\n      \"102ff3ef391cb4c53de2b9c672a98a4dca0c93da53be7255c827c60c8da029d3\",\n      \"9c0c4c1ab8372efc21c4bbcadfc79162564e9895c91f73d942cb96be53ddd27e\"\n    ]\n  },\n  \"statusCode\": 200\n}\n```\n\n### HTTP `POST /ethgas/denominate` endpoint\n\nFetched latest eth gas prices, in gwei and denominates the value in a specified asset. e.g GWEI/EGLD\n\nData body can be left empty, it reads input values from `config.toml`\n\nInput:\n\n```json\n{\n  \"id\": \"bbfd3e3a8aed4d46abb0a89764951bf9\",\n  \"data\": {}\n}\n```\n\nOutput:\n\n```json\n{\n  \"jobRunID\": \"bbfd3e3a8aed4d46abb0a89764951bf9\",\n  \"data\": {\n    \"result\": \"19feccf4b8590bcc9554ad632ff23f8344d0318fbac643bdba5fa7a605373bf4\"\n  },\n  \"result\": \"19feccf4b8590bcc9554ad632ff23f8344d0318fbac643bdba5fa7a605373bf4\",\n  \"statusCode\": 200\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultiversx%2Fmx-chain-chainlink-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmultiversx%2Fmx-chain-chainlink-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultiversx%2Fmx-chain-chainlink-scripts/lists"}