{"id":13477587,"url":"https://github.com/zeitgeistpm/zeitgeist","last_synced_at":"2025-03-27T05:32:18.233Z","repository":{"id":37520166,"uuid":"296229287","full_name":"zeitgeistpm/zeitgeist","owner":"zeitgeistpm","description":"An evolving blockchain for prediction markets and futarchy.","archived":false,"fork":false,"pushed_at":"2024-04-12T14:34:56.000Z","size":21112,"stargazers_count":166,"open_issues_count":153,"forks_count":40,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-04-14T04:48:04.127Z","etag":null,"topics":["blockchain","futarchy","governance","prediction-markets","substrate"],"latest_commit_sha":null,"homepage":"https://zeitgeist.pm","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeitgeistpm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":"audit/Chaintroopers Audit Report of Zeitgeist PM (2022).pdf","citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-09-17T05:35:28.000Z","updated_at":"2024-04-15T11:57:02.697Z","dependencies_parsed_at":"2023-11-01T17:32:13.808Z","dependency_job_id":"4b6fbe0d-1a39-4c2a-a476-cd28b2c02714","html_url":"https://github.com/zeitgeistpm/zeitgeist","commit_stats":null,"previous_names":[],"tags_count":55,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeitgeistpm%2Fzeitgeist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeitgeistpm%2Fzeitgeist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeitgeistpm%2Fzeitgeist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeitgeistpm%2Fzeitgeist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeitgeistpm","download_url":"https://codeload.github.com/zeitgeistpm/zeitgeist/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222201311,"owners_count":16948052,"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":["blockchain","futarchy","governance","prediction-markets","substrate"],"created_at":"2024-07-31T16:01:44.798Z","updated_at":"2025-03-27T05:32:18.215Z","avatar_url":"https://github.com/zeitgeistpm.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003ca href=\"https://zeitgeist.pm\"\u003e\n  \u003cimg src=\"./GH-banner.svg\" width=\"800\"\u003e\n\u003c/a\u003e\n\n# Zeitgeist: An Evolving Blockchain for Prediction Markets and Futarchy\n\n![Rust](https://github.com/zeitgeistpm/zeitgeist/actions/workflows/rust.yml/badge.svg)\n[![Codecov](https://codecov.io/gh/zeitgeistpm/zeitgeist/branch/main/graph/badge.svg)](https://codecov.io/gh/zeitgeistpm/zeitgeist)\n[![Discord](https://img.shields.io/badge/-Zeitgeist-blue?logo=discord\u0026logoColor=ffffff\u0026style=flat)](https://discord.gg/XhAcFWYUej)\n[![Telegram](https://img.shields.io/badge/-zeitgeist_official-blue?logo=telegram\u0026style=flat)](https://t.me/zeitgeist_official)\n[![X](https://img.shields.io/badge/-zeitgeistpm-blue?logo=X\u0026style=flat)](https://twitter.com/zeitgeistpm)\n\nZeitgeist is a decentralized network for creating, betting on, and resolving\nprediction markets, allowing traders to create complex financial contracts on\nvirtually _anything_. The platform's native currency ZTG is used to sway the\ndirection of the network, and as a means of last-call dispute resolution in the\ndecentralized court.\n\n## Modules\n\n- [authorized](./zrml/authorized) - Offers authorized resolution of disputes.\n- [combinatorial-tokens](./zrml/combinatorial-tokens) - The module responsible\n  for generating Zeitgeist 2.0 outcome tokens.\n- [court](./zrml/court) - An implementation of a court mechanism used to resolve\n  disputes in a decentralized fashion.\n- [futarchy](./zrml/futarchy) - A novel on-chain governance mechanism using\n  prediction markets.\n- [global-disputes](./zrml-global-disputes) - Global disputes sets one out of\n  multiple outcomes with the most locked ZTG tokens as the canonical outcome.\n  This is the default process if a dispute mechanism fails to resolve.\n- [macros](./macros) - Contains macros shared by the other modules.\n- [market-commons](./zrml/market-commons) - Contains common operations on\n  markets that are used by multiple pallets.\n- [neo-swaps](./zrml/neo-swaps) - An implementation of the Logarithmic Market\n  Scoring Rule as constant function market maker, tailor-made for decentralized\n  combinatorial markets and futarchy.\n- [orderbook](./zrml/orderbook) - An order book implementation.\n- [parimutuel](./zrml/parimutuel) - A straightforward parimutuel market maker\n  for categorical markets.\n- [prediction-markets](./zrml/prediction-markets) - The core implementation of\n  the prediction market logic for creating and resolving markets.\n- [swaps](./zrml/swaps) - An implementation of the Balancer CFMM that allows any\n  user to create pools, provide liquidity or swap assets.\n- [primitives](./zrml/primitives) - Contains custom and common types, traits and\n  constants.\n\n## How to Build and Run a Zeitgeist Node\n\nZeitgeist node comes in two flavors, one for standalone self-contained execution\nand another for Kusama/Polkadot parachain integration.\n\nTo build the standalone version for testing, simply point to the top directory\nof this project and type:\n\n```bash\ncargo build --release\n```\n\nThe standalone version uses the runtime defined for Zeitgeist's testnet _Battery\nStation_ in [runtimes/battery-station](runtimes/battery-station) and is run in\n`--dev` mode by default.\n\nTo build the parachain version, execute the following command:\n\n```\ncargo build --features parachain --release\n```\n\nBy default, the parachain version will connect to the Zeitgeist main network,\nwhich launched as a parachain of Kusama and has since been migrated to Polkadot.\nThe runtime of the main network is defined in\n[runtimes/zeitgeist](runtimes/zeitgeist).\n\nTo connect to Zeitgeist's testnet Battery Station, which runs as a parachain of\nRococo, run:\n\n```\ncargo run --features parachain --release -- --chain=battery-station\n```\n\nOptimized binaries (`--release`) are usually used for production (faster and\nsmaller), but this behavior is optional and up to you.\n\n### Using Docker\n\nWe publish the latest standalone and parachain version to the [Docker\nHub][zg-docker-hub], from where it can be pulled and ran locally to connect to\nthe network with relatively low effort and high compatibility. In order to fetch\nthe latest docker image, ensure you have Docker installed locally, then type (or\npaste) the following commands in your terminal.\n\nFor parachain Zeitgeist node:\n\n```\ndocker pull zeitgeistpm/zeitgeist-node-parachain\n```\n\nFor standalone, non-parachain Zeitgeist node:\n\n```\ndocker pull zeitgeistpm/zeitgeist-node\n```\n\nTo connect your Zeitgeist parachain node using Docker, follow the tutorial at\nour [documentation site][bs-docs].\n\nAlternatively you can run a non-parachain node, which is usually only necessary\nfor testing purposes, by executing the following command:\n\n```\ndocker run zeitgeistpm/zeitgeist-node -- \u003cnode-options-and-flags\u003e\n```\n\n[bs-docs]: https://docs.zeitgeist.pm/docs/basic/battery-station\n[ls-lmsr]: https://www.eecs.harvard.edu/cs286r/courses/fall12/papers/OPRS10.pdf\n[rikiddo]:\n  https://blog.zeitgeist.pm/introducing-zeitgeists-rikiddo-scoring-rule/\n[battery-station]: https://blog.zeitgeist.pm/zeitgeist-beta/\n[zg-docker-hub]: https://hub.docker.com/r/zeitgeistpm/zeitgeist-node\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeitgeistpm%2Fzeitgeist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeitgeistpm%2Fzeitgeist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeitgeistpm%2Fzeitgeist/lists"}