Integrate a wallet
Wallet integration is the minimum requirement for any dapp that needs user signatures or transactions. This guide shows a simple browser-wallet integration flow for TeQoin.TeQoin network details
Use these values when adding the chain:Step 1: Detect a wallet
Step 2: Request access
Step 3: Add or switch the network
Step 4: Build an ethers provider
Step 5: Listen for wallet changes
Recommended UX
Use this flow in production:- Detect the wallet on page load.
- Ask the user to connect only when they start an action.
- Verify the chain before every write transaction.
- Show clear errors for rejected signatures and wrong-network states.
Security notes
- Never ask users to paste private keys into your app.
- Never store private keys in frontend code.
- Revalidate the selected account before sending a transaction.
Where to go next
- Use /tutorials/build-dapp to wire wallet actions into a frontend
- Use /resources/sdks-libraries to choose higher-level tooling