A function that takes a MultiaddrInput and returns a Multiaddr
Optional
If String or Uint8Array, needs to adhere to the address format of a multiaddr
import { multiaddr } from '@libp2p/multiaddr'multiaddr('/ip4/127.0.0.1/tcp/4001')// Multiaddr(/ip4/127.0.0.1/tcp/4001) Copy
import { multiaddr } from '@libp2p/multiaddr'multiaddr('/ip4/127.0.0.1/tcp/4001')// Multiaddr(/ip4/127.0.0.1/tcp/4001)
A function that takes a MultiaddrInput and returns a Multiaddr