Version 2.0.0-2 Prerelease of the Dat2 version of the SDK
Pre-release
Pre-release
- Added method to get identity keypair 5922fa2
You can use const {publicKey} = await getIdentity()
to get the public key you'd use for replication. This can be used by other peers when replicating in the peer-open
event to check that you are who you say you are.