Skip to content

Log in with Ethos

This integration is powered by Privy, allowing users to sign in with the Ethos Everywhere wallet.

You can find a working reference implementation here:

To integrate Log in with Ethos, you need:


  1. Go to Privy Developer Dashboard
  2. Create a new application (or use an existing one)
  3. Copy your APP ID

You will use this on the client side when initializing Privy.

Inside your Privy dashboard:

  1. Navigate to Global wallet → Integrations
  2. Find Ethos Network and enable it.

Add Privy’s SDK to your project.


Use your Privy App ID to initialize Privy in your React app:

import { PrivyProvider } from '@privy-io/react-auth';
<PrivyProvider
appId={import.meta.env.PUBLIC_PRIVY_APP_ID}
config={{
loginMethodsAndOrder: {
primary: ['privy:cm5l76en107pt1lpl2ve2ocfy'],
},
}}
>
<App />
</PrivyProvider>

Inside your app:

import { usePrivy } from '@privy-io/react-auth';
const { login } = usePrivy();
<button onClick={() => login()}>Sign in with Ethos</button>

A fully working implementation demonstrating the entire flow: