🔄 Integration Examples

React Sample

import { useEffect } from 'react';
import { SDK } from 'your-sdk';

const sdk = new SDK('your-api-key');

useEffect(() => {
  sdk.loginWithEmail('email', 'password').then(console.log);
}, []);

Node.js Backend Sample

app.post('/verify-wallet', async (req, res) => {
  const { signature, message } = req.body;
  const valid = await sdk.verifySignature(signature, message);
  res.send({ valid });
});

Last updated