mirror of
https://github.com/aljazceru/pubky-core.git
synced 2026-01-01 13:24:20 +01:00
11 lines
245 B
JavaScript
11 lines
245 B
JavaScript
import { PubkyClient, Keypair } from '@synonymdev/pubky'
|
|
|
|
let keypair = Keypair.from_secret_key(new Uint8Array(32).fill(0))
|
|
console.log(keypair)
|
|
|
|
const client = new PubkyClient()
|
|
|
|
console.log(client)
|
|
|
|
const x = client.signup(keypair, "foo.com")
|