Description
Send a request to ask the user to sign in with a particular wallet.
💡
If you have an appliction that needs to prove ownership of an account...
(ie. there are restricted portions of your site to certain wallet addresses)
... then you can pass us a hex message prepared using ripple-keypairs. We will pass back the signature with which you can verify the public address of the signer wallet.
See here (opens in a new tab) for more details
Usage
sdk.sync.signIn(hex?: string)
Parameters
hex?: string
// Optional hex message prepared using ripple-keypairs
Response
id: string;
Example
let id = sdk.sync.signIn();
console.log(id);
// eb29dcab-2bbd-4f4f-ad46-fc33359c6453