a minimal libp2p implementation for the JVM, written in Kotlin 🔥
We aim to provide the bare minimum stack that will allow JVM-based Ethereum 2.0 clients to interoperate with other clients that rely on fully-fledged libp2p stacks written in other languages.
To achieve this, we have to be wire-compliant, but don't need to fulfill all libp2p abstractions at this time.
This effort will act as a starting point to evolve this project into a fully-fledged libp2p stack for JVM environments, including Android runtimes.
We have identified the following components on the path to attaining a minimal implementation:
- connection bootstrapping
- multistream-select 1.0
- secio
- mplex as a multiplexer
- stream multiplexing
- TCP transport (dialing and listening)
- multiformats: multiaddr
- peer ID & crypto (RSA, ed25519, secp256k1?)
We are explicitly leaving out the peerstore, DHT, pubsub, connection manager, etc. and other subsystems or concepts that are internal to implementations and do not impact the ability to hold communications with other libp2p processes.
Dual-licensed under MIT and ASLv2, by way of the Permissive License Stack.