Skip to Content
WaaP for AppsOverview

WaaP for Apps

Integrate WaaP into your dApp in under 5 minutes. The WaaP SDK gives your users 1-click onboarding, gasless transactions, and cross-chain support. All backed by enclave-held keys.

1. Install the SDK

NPM link: @human.tech/waap-sdk.

npm install @human.tech/waap-sdk

2. Initialize WaaP

Use initWaaP for every chain. It defaults to EVM, and takes a chain for Sui or Solana.

import { initWaaP } from "@human.tech/waap-sdk" const initConfig = { config: { authenticationMethods: ['email', 'phone', 'social'], allowedSocials: ['google', 'twitter', 'discord'], styles: { darkMode: true }, showSecured: true } } initWaaP(initConfig)

3. Customize WaaP

  • Login options: Email, Phone, Socials, Wallets
  • Project info: Project name, Project logo, Project entry title
  • Styles: Dark mode, Light mode
  • More: Show secured by human.tech, Referral code, etc.

On Playground, visually customize WaaP and get ready-to-use initWaaP config.


Guides

  • Quick Start: Get started with EVM or Sui in under 5 minutes
  • Sign Messages: Sign messages and typed data (EVM & Sui)
  • Transactions: Send transactions, async transactions, sponsored transactions (EVM & Sui)
  • Styling: Style the wallet modal with CSS and dark mode

Methods Reference

EVM-Specific

  • Privileges: Pre-approved transaction scopes for seamless UX

Migration

Last updated on