{"id":15448585,"url":"https://github.com/AmbireTech/adex-protocol-substrate","last_synced_at":"2025-10-11T12:31:35.770Z","repository":{"id":104905849,"uuid":"154498602","full_name":"AmbireTech/adex-protocol-substrate","owner":"AmbireTech","description":"Substrate implementation of the AdEx Protocol v4: OUTPACE \u0026 Registry","archived":false,"fork":false,"pushed_at":"2022-04-30T11:13:56.000Z","size":101,"stargazers_count":32,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"rebase","last_synced_at":"2025-02-10T13:02:01.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.adex.network","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AmbireTech.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,"governance":null}},"created_at":"2018-10-24T12:37:32.000Z","updated_at":"2024-11-15T18:53:20.000Z","dependencies_parsed_at":"2023-04-30T20:31:57.767Z","dependency_job_id":null,"html_url":"https://github.com/AmbireTech/adex-protocol-substrate","commit_stats":null,"previous_names":["adexnetwork/adex-protocol-substrate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AmbireTech/adex-protocol-substrate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbireTech%2Fadex-protocol-substrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbireTech%2Fadex-protocol-substrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbireTech%2Fadex-protocol-substrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbireTech%2Fadex-protocol-substrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmbireTech","download_url":"https://codeload.github.com/AmbireTech/adex-protocol-substrate/tar.gz/refs/heads/rebase","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbireTech%2Fadex-protocol-substrate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007167,"owners_count":26084247,"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-11T02:00:06.511Z","response_time":55,"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":"2024-10-01T20:29:11.493Z","updated_at":"2025-10-11T12:31:35.485Z","avatar_url":"https://github.com/AmbireTech.png","language":"Rust","readme":"# adex-protocol-substrate\n\nThe [AdEx Protocol](https://github.com/AdExNetwork/adex-protocol) implemented on top of Substrate. Bootstrapped from [substrate-node-template](https://github.com/paritytech/substrate-node-template).\n\n\n## What is it?\n\n### OUTPACE\n\nThe [`AdExOUTPACE`](https://github.com/AdExNetwork/adex-protocol-substrate/tree/rebase/runtime/src/adex_outpace) module implements **O**ffchain **U**nidirectional **T**rustless **Pa**yment **C**hann**e**ls described here: https://github.com/AdExNetwork/adex-protocol/blob/master/OUTPACE.md\n\nThe OUTPACE module consists of:\n\n* `channel_open`: opens a channel, therefore locking up a deposit\n* `channel_withdraw_expired`: after the channel is expired, the creator may invoke this to withdraw the remainder of their deposit\n* `channel_withdraw`: at any time before expiry, anyone who earned from this channel may withdraw their earnings\n\n### Registry\n\nThe upcoming `AdExRegistry` module implements the AdEx registry.\n\nIt is a component where AdEx validators can stake tokens to get exposure. Furhermore, users may launch challenges against validators to prove their misbehavior. Most of the challenges involve replicating the off-chain behavior of the [validator stack](https://github.com/adexnetwork/adex-validator-stack-js), employing a pattern referred to as counterfactuality.\n\nFor more details, read https://github.com/AdExNetwork/adex-protocol/issues/7\n\n## Build and run\n\n```\n./build.sh\ncargo run -- --dev\n```\n\nWith some old Rust crates, you might need to do `export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig` if you're running OpenSSL 1.1\n\n\n## Bootstrap an UI\n\nFirst, complete the \"Prerequisites\" step from https://substrate.readme.io/docs/creating-a-custom-substrate-chain\n\nThen, execute:\n\n```\nsubstrate-ui-new adex-protocol-substrate\n```\n","funding_links":[],"categories":["Ecosystem Blockchains","Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAmbireTech%2Fadex-protocol-substrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAmbireTech%2Fadex-protocol-substrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAmbireTech%2Fadex-protocol-substrate/lists"}