{"id":40044524,"url":"https://github.com/standarddotim/lumen","last_synced_at":"2026-06-01T10:00:53.629Z","repository":{"id":37956203,"uuid":"344527942","full_name":"standarddotim/lumen","owner":"standarddotim","description":"A generic agnostic oracle client to submit off-chain data to blockchains","archived":false,"fork":false,"pushed_at":"2022-08-15T10:48:24.000Z","size":839,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-19T12:37:23.217Z","etag":null,"topics":["cryptocurrency","oracle","polkadot","stocks"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/standarddotim.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":"2021-03-04T15:52:42.000Z","updated_at":"2025-01-12T07:32:16.000Z","dependencies_parsed_at":"2022-08-21T04:30:35.269Z","dependency_job_id":null,"html_url":"https://github.com/standarddotim/lumen","commit_stats":null,"previous_names":["digitalnativeinc/lumen","standarddotim/lumen","standardweb3/lumen"],"tags_count":28,"template":true,"template_full_name":null,"purl":"pkg:github/standarddotim/lumen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standarddotim%2Flumen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standarddotim%2Flumen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standarddotim%2Flumen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standarddotim%2Flumen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/standarddotim","download_url":"https://codeload.github.com/standarddotim/lumen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standarddotim%2Flumen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33769492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"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":["cryptocurrency","oracle","polkadot","stocks"],"created_at":"2026-01-19T05:32:31.320Z","updated_at":"2026-06-01T10:00:53.617Z","avatar_url":"https://github.com/standarddotim.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lumen 🔅\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/digitalnativeinc/lumen/main/media/lumen.png\" width=\"800\"\u003e\n\u003cbr\u003e\u003cbr\u003e\n\n\n\u003cp align=\"center\"\u003e\u003cstrong\u003e\n** 🚨 Lumen is now currently in Beta version. Completed version is not ready yet. use it with your own caution. **\u003c/strong\u003e\n\u003c/p\u003e\n\n## Features\n\n- Brings stocks, commodity, crypto or other external assets' price outside blockchain\n- Submits price data to the blockchain that integrates Standard's oracle module\n- Configures account to send tx to blockchains or address with configuration file\n\n## Installation\n\nGrab the latest version of [NPM](https://www.npmjs.com/package/@digitalnativeinc/houston):\n\n```sh\nnpm install -g @digitalnativeinc/lumen\n```\n\nConfigure `lumen-config.json` \n\n```json\n{\n    \"nomics\": \"\u003cNomics API Key\u003e\",\n    \"finnhub\": \"\u003cFinnhub API Key\u003e\",\n    \"mnemonic\": \"\u003cMnemonic to generate an account\u003e\",\n    \"socket\": \"\u003cdesignated socket index\u003e\",\n    \"rpc\": \"\u003cRPC endpoint address or domain\u003e\"\n}\n```\nThen run command with the file in the current working directory:\n```bash\nlumen run\n```\n\n## Packages\n\nLumen is a monorepo project which consists of packages for independent functions.\n\n## `config`\n\nConfiguration parser should parse a js file with\n- api keys to fetch \n- polkadot account json file directory to submit data \n- RPC endpoint address to connect to the blockchain \n\n## `Core`\n\nEntry point of the software orchestrating other packages\n\n## `fetch`\n\nfetching toolkit for external assets\n\nThis package manages data table to fetch from external sources and returns price table.\n\n## `submit`\n\nThis package manages a function which takes data table from `fetch` packages as an argument submits the data with polkadot-js account parsed from config file\nThe algorithm goes like:\n1. checks whether the client is the current oracle provider for a given era\n2. submits price data with the asset id allocated in the data table, and checks whether the data is successfully submitted.\n\n## `events`\n\nThis packages is an event system which is included in the `config` package. One can easily emit event from importing configuration file. \n\n```js\n  import LumenConfig from \"@digitalnative/lumen-config\";\n  const config = LumenConfig.default();\n  const { events } = config;\n  events.emit(\"client:start\");\n```\n\nevents can be added in the `events/defaultSubscribers` directory. \n\n## `error`\n\nspecifying errors in lumen \n\n## `discord`\n\nDiscord integration for the oracle client\n\n## `p2p`\n\nA libp2p network client framework for layer2 computation","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstandarddotim%2Flumen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstandarddotim%2Flumen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstandarddotim%2Flumen/lists"}