{"id":22799970,"url":"https://github.com/tangle-network/pallet-eth2-light-client","last_synced_at":"2025-08-10T01:31:36.400Z","repository":{"id":59767151,"uuid":"538198270","full_name":"tangle-network/pallet-eth2-light-client","owner":"tangle-network","description":"A Substrate pallet implementing an ETH2 Beacon Chain light client","archived":true,"fork":false,"pushed_at":"2024-03-06T15:36:32.000Z","size":8594,"stargazers_count":6,"open_issues_count":9,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T22:43:55.489Z","etag":null,"topics":["blockchain","eth2","ethereum","light-client","polkadot","substrate","substrate-pallet"],"latest_commit_sha":null,"homepage":"","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/tangle-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-18T18:10:48.000Z","updated_at":"2024-10-23T11:20:34.000Z","dependencies_parsed_at":"2023-02-18T09:31:23.387Z","dependency_job_id":"e0f3bd06-3119-4514-80d2-9b208c6d4b2f","html_url":"https://github.com/tangle-network/pallet-eth2-light-client","commit_stats":null,"previous_names":["tangle-network/pallet-eth2-light-client","webb-tools/pallet-eth2-light-client"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/tangle-network/pallet-eth2-light-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Fpallet-eth2-light-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Fpallet-eth2-light-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Fpallet-eth2-light-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Fpallet-eth2-light-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangle-network","download_url":"https://codeload.github.com/tangle-network/pallet-eth2-light-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Fpallet-eth2-light-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269663321,"owners_count":24455796,"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-08-09T02:00:10.424Z","response_time":111,"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":["blockchain","eth2","ethereum","light-client","polkadot","substrate","substrate-pallet"],"created_at":"2024-12-12T07:10:38.917Z","updated_at":"2025-08-10T01:31:36.120Z","avatar_url":"https://github.com/tangle-network.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://www.webb.tools/\"\u003e\n    \n![Webb Logo](./assets/webb_banner_light.png#gh-light-mode-only)\n![Webb Logo](./assets/webb_banner_dark.png#gh-dark-mode-only)\n  \u003c/a\u003e\n  \u003c/div\u003e\n\u003ch1 align=\"left\"\u003e Eth2 Light Client Relayer \u003c/h1\u003e\n\n\u003cdiv align=\"left\" \u003e\n\n[![License Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square)](https://opensource.org/licenses/Apache-2.0)[![Twitter](https://img.shields.io/twitter/follow/webbprotocol.svg?style=flat-square\u0026label=Twitter\u0026color=1DA1F2)](https://twitter.com/webbprotocol)[![Telegram](https://img.shields.io/badge/Telegram-gray?logo=telegram)](https://t.me/webbprotocol)[![Discord](https://img.shields.io/discord/833784453251596298.svg?style=flat-square\u0026label=Discord\u0026logo=discord)](https://discord.gg/cv8EfJu3Tn)\n\n\u003c/div\u003e\n\n\n### Getting Started\nAn eth2 -\u003e tangle network relayer for syncing EVM data on Tangle.\n\n### Prerequisites\n\nThis repo uses Rust so it is required to have a Rust developer environment set up. First install and configure rustup:\n\n```bash\n# Install\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n# Configure\nsource ~/.cargo/env\n```\n\nConfigure the Rust toolchain to default to the latest stable version:\n\n```bash\nrustup default stable\nrustup update\n```\n\nGreat! Now your Rust environment is ready!\n\n---\n\n\n### Tangle Setup \n#### 1. Clone Tangle \n```bash\ngit clone https://github.com/webb-tools/tangle.git\ncd tangle\ncargo build --release -p tangle-standalone\n```\n#### 2. Run Tangle Network\n```bash\n./scripts/run-standalone-local.sh  --clean\n```\nNote that this will start a clean network state, if you want to continue running on an old state (using old database)\njust omit the `--clean` flag.\n\n#### 3. Insert Key\n```bash\necho \"gown surprise mirror hotel cash alarm raccoon you frog rose midnight enter//webb//0\" \u0026\u003e /tmp/empty/secret_key\n```\n---\n\n### Light Client Setup\n\n#### 1. Install Git LFS\n\nBefore getting started, make sure you have [Git LFS installed](../../topics/git/lfs/index.md) in your computer. Open a terminal window and run:\n\n```shell\ngit-lfs --version\n```\n\nIf it doesn't recognize this command, you must install it. There are\nseveral [installation methods](https://git-lfs.com/) that you can\nchoose according to your OS. To install it with Homebrew:\n\n```shell\nbrew install git-lfs\n```\n\nOnce installed, **open your local repository in a terminal window** and\ninstall Git LFS in your repository. If you're sure that LFS is already installed,\nyou can skip this step. If you're unsure, re-installing it does no harm:\n\n```shell\ngit lfs install\n```\n\n#### 2. Configure light client\n```bash\n# Edit configuration as required\neth2substrate-block-relay-rs/config.toml\n```\n#### 3. Set Infura API Key\n```bash\nexport ETH1_INFURA_API_KEY=\"your_infura_key\"\n``` \n\n#### 4. Build Light client\n```bash\ncargo build --release -p node-template\n```\n\n#### 5. Run light client\n```bash\n./target/release/node-template --tmp --chain local --alice  \\\n  --rpc-cors all --rpc-external --rpc-methods=unsafe \\\n  --port 30433 \\\n  --light-client-init-pallet-config-path=./crates/eth2-pallet-init/config.toml \\\n  --light-client-relay-config-path=./eth2substrate-block-relay-rs/config.toml\n  --rpc-port 9444\n```\n\n---\n\n## Contributing\n\nInterested in contributing to the Webb Eth2 light client relayer? Thank you so much for your interest! We are always appreciative for contributions from the open-source community!\n\nIf you have a contribution in mind, please check out our [Contribution Guide](./.github/CONTRIBUTING.md) for information on how to do so. We are excited for your first contribution!\n\n## License\n\nLicensed under \u003ca href=\"LICENSE\"\u003eGNU General Public License v3.0\u003c/a\u003e.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the GNU General Public License v3.0 license, shall be licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangle-network%2Fpallet-eth2-light-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangle-network%2Fpallet-eth2-light-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangle-network%2Fpallet-eth2-light-client/lists"}