hamburger_icon
FOR WEBSITES AND DAPPS

REWARDY
CONNECT

Let people sign in to your site with Rewardy Wallet. One scan, one approval in the app, and they are connected and signed in.

npm install @chainwith/rewardy-connectnpm i @chainwith/rewardy-connect
Works withPlain HTMLTypeScriptReactNext.jsVueSvelteWagmiEVM chains

WHY REWARDY CONNECT

Everything a site needs, from the button to the signature check.

One approval

Connect and sign in with a single tap in the app. A standard EIP-4361 message your server can check.

No registration

No project ID and no API key. Any https site can add it today.

Ready-made UI

A branded button and QR window in English or Korean, light or dark. Or draw your own.

Fully encrypted

The QR code carries a one-time key. The relay only passes sealed messages it cannot read.

HOW IT WORKS

Three steps for your users. Nothing to install on their computer.

  1. 1
    STEP 1

    Click the button

    A QR window opens on your site. On a phone, “Open Rewardy app” comes first.

  2. 2
    STEP 2

    Scan with Rewardy

    The moment the app scans, your site shows “Approve in Rewardy”. Codes last two minutes and renew in place.

  3. 3
    STEP 3

    Approve once

    The wallet connects and signs in with the same approval. Your server verifies it and starts the session.

Opened inside the Rewardy app? There is no QR code: the in-app browser signs in with the app’s wallet directly.

INTEGRATE IN MINUTES

Install one package, add the button, and check the signature on your server.

Read the developer guide →
login.js
import { RewardyClient, mountSignInButton } from '@chainwith/rewardy-connect';

const client = new RewardyClient();

mountSignInButton(document.querySelector('#login'), {
  client,
  statement: 'Sign in to Example',
  getNonce: async () => (await post('/api/auth/nonce')).nonce,
  onSignIn: async ({ message, signature }) => {
    await post('/api/auth/verify', { message, signature });
  },
});

TWO WAYS TO CONNECT

Start in public mode today. Register when your users need the verified badge.

Public

Default

Start now, no paperwork.

  • No project ID, secret or registration
  • Any exact https origin
  • The app shows your domain as unverified and asks the user to confirm
  • 100 QR codes per minute per site, 20 per IP address
Start building

Registered partner

On request

For services Rewardy users open every day.

  • Shown as a verified site in the app
  • One-tap sign-in from Rewardy in-app banners
  • One ticket endpoint on your server, same sign-in code
  • Higher limits
Contact us

FAQ

What do users need?

The Rewardy Wallet app, version 2.1.17 or later, on iOS or Android.

Which chains are supported?

EVM chains in the Rewardy app: Ethereum, Optimism, BNB Chain, Polygon, Base and Arbitrum.

How is the sign-in checked?

The wallet signs an EIP-4361 message bound to your site’s origin and a one-time nonce. verifySignIn on your server checks the origin, nonce, chain, expiry and signature.

Does it work with TypeScript?

Yes. The SDK is written in TypeScript and ships types for every entry point, including /server, /react and /wagmi. There is no separate @types package.

Can I keep my own sign-in button?

Yes. Call client.signIn() from your button, or turn the window off and draw the QR code yourself.

ADD SIGN IN WITH
REWARDY TODAY

Questions, partner registration or higher limits?
develop@rewardywallet.com