{"id":27801194,"url":"https://github.com/reqlez/ergo-easy-oracle","last_synced_at":"2026-01-18T04:43:57.864Z","repository":{"id":64197871,"uuid":"574013541","full_name":"reqlez/ergo-easy-oracle","owner":"reqlez","description":"Mainnet Node, Oracle v2 and Monitoring","archived":false,"fork":false,"pushed_at":"2024-02-10T18:09:15.000Z","size":95,"stargazers_count":8,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-02T09:49:22.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/reqlez.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}},"created_at":"2022-12-04T06:15:16.000Z","updated_at":"2024-02-15T00:10:44.000Z","dependencies_parsed_at":"2023-09-19T18:02:44.522Z","dependency_job_id":"9702db2f-f2d7-4c32-b643-d9da041b40cd","html_url":"https://github.com/reqlez/ergo-easy-oracle","commit_stats":null,"previous_names":["reqlez/ergo-easy-oracle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reqlez/ergo-easy-oracle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reqlez%2Fergo-easy-oracle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reqlez%2Fergo-easy-oracle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reqlez%2Fergo-easy-oracle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reqlez%2Fergo-easy-oracle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reqlez","download_url":"https://codeload.github.com/reqlez/ergo-easy-oracle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reqlez%2Fergo-easy-oracle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28530079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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-05-01T05:00:55.718Z","updated_at":"2026-01-18T04:43:57.847Z","avatar_url":"https://github.com/reqlez.png","language":"Dockerfile","funding_links":[],"categories":["🏗️ Core Infrastructure \u003ca id=\"core-infrastructure\"\u003e\u003c/a\u003e"],"sub_categories":["🔮 Oracles \u003ca id=\"oracles\"\u003e\u003c/a\u003e"],"readme":"# Easy Ergo Node + Oracle Setup\n\nPrerequisites: make sure git, nano?, docker, and docker compose plugin are installed.\nFor Docker, follow: https://docs.docker.com/engine/install/  +  https://docs.docker.com/engine/install/linux-postinstall/\n\nClone this repo:\n\n```console\ngit clone https://github.com/reqlez/ergo-easy-oracle.git \u0026\u0026 cd ergo-easy-oracle\n```\n\nClone oracle-core repo ( OPTIONAL - only if building instead of using DockerHub image ):\n\n```console\ngit clone -b develop https://github.com/ergoplatform/oracle-core.git\n```\n\nCreate Docker network and set folder permissions with container UIDs:\n\n```console\ndocker network create ergo-node\n```\n\n```console\nsudo chown -R 9052:9052 node_data \u0026\u0026 sudo chown -R 9010:9010 oracle_data\n```\n\nCopy example .env file and edit:\n( Replace CHANGE_ME_KEY with NEW key same as YOUR_API_KEY two steps below )\n\n```console\ncp env.example .env\nnano .env\n```\n\nBuild + start node container temporarily to generate API Key Hash:\n\n```console\ndocker compose build --no-cache\ndocker compose up --no-start\ndocker compose start node\n```\n\nGenerate an 'apiKeyHash' for node, ex:\n\n```console\ncurl -X POST \"http://localhost:9053/utils/hash/blake2b\" -H \"Content-Type: application/json\" -d \"\\\"YOUR_API_KEY\\\"\"\n```\n\nStop node container:\n\n```console\ndocker compose stop node\n```\n\nUncomment / set settings like apiKeyHash:\n\n- `sudo nano node_data/ergo.conf`\n\nStart node and initialize wallet - IMPORTANT: make sure to store the mnemonic phrase output in a safe place:\n\n```console\ndocker compose start node\n```\n\n```console\ncurl -X POST \"http://localhost:9053/wallet/init\" -H \"api_key: YOUR_API_KEY\" -H \"Content-Type: application/json\" -d \"{\\\"pass\\\":\\\"YOUR_WALLET_PASS\\\"}\"\n```\n\nGet wallet address so you can set it under 'oracle_address' in oracle config yaml\n\n```console\ncurl -X GET \"http://localhost:9053/wallet/addresses\" -H \"api_key: YOUR_API_KEY\"\n```\n\nAdd some ERG for your wallet address above.\n\nSet oracle_address to the address from previous step:\n\n- `sudo nano oracle_data/oracle_config.yaml`\n\nWait for node to sync, you can monitor progress under: http://ip.of.your.node:9053/panel\n\n```console\ndocker compose down\n```\n```console\ndocker compose up -d\n```\n\nPlease note that you will need the oracle tokens sent to that address as well ( oracle_address ).\nKeep the wallet unlocked, for the oracle to be operational.\n\nFor troubleshooting, check combined logs via:\n\n```console\ndocker compose logs -f\n```\n\nOr individual logs, via:\n\n```console\ndocker compose logs -f node\ndocker compose logs -f core\ndocker compose logs -f prometheus\ndocker compose logs -f grafana\n```\n\nYou may also have to restart the oracle, after unlocking wallet, for example:\n\n```console\ndocker compose restart core\n```\nHowever, the auto-restart process should be able to handle that condition.\n\nIf you wish to set a cron task to extract tokens you can use below command with 'crontab -e' ex:\n\n```console\n@weekly docker compose -f /path/to/ergo-easy-oracle/docker-compose.yml exec -it core /bin/sh -c 'yes YES | oracle-core --oracle-config-file /data/oracle_config.yaml --pool-config-file /data/pool_config.yaml -d /data extract-reward-tokens ADDRESS_TO_EXTRACT_TO_HERE'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freqlez%2Fergo-easy-oracle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freqlez%2Fergo-easy-oracle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freqlez%2Fergo-easy-oracle/lists"}