Skip to content

RTradeLtd/go-libp2p-testutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-libp2p-testutils

codecov

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