{"id":16153952,"url":"https://github.com/eqlabs/eclipse","last_synced_at":"2026-01-17T16:36:01.845Z","repository":{"id":43044158,"uuid":"433697171","full_name":"eqlabs/eclipse","owner":"eqlabs","description":"Bridging ecosystems by storing Zero-knowledge proofs of Solana votes on the Aleo blockchain.","archived":false,"fork":false,"pushed_at":"2024-03-14T19:19:23.000Z","size":53,"stargazers_count":21,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-24T01:38:34.684Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eqlabs.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}},"created_at":"2021-12-01T05:36:33.000Z","updated_at":"2025-08-25T17:02:12.000Z","dependencies_parsed_at":"2024-03-14T20:43:47.243Z","dependency_job_id":null,"html_url":"https://github.com/eqlabs/eclipse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eqlabs/eclipse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eqlabs%2Feclipse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eqlabs%2Feclipse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eqlabs%2Feclipse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eqlabs%2Feclipse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eqlabs","download_url":"https://codeload.github.com/eqlabs/eclipse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eqlabs%2Feclipse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10T01:14:55.986Z","updated_at":"2026-01-17T16:36:01.824Z","avatar_url":"https://github.com/eqlabs.png","language":"Rust","funding_links":[],"categories":["Applications"],"sub_categories":["Bridging"],"readme":"# Project Eclipse _(eclipse)_\n\u003e Bridging ecosystems by storing Zero-knowledge proofs of Solana votes on the Aleo blockchain.\n\n[Aleo](https://www.aleo.org/) is a toolkit for private computation that utilizes zero-knowledge proofs stored on a blockchain.\n\n[Solana](https://solana.com/) is a blockchain based on a distributing voting system for validation.\n\nBy storing periodic zero-knowledge proofs of the Solana votes on the Aleo blockchain, it is possible to create a two-way bridge between Solana, Aleo, and potentially any other system that is able to verify the proofs.\n\n## Install\n\nEclipse is written in Rust, and therefore uses the [Rust toolchain](https://www.rust-lang.org/tools/install).\n\n## To Run Aleo-to-Solana\n\n### Solana Node\n\nWe need to compile the Eclipse version of the Solana Node.\nFor PoC purpose, the easiest way is to compile the `Solana-test-validator` binary.\nIn our Solana forked repository root, run\n\n```sh\n./scripts/cargo-install-all.sh .\n```\n\nThen you can run the `Solana-test-validator` by\n\n```sh\n./bin/solana-test-validator -r --log\n```\n\nDetails found [here](https://docs.solana.com/developing/test-validator) on the `solana-test-validator`.\n\n**Note**: help trace by setting flag:\n\n`export RUST_LOG=solana_runtime::system_instruction_processor=trace,solana_runtime::message_processor=trace,solana_bpf_loader=trace,solana_rbpf=trace`\n\n#### Onchain Programs\n\nNow compile the on-chain programs. Under the `/programs/aleo-verifier` and\n`/programs/uploader` by `cargo build-bpf --sdk=\u003cpath to solana\u003e/sdk/bpf`. This will output files in\n`/target/deploy/eclipse_aleo_verifier.so` and `/target/deploy/eclipse_uploader.so`\n\nThen use the previously compiled Eclipse version of the solana binary to deploy the program.\nIn the _Solana_ repository:\n\n```sh\n./bin/solana program deploy \u003cpath-to-the-eclipse_aleo_verifier.so\u003e\n./bin/solana program deploy \u003cpath-to-the-eclipse_uploader.so\u003e\n```\n\nTake a note of the program-id logged here for next step.\n\n#### Eclipse Service\n\nRun eclipse service by\n\n```sh\n$ git clone https://github.com/eqlabs/eclipse \u0026\u0026 cd eclipse/service/src/aleo-to-solana\n$ cargo build // tested on 1.61.0 nightly\n$ ./target/debug/aleo-to-solana \\\n--author_keypair \u003cdefault-path-to-solana-test-verifier-config-keypair\u003e \\\n--payer_keypair \u003cdefault-path-to-solana-test-verifier-config-keypair\u003e \\\nverify_proofs \\\n--uploader_program_id \u003ceclipse-onchain-uploader-program-id\u003e \\\n--verifier_program_id \u003ceclipse-onchain-aleo-verifier-program-id\u003e\n```\n\nThis will run the eclipse service continuously.\nWe have printed out where the verification results are stored, take a note of it for the next step.\n\n#### Checking\n\nYou can check if an Aleo tx has been verified by using the Eclipse version of the solana binary.\nIn the _Solana_ repository:\n\n```sh\n./bin/solana account \u003caccount-where-verification-results-stored\u003e\n```\n\n## Contributing\n\nPlease feel free to open issues and pull requests.\n\n## License\n\nProject Eclipse is licensed under the GPLv3, primarily due to copyleft from [SnarkVM](https://github.com/AleoHQ/snarkvm/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feqlabs%2Feclipse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feqlabs%2Feclipse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feqlabs%2Feclipse/lists"}