6 lines
145 B
TypeScript
Raw Normal View History

2019-11-07 10:55:18 +01:00
import * as crypto from 'libp2p-crypto';
export async function generateEd25519Keys() {
return await crypto.keys.generateKeyPair('ed25519');
}