Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Hypercores in Beaker #9

@RangerMauve

Description

@RangerMauve

Here's the roadmap for getting hypercore based applications to work in Beaker.

Some motivation: It's hard to get Node.js based applications deployed since bundling electron is a pain to do and convince people to install, and Beaker doesn't yet have the APIs needed to make them work without it. The Peer Socket API will help since we'd be able to do general networking, sadly it's blocked on Hyperswarm being out, and on integrating Noise for transport level encryption (sending stuff through the clear and making developers do encryption is bad UX).

Ideally we should focus on the minimal set of features to enable these use cases.

  • Should have access to most if not all hypercore APIs
  • Should be easy to wrap to make it look like the regular hypercore API
  • Hypercores should be able to swarm over a single key
  • Should be able to send / listen on extension messages to enable multiwriter

Roadmap:

  • Draft up Beaker API
  • Implement over top of regular hypercore and hyperdiscovery in Node
  • Create wrapper that looks like regular hypercore
  • Test with multifeed
  • Implement in Beaker
  • 🎉🎉🎉

cc @pfrazee @noffle

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