Closed wemeetagain closed 1 week ago
cc @acolytec3
This will result a major version bump Migration will likely will be fairly straightforward.
@libp2p/interface
, @libp2p/crypto
)import {generateKeyPair} from "@libp2p/crypto/keys"
instead)Thanks for the heads up!
BREAKING CHANGE
@libp2p/inferface
,@libp2p/crypto
) have been updatedSignableENR.createFromPeerId
replaced withSignableENR.createFromPrivateKey
Discv5.create
now takes aPrivateKey
rather than aPeerId
ENR.peerId(): Promise<PeerId>
replaced with getterENR.peerId: PeerId