{"id":35162027,"url":"https://github.com/dk14/mega-peers","last_synced_at":"2026-05-22T04:02:45.095Z","repository":{"id":280806158,"uuid":"943234069","full_name":"dk14/mega-peers","owner":"dk14","description":"A p2p fact sharing network","archived":false,"fork":false,"pushed_at":"2026-05-11T01:59:07.000Z","size":44752,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-11T03:37:30.738Z","etag":null,"topics":["cryptography","oracle","p2p","p2p-exchange","p2p-network","trading","wolfram"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dk14.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-05T11:29:11.000Z","updated_at":"2026-05-11T01:59:11.000Z","dependencies_parsed_at":"2025-03-19T19:35:17.487Z","dependency_job_id":"10e362a2-0ff7-478f-b491-406b1c67020e","html_url":"https://github.com/dk14/mega-peers","commit_stats":null,"previous_names":["dk14/wolfram-mega","dk14/mega-peers"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/dk14/mega-peers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dk14%2Fmega-peers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dk14%2Fmega-peers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dk14%2Fmega-peers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dk14%2Fmega-peers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dk14","download_url":"https://codeload.github.com/dk14/mega-peers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dk14%2Fmega-peers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33328620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"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":["cryptography","oracle","p2p","p2p-exchange","p2p-network","trading","wolfram"],"created_at":"2025-12-28T18:39:17.877Z","updated_at":"2026-05-22T04:02:45.076Z","avatar_url":"https://github.com/dk14.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"(this project did NOT use Ai - I literally wrote it by hand, the project contains novel research, and high-quality test coverage)\n\nA p2p fact sharing network\n\n# Mega Peers\n\nMega *(from מַגָע, contact)* - is a lightweight infinitely scalable decentralized data marketplace, bringing authentic observers to blockchain.\n\n---------\n\n## Description\n\nMega relies on Proof-Of-Work in order to assign identities to oracles. It models real-life aquisition of identity: though effort!\n\nOracle's reputation is managed as a set of verifiable proofs of malleability. Traders do some PoW (spam-protection) in order to report malicious oracle.\n\nEverything is stored in Mega's mempoolss. No blockchain required.\n\n---\n\n## Docs\n\n\nhttps://dk14.github.io/mega-peers/docs/\n\n---------\n\n## Tests\n\n```\nnpm i c8 -g\nnpm run test              # protocol, coverage should be 100%\nnpm run it                # p2p and non-essential client APIs\nnpm run webtest           # web-app, non-essential\nnpm run webtest-it        # webrtc and matching, experimental\nnpm run webtest-it trace  # trace matching stdout\n```\n\n\u003e tests should printout \"OK!\" or exit process with error\n\n\u003e\u003e ignore automatic deploy commits in order to see tests passing on github\n# Protocol\n\nProtocol and specifications are in `src/protocol.ts` and `mega-peers-spec.yaml`. Protocol reference implementation is in `src/api.ts`. \n\n## Use cases\n Non-essential APIs and apps are under `src/client-api/` (oracles and traders, contracts demo), `webapp/` (p2p exchange UI), `src-web/` (matching). See [docs](https://dk14.github.io/mega-peers/docs/).\n\u003e Security. Non-essential APIs need stricter typescript flavor, testnet integration tests and security audits for crypto-mainnet uses (as well as HD-wallet support). p2p-network needs real-life performance tests for scaling.\n\n## Code and repo quality notes\n\n[HERE](code-quality-notes.md)\n\n## Contact and donations:\n\nmtkndr@proton.me\n\nBTC: bc1qekvmkczge3hxrvwdf2lj3yyvgjnparn3fdf9lg\n\n![bc1qekvmkczge3hxrvwdf2lj3yyvgjnparn3fdf9lg](docs/donations.png)\n\n(don't lose your wallet - you might get rewards from [another btc project](https://github.com/dk14/crypto/edit/main/chats/btc-audit/README.md) one day)\n\nCredentials: [my youtube with IOHK](https://www.youtube.com/watch?v=RhXlOdNyGn8), [paper](https://www.researchgate.net/publication/354641980_Standardized_Crypto-Loans_on_the_Cardano_Blockchain), [actus standard](https://www.actusfrf.org/post/marlowe-and-actus), [research with wolfram](https://github.com/dk14/wolfram-oracle-research)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdk14%2Fmega-peers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdk14%2Fmega-peers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdk14%2Fmega-peers/lists"}