loginWithEmail
Logs a user in using their email address and password. This method is accessible in the browser and Node.js.
import { MirrorWorld, Ethereum } from "@mirrorworld/web3.js"const mirrorworld = new MirrorWorld({ apiKey: "YOUR_SECRET_API_KEY", chainConfig: Ethereum("mainnet"),})const { refreshToken } = await mirrorworld.loginWithEmail({ email: "[email protected]", password: "super-secret-password",})
Edit this page on GitHub