Skip to content

Development environment setup for litep2p-webrtc #21

@freddyli7

Description

@freddyli7

Issue summary

We need a development environment to verify/test/try our implementation ideal with regarding WebRTC where we have smoldot extraction on one side to something that imports litep2p on the server side.

For smoldot side extraction: we need something that follows the smoldot way of using libp2p-webrtc-direct, and compiles to WASM that runs in a browser.

Other information and links

The deliverable should be a repo that has both of libp2p-webrtc and litep2p setup

Specifically it should be able to use this test: https://github.com/paritytech/litep2p/blob/3b664f7bef7cbf86176f8929bac349f9340462d8/tests/webrtc.rs#L35

This setup should open a ping network stream and the block announce network stream; however, nothing will get sent over the block announce stream for now, but ping/pong should work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions