{"id":33559583,"url":"https://github.com/envoy1084/bedrock-avs","last_synced_at":"2026-05-10T13:04:07.485Z","repository":{"id":325646991,"uuid":"1015685041","full_name":"envoy1084/bedrock-avs","owner":"envoy1084","description":"Bedrock is an  AVS that provides cryptographically verifiable state proofs across heterogeneous blockchains","archived":false,"fork":false,"pushed_at":"2025-10-01T21:08:54.000Z","size":601,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-22T15:24:09.663Z","etag":null,"topics":["avs","eigenlayer","eigenlayer-avs","ethereum","risc0","zero-knowledge"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/envoy1084.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-07T22:14:54.000Z","updated_at":"2025-07-14T21:04:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/envoy1084/bedrock-avs","commit_stats":null,"previous_names":["envoy1084/bedrock-avs"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/envoy1084/bedrock-avs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envoy1084%2Fbedrock-avs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envoy1084%2Fbedrock-avs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envoy1084%2Fbedrock-avs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envoy1084%2Fbedrock-avs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/envoy1084","download_url":"https://codeload.github.com/envoy1084/bedrock-avs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envoy1084%2Fbedrock-avs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27286441,"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-11-26T02:00:06.075Z","response_time":193,"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":["avs","eigenlayer","eigenlayer-avs","ethereum","risc0","zero-knowledge"],"created_at":"2025-11-27T23:00:12.035Z","updated_at":"2025-11-27T23:00:14.009Z","avatar_url":"https://github.com/envoy1084.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e **Note:** This project is currently in active development and is not yet ready for production use. Please use at your own risk.\n\n# Bedrock State Attestation Service AVS\n\n## Overview\n\n**Bedrock State Attestations** is an [EigenLayer AVS](https://docs.eigenlayer.xyz/) that provides cryptographically verifiable state proofs across heterogeneous blockchains, including EVM-based chains and Bitcoin. It enables smart contracts to access and trustlessly verify data such as storage slots, transactions, or account balances, unlocking new cross-chain use cases and composability.\n\nBedrock AVS is powered by the [Othentic Stack](https://docs.othentic.xyz/main), a modular framework for decentralized services, consensus, and operator management.\n\n---\n\n## How It Works\n\n1. **Request Submission**:  \n   A user or smart contract submits a `BedrockRequest` specifying the data to be attested.\n\n2. **Execution Service**:  \n   The Executor Operator receives the request and generates a cryptographic proof using [Risc Zero](https://www.risczero.com/). The proving method is configurable:\n   - **Local Proving**: Proof generated on the operator’s hardware.\n   - **Bonsai Proving**: Uses Risc Zero’s Bonsai cloud prover.\n   - **Decentralized Boundless Prover**: Distributed proving across the network.\n\n3. **Attestation \u0026 Aggregation**:  \n   - **Attestor Nodes**: Validate the proof and sign the attestation.\n   - **Aggregator Node**: Collects signatures from attestors and forms a final aggregated attestation.\n\n4. **On-chain Verification**:  \n   The aggregated attestation is submitted to the L2 EVM blockchain, where smart contracts can verify the proof and act on the attested data.\n\n\nThe request and response models are defined in [`crates/core/src/models/mod.rs`](./crates/core/src/models/mod.rs).\n\n```solidity\nenum BedrockOperationType {\n    AccountInfo\n}\n\nstruct BedrockRequest {\n    uint8 version;\n    BedrockOperationType requestType;\n    uint256 chainId;\n    bytes data;\n}\n\nstruct BedrockResponse {\n    uint8 version;\n    BedrockOperationType responseType;\n    bytes journal;\n    bytes seal;\n}\n```\n\n---\n\n## Quick Start\n\nThe repository contains the following components:\n\n- `crates/core`: The core logic for the Bedrock AVS, including proof generation, verification and data models.\n- `crates/executor`: An example server for executing Bedrock AVS requests.\n- `crates/validator`: An example server for validating Bedrock AVS requests.\n- `crates/programs`: A collection of Risc Zero programs for attesting states.\n\nThe fastest way to run Bedrock AVS locally is via Docker Compose. This will start all required services, including aggregator, attestors, execution, and validation services.\n\n### Prerequisites\n\n- [Docker](https://www.docker.com/get-started)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n### Steps\n\n1. Clone the repository:\n\n    ```sh\n    git clone https://github.com/Envoy-VC/bedrock-avs.git\n    cd bedrock-avs\n    ```\n\n2. Copy the `.env.example` file to `.env`:\n\n    ```sh\n    cp .env.example .env\n    ```\n\n3. Update the `.env` file with your desired configuration, follow [Othentic Getting Started Guide](https://docs.othentic.xyz/main/welcome/getting-started) for setting up your AVS.\n\n4. Start the services:\n\n    ```sh\n    docker compose up --build\n    ```\n\n    This will launch:\n    - 1x Aggregator node\n    - 3x Attestor nodes\n    - 1x Execution Service\n    - 1x Validation Service\n\n5. **Interact with the AVS:**\n\n    Run the Execute example in the [examples](./crates/executor/examples) folder:\n\n    ```sh\n    cargo run -p executor --example execute\n    ```\n\n    This will submit a BedrockRequest to the AVS and print the response.\n\n---\n\n## References \u0026 Further Reading\n\n- [Othentic Stack Documentation](https://docs.othentic.xyz/main)\n- [Bedrock AVS Design Doc](https://hackmd.io/@envoy1084/HkZfeHMBle)\n- [EigenLayer](https://docs.eigenlayer.xyz/)\n- [Risc Zero](https://www.risczero.com/)\n- [Risc Zero Steel](https://docs.beboundless.xyz/developers/steel/what-is-steel)\n- [Boundless Market](https://docs.beboundless.xyz/developers/what)\n\n---\n\n## Contributing\n\nContributions are welcome! Please open issues or pull requests for bug fixes, features, or documentation improvements.\n\n---\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvoy1084%2Fbedrock-avs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenvoy1084%2Fbedrock-avs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvoy1084%2Fbedrock-avs/lists"}