libp2p Android,GitHub - web3j/libp2p: libp2p implementation in Kotlin for JVM platforms

c49474a6ab1407b747d0bdcac1d2641a.png

The JVM (Java, Android, Kotlin) implementation of the libp2p Networking Stack.

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61646525323062792d576562332532304c6162732d626c75652e7376673f7374796c653d666c61742d737175617265

68747470733a2f2f6261646765732e6769747465722e696d2f776562336a2f6c69627032702e737667

68747470733a2f2f7472617669732d63692e6f72672f776562336a2f6c69627032702e7376673f6272616e63683d6d6173746572

Background

web3j-libp2p is an implementation of the libp2p modular network stack for the Java virtual machine.

Its goal is to provide a single implementation that meets the needs of Java, Android and Kotlin developers. It is

written in Kotlin which was designed with Java and Android interop in mind.

The project was created by Web3 Labs with the support of the

Ethereum Community Fund and advisory from members of the libp2p team at

Protocol Labs.

Getting started

Versioned releases and regular snapshots will be available shortly for the various

libp2p modules. Until that time, please clone the repo and you can build the artifacts yourself:

git clone https://github.com/web3j/libp2p.git

cd libp2p

./gradlew build publishToMavenLocal

Contribute

We welcome contributions from everyone.

We are currently prioritising implementation of the libp2p modules that are required for eth2.0's Serenity release. As it currently stands

they are (taken from the following issue):

Library

Module

Available

Multiformat

Multiaddr

Multihash

General Purpose

Net

Peer

Crypto

Protocol Muxer

Multistream(-select)

Stream Muxer

Multiplex

Crypto Channels

SecIO

Transport

TCP

Network Abstraction

Switch/Swarm

Peerstore

Local database backend (KV store or SQLite)

Protocols

Ping

Identify

Host Abstraction

NAT traversal

Others

Floodsub/Gossipsub (w/signed message records)

Peer Routing

kad-dht

Discovery

Find_node (or whatever is chosen)

We recommend before starting work on a contribution that you communicate with the libp2p JVM community on the

Gitter channel to express your intent to ensure no-one is already working on it.

Additionally, keep an eye on the open Pull Requests and

branches to see what others are working on.

Also, please do review the project issues to identify any low hanging fruit

you can get started with!

Build instructions

git clone https://github.com/web3j/libp2p.git

cd libp2p

./gradlew build publishToMavenLocal

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值