Login

import { UnlockdApi} from "@unlockdfinance/unlockd-ts";

const api= new UnlockdApi()
const address='0x0000000000000000000000000000000000000000'
const message = await api.signatureMessage(address)
//Sign message from your wallet o with Pk
//...
const signedMessage='...'
const authToken = await api.validateMessage(signedMessage)

Last updated