Quick Start
Integrate WaaP in under 5 minutes.
Choose your chain (EVM chains, or Sui) to get started.
There are only 3 simple steps:
1. Install the WaaP 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.
Quick Start: EVM Chains
Ethereum, Polygon, Optimism, Gnosis, or any other EVM chains.
WaaP provides an EIP-1193 compatible provider via window.waap. Works with wagmi, ethers.js, viem, or plain JavaScript.
Quick Start: 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 supports the Sui Wallet Standard.
Last updated on