Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuidesChangelog
View Mirror World on Github
Join the Discord server

Language:

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({
password: "super-secret-password",
})

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference

    Changelog