Skip to content

Implement erasure coding usage #52

@0xCardiE

Description

@0xCardiE

Here we have a challenge to solve UI and how to explain and add options in flow.
Do we do it as some extra dropdown or 5 buttons to choose from before we upload?
How do we explain what this is in simple terms and that it will take more space?
Labels should be "redundancy level" numbers/names of level?

tehnically implementation is straight fwd
https://docs.ethswarm.org/docs/develop/access-the-swarm/erasure-coding/#uploading-with-erasure-coding

with post headers

 curl \
    -X POST http://localhost:1633/bzz?name=test.txt \
    -H "swarm-redundancy-level: 1" \
    -H "swarm-postage-batch-id: 54ba8e39a4f74ccfc7f903121e4d5d0fc40732b19efef5c8894d1f03bdd0f4c5" \
    -H "Content-Type: text/plain" \
    --data-binary @test.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions