{"id":18300001,"url":"https://github.com/chorusone/tendermint-light-client","last_synced_at":"2025-04-05T13:35:33.885Z","repository":{"id":54566133,"uuid":"269403506","full_name":"ChorusOne/tendermint-light-client","owner":"ChorusOne","description":"Implementation of tendermint light client in rust can be compiled to wasm.","archived":false,"fork":false,"pushed_at":"2021-02-10T10:25:55.000Z","size":154,"stargazers_count":24,"open_issues_count":0,"forks_count":9,"subscribers_count":20,"default_branch":"master","last_synced_at":"2023-03-03T20:13:24.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/ChorusOne.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":"2020-06-04T15:59:22.000Z","updated_at":"2023-01-26T10:04:48.000Z","dependencies_parsed_at":"2022-08-13T20:00:22.702Z","dependency_job_id":null,"html_url":"https://github.com/ChorusOne/tendermint-light-client","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChorusOne%2Ftendermint-light-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChorusOne%2Ftendermint-light-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChorusOne%2Ftendermint-light-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChorusOne%2Ftendermint-light-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChorusOne","download_url":"https://codeload.github.com/ChorusOne/tendermint-light-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223192550,"owners_count":17103564,"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-11-05T15:11:06.044Z","updated_at":"2024-11-05T15:11:06.661Z","avatar_url":"https://github.com/ChorusOne.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tendermint light client\nImplementation of tendermint light client in rust compilable to wasm. The code is heavily inspired from [tendermint-rs](https://github.com/informalsystems/tendermint-rs).\nIt is optimized to run in a constrained environment of a smart contract. Refer [here](#how-it-works) to know how it works under the hood.\n\n## Compilation\n\n### Prerequisites\n1. Rust 1.42.0 or higher\n2. Two target need to be installed\n    1. `wasm32-unknown-unknown` to compile it into wasm and integrate it with CosmWasm\n    2. `x86_64-apple-darwin` to run tests\n\n### Compile in wasm\nRun `make wasm` in project directory. This will produce a file `/target/wasm32-unknown-unknown/release/tendermint_light_client.wasm`\nTo produce a size optimized build, you need to run `make wasm-optimized`.\n\n### Testing\nRun `cargo test`\n\n### Note\nThis library uses a fork of [signatory](https://github.com/tendermint/signatory) at [here](https://github.com/ChorusOne/signatory). This was done to \nresolve version conflict of `ed25519-dalek` between `signatory` crate and `substrate` node.\n\n## How it works?\nTendermint light client is implemented according to the specification found [here](https://docs.tendermint.com/master/spec/consensus/light-client/verification.html).\nSince this light client runs in a constrained environment without access to I/O, the bisection part of the specification is not implemented, instead only `verifySingle` function that operates on the local trusted state is implemented to validate incoming headers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchorusone%2Ftendermint-light-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchorusone%2Ftendermint-light-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchorusone%2Ftendermint-light-client/lists"}