{"id":22771581,"url":"https://github.com/weavevm/wvm-blobscan","last_synced_at":"2025-03-30T12:14:37.547Z","repository":{"id":264223232,"uuid":"891747252","full_name":"weaveVM/wvm-blobscan","owner":"weaveVM","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-24T23:00:53.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-05T13:51:27.814Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/weaveVM.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":"2024-11-20T22:09:14.000Z","updated_at":"2025-01-24T23:00:57.000Z","dependencies_parsed_at":"2024-11-22T18:39:13.992Z","dependency_job_id":"14c583f0-5103-46eb-a416-daae0832000f","html_url":"https://github.com/weaveVM/wvm-blobscan","commit_stats":null,"previous_names":["weavevm/wvm-blobscan"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveVM%2Fwvm-blobscan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveVM%2Fwvm-blobscan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveVM%2Fwvm-blobscan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveVM%2Fwvm-blobscan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weaveVM","download_url":"https://codeload.github.com/weaveVM/wvm-blobscan/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314149,"owners_count":20757463,"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-12-11T16:14:18.551Z","updated_at":"2025-03-30T12:14:37.526Z","avatar_url":"https://github.com/weaveVM.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://wvm.dev\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/weaveVM/.github/main/profile/bg.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## About\n`wvm-blobscan` is a data bridge built to archive Ethereum's blob data on [WeaveVM](https://wvm.dev). It grabs blocks containing eip-4844 transactions from [Blobscan](https://blobscan.com) and archive them permanently on WeaveVM..\n\n### Prerequisites \u0026 Dependencies\n\nWhile the core functionality of this ETL codebase can run without web2 component dependencies, this node implementation uses [planetscale](https://planetscale.com) for cloud indexing and [shuttle.dev](https://shuttle.dev) for backend hosting. Check [.env.example](./env.example) to set up your environment variables.\n\n```js\nblobscan_pk=\"\" // WeaveVM Blobscan archiver PK\n\nDATABASE_HOST=\"\" // planetscale\nDATABASE_USERNAME=\"\" // planetscale\nDATABASE_PASSWORD=\"\" // planetscale\n```\n\n## Build \u0026 Run\n\n```bash\ngit clone https://github.com/weaveVM/wvm-blobscan.git\n\ncd wvm-blobscan\n\nshuttle run\n```\n## Workflow\n\n```mermaid\ngraph TD\n    A[Ethereum Block]\n    B[Fetch Block Object from Blobscan API]\n    C[Archive on WeaveVM]\n    D[Index on PlanetScale]\n\n    A --\u003e B\n    B --\u003e C\n    C --\u003e D\n    C -- Archive TxId --\u003e D\n```\n## Server Methods\n\n### Retrieve blob data and the associated archive txid by VersionedHash\n\n```bash\ncurl -X GET https://blobscan.wvm.network/v1/blob/$BLOB_VERSIONED_HASH\n```\n\nReturns the res in the format as in below:\n\n```rs\npub struct PsGetBlockByVersionedHash {\n    pub ethereum_block_number: u64,\n    pub wvm_archive_txid: String,\n    pub versioned_hash: String,\n    pub blob_data: String,\n}\n```\n\n### Retrieve Archiver stats\n\n```bash\ncurl -X GET https://blobscan.wvm.network/v1/stats\n```\n\n## License\nThis project is licensed under the [MIT License](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavevm%2Fwvm-blobscan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweavevm%2Fwvm-blobscan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavevm%2Fwvm-blobscan/lists"}