Vac deep research experiments https://status-im.github.io/nim-libp2p/docs/
Go to file
Bruno Škvorc 4bfb8eb017
Update README.md
2019-08-14 10:56:56 +02:00
examples Fix #25. 2019-08-14 08:31:06 +03:00
libp2p Fix #22. 2019-08-01 08:56:59 +03:00
tests Fix #22. 2019-08-01 08:56:59 +03:00
.appveyor.yml Fix #22. 2019-08-01 08:56:59 +03:00
.gitignore Initialize travis and licenses. 2018-11-19 04:04:47 +02:00
.gitmodules Add BearSSL submodule 2019-02-20 00:24:43 +02:00
.travis.yml Fix #22. 2019-08-01 08:56:59 +03:00
LICENSE Initial commit 2018-11-19 03:58:31 +02:00
LICENSE-APACHEv2 Initialize travis and licenses. 2018-11-19 04:04:47 +02:00
LICENSE-MIT Initialize travis and licenses. 2018-11-19 04:04:47 +02:00
README.md Update README.md 2019-08-14 10:56:56 +02:00
libp2p.nim Add daemon api sources. 2018-11-19 04:52:11 +02:00
libp2p.nimble Fix #22. 2019-08-01 08:56:59 +03:00

README.md

nim-libp2p

Build Status Build status

Introduction

An implementation of libp2p in Nim, as a wrapper of the Libp2p Go daemon.

Note that you need Go 1.12+ for the below instructions to work!

Install dependencies and run tests with:

nimble install
nimble test
git submodule update --init --recursive
go version
git clone https://github.com/libp2p/go-libp2p-daemon
cd go-libp2p-daemon
git checkout v0.0.1
go install ./...
cd ..

Try out the chat example:

nim c -r --threads:on examples\chat.nim

This will output a peer ID such as QmbmHfVvouKammmQDJck4hz33WvVktNEe7pasxz2HgseRu which you can use in another instance to connect to it.

./example/chat
/connect QmbmHfVvouKammmQDJck4hz33WvVktNEe7pasxz2HgseRu

You can now chat between the instances!

Chat example

API

Coming soon...

License

Licensed and distributed under either of

or

at your option. This file may not be copied, modified, or distributed except according to those terms.