% git clone https://github.com/oneleo/webauthn-workspace.git
% cd webauthn-workspace/
% git checkout verify_passkey_contract
% pnpm install
- Setup environment variables
% PKG1="contracts"
% cp packages/${PKG1}/.env.example packages/${PKG1}/.env
% code packages/${PKG1}/.env
- Start Hardhat node
% PKG1="contracts" && pnpm --filter ${PKG1} start:aa
- Open another Terminal
- Setup environment variables
% PKG2="webauthn"
% cp packages/${PKG2}/.env.example packages/${PKG2}/.env
% code packages/${PKG2}/.env
- Start React node
% PKG2="webauthn" && pnpm --filter ${PKG2} typechain
% PKG2="webauthn" && pnpm --filter ${PKG2} dev
-
Open Webauthn website
-
Start the Passkey decoder
For use with Passwordless.ID - Webauthn Playground website
% PKG3="decoder" && pnpm --filter ${PKG3} dev
- Open Webauthn website
- Simple WebAuthN
- Banana Wallet - Passkey contract
- Banana Wallet - Passkey EOA
- Passkey verify contract sample:
- 0x433f0e4f5f8a31084f36c0fccf9ad29aad2ec34f on Sepolia testnet
- Passkey account abstraction contract sample:
- 0x405a1f2C4F725f13bCBd2e22fda0460D4E693fBc on Sepolia testnet