{"id":21970058,"url":"https://github.com/scroll-tech/da-codec","last_synced_at":"2025-10-20T06:05:29.613Z","repository":{"id":236908720,"uuid":"793399512","full_name":"scroll-tech/da-codec","owner":"scroll-tech","description":"scroll's DA encoding/decoding libraries","archived":false,"fork":false,"pushed_at":"2025-08-26T11:24:18.000Z","size":46221,"stargazers_count":17,"open_issues_count":4,"forks_count":20,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-10-01T20:48:36.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/scroll-tech.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}},"created_at":"2024-04-29T06:40:01.000Z","updated_at":"2025-08-26T11:22:10.000Z","dependencies_parsed_at":"2024-06-19T11:23:14.372Z","dependency_job_id":"8337f175-18da-497a-a276-41cb08add6af","html_url":"https://github.com/scroll-tech/da-codec","commit_stats":null,"previous_names":["scroll-tech/da-codec"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/scroll-tech/da-codec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fda-codec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fda-codec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fda-codec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fda-codec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scroll-tech","download_url":"https://codeload.github.com/scroll-tech/da-codec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scroll-tech%2Fda-codec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280026550,"owners_count":26260077,"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-10-20T02:00:06.978Z","response_time":62,"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":[],"created_at":"2024-11-29T14:30:28.829Z","updated_at":"2025-10-20T06:05:29.609Z","avatar_url":"https://github.com/scroll-tech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# da-codec\n\nScroll's DA encoding/decoding libraries.\n\n## Running unit tests\n```\ngo test -v -race ./...\n```\n\n## FAQ\n\n**Q: Why the repo contains `libscroll_zstd*.a` binary files?**\n\nA: This simplifies package installation with `go get` without the need to perform additional steps for building the `libscroll_zstd*.a`.\n\n**Q: Which platforms/architectures are supported?**\n\nA: `linux/amd64`, `linux/arm64`, `darwin/arm64`. Pull requests for other platforms/architectures are accepted.\n\n**Q: I don't trust `libscroll_zstd*.a` binary files from the repo or these files don't work on my OS/ARCH. How to rebuild them?**\n\nA: To rebuild the libraries for your platform:\n\n1. Build the legacy encoder:\n\n    ```bash\n    cd libzstd/encoder-legacy\n    make install\n    ```\n\n2. Build the standard encoder:\n\n    ```bash\n    cd libzstd/encoder-standard\n    make install\n    ```\n\n3. Add symbol prefixes to avoid conflicts:\n\n    ```bash\n    cd encoding/zstd\n    ./add_symbol_prefix.sh\n    ```\n\n    **Note**: The symbol prefix script currently only works on macOS. For Linux builds, perform steps 1-2 in Docker, then run step 3 on macOS.\n\n    For macOS builds, ensure you have Rust and necessary build tools installed:\n\n    ```bash\n    # Install Rust if not already installed\n    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n    ```\n\n    For Linux builds, use Docker with build dependencies:\n\n    ```bash\n    # Linux ARM64\n    docker run -it --rm --platform linux/arm64 -v $(pwd):/workspace -w /workspace rust:1.75-slim bash\n    apt update \u0026\u0026 apt install -y build-essential\n\n    # Linux AMD64\n    docker run -it --rm --platform linux/amd64 -v $(pwd):/workspace -w /workspace rust:1.75-slim bash\n    apt update \u0026\u0026 apt install -y build-essential\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscroll-tech%2Fda-codec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscroll-tech%2Fda-codec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscroll-tech%2Fda-codec/lists"}