Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rtradeltd/go-libp2p-testutils

golang test utilities for libp2p development
https://github.com/rtradeltd/go-libp2p-testutils

golang ipfs libp2p testing testing-tools testutils

Last synced: about 1 month ago
JSON representation

golang test utilities for libp2p development

Awesome Lists containing this project

README

        

# go-libp2p-testutils

[![codecov](https://codecov.io/gh/RTradeLtd/go-libp2p-testutils/branch/master/graph/badge.svg)](https://codecov.io/gh/RTradeLtd/go-libp2p-testutils)

`go-libp2p-testutils` provides helpful utility functions useful when needing to write tests for libp2p/ipfs applications.

# Features

* Create libp2p host
* Create libp2p dht
* Create private key
* Create libp2p private network secret
* Create in-memory peerstore
* Create in-memory datastore
* Create a multiaddr
* Create a zap test logger
* Create an in-memory keystore