{"id":13791129,"url":"https://github.com/livepeer/verification-truebit","last_synced_at":"2025-05-12T09:34:00.907Z","repository":{"id":74221597,"uuid":"122404749","full_name":"livepeer/verification-truebit","owner":"livepeer","description":"WIP PoC verification system for the Livepeer protocol using Truebit","archived":false,"fork":false,"pushed_at":"2018-09-11T14:31:54.000Z","size":3190,"stargazers_count":16,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-08T01:57:02.847Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/livepeer.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}},"created_at":"2018-02-21T23:01:03.000Z","updated_at":"2024-02-06T04:51:16.000Z","dependencies_parsed_at":"2023-05-04T06:32:04.150Z","dependency_job_id":null,"html_url":"https://github.com/livepeer/verification-truebit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepeer%2Fverification-truebit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepeer%2Fverification-truebit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepeer%2Fverification-truebit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepeer%2Fverification-truebit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/livepeer","download_url":"https://codeload.github.com/livepeer/verification-truebit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253709520,"owners_count":21951170,"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":[],"created_at":"2024-08-03T22:00:56.171Z","updated_at":"2025-05-12T09:34:00.227Z","avatar_url":"https://github.com/livepeer.png","language":"JavaScript","funding_links":[],"categories":["DeFi and DAO tokenomics"],"sub_categories":[],"readme":"# verification-truebit\n\nWIP PoC verification system for the Livepeer protocol using Truebit\n\n![livepeer-truebit](./livepeer-truebit.png)\n\n## Setup\n\nThe client requires IPFS which can be installed [here](https://ipfs.io/docs/install/).\n\nMake sure to clone and build the Truebit off-chain WASM interpreter [here](https://github.com/TrueBitFoundation/ocaml-offchain).\n\n```\ngit clone https://github.com/livepeer/verification-truebit.git\ncd verification-truebit\nnpm install\n```\n\n## Building a WASM Binary\n\nThis project currently uses an [ffprobe](https://ffmpeg.org/ffprobe.html) WASM binary for the Truebit task.\n\nYou can use the Truebit [WASM computation layer](https://github.com/TrueBitFoundation/wasm-computation-layer) to setup all\nthe dependencies needed to build a Truebit compatible WASM binary.\n\nOnce you have all the dependencies from the Truebit WASM Computation Layer set up, you can build a Truebit compatible ffprobe WASM binary and\nobserve the output for the directory that the WASM binary will be stored in:\n\n```\nbash scripts/build_ffprobe_wasm.sh\n```\n\nThe goal is to replace the ffprobe WASM binary with a program that wraps ffprobe such that the output of the computation can be written to an output file.\n\n## Deploying\n\nThe Truffle migration scripts will update a `.env` file with the deployed contract addresses and an account to use.\n\n```\n# Compile contracts\nnpm run compile\n\n# Deploy contracts\nnpm run migrate\n```\n\n## Running the client\n\n```\n# Start IPFS daemon\nipfs daemon\n\n# Upload video segment data to IPFS and submit for verification\nnpm run uploadAndVerify\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivepeer%2Fverification-truebit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivepeer%2Fverification-truebit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivepeer%2Fverification-truebit/lists"}