cifer-sdk / examples
Choose a wallet type below to see a complete, self-contained integration example. Each page connects a wallet and calls getSecretCreationFee() from the CIFER SDK.
Connect via the MetaMask browser extension using the EIP-1193 provider (window.ethereum). No extra npm packages needed — uses the SDK's built-in Eip1193SignerAdapter.
Connect using the Thirdweb SDK which supports email, social login, and external wallets. Demonstrates a custom signer adapter that bridges Thirdweb's Account to cifer-sdk.
Connect any mobile wallet via WalletConnect v2 QR code scanning. Uses @walletconnect/ethereum-provider to create an EIP-1193 provider, then wraps it with cifer-sdk's Eip1193SignerAdapter.
Each page is a single self-contained file — open app/[wallet]/page.tsx to see the full code.