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 2PC security.
1. Install the SDK
NPM link: @human.tech/waap-sdk.
npm install @human.tech/waap-sdk2. Initialize WaaP
Use initWaaP for EVM chains or initWaaPSui for Sui.
initWaaP
import { initWaaP } from "@human.tech/waap-sdk"
const initConfig = {
config: {
authenticationMethods: ['email', 'phone', 'social'],
allowedSocials: ['google', 'twitter', 'discord'],
styles: {
darkMode: true
},
showSecured: true
}
useStaging: false
}
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 code initWaaP / initWaaPSui config.
EVM Chains
Ethereum, Polygon, Optimism, Gnosis, Base, or any other EVM chain.
WaaP provides an EIP-1193 compatible provider via window.waap. Works with wagmi, ethers.js, viem, or plain JavaScript.
Sui
Sui mainnet, testnet, devnet.
WaaP provides the Sui Wallet Standard interface. It works with @mysten/sui, @mysten/dapp-kit and other Sui wallet adapters that support the Sui Wallet Standard.