Web3 Injection
When a user opens your dapp in Bifrost Wallet’s in-app browser, Bifrost injects an EIP-1193 provider as window.ethereum and announces itself via EIP-6963.
info
Injection is EVM only. Bitcoin, Litecoin, Dogecoin, and XRP Ledger are available through WalletConnect, not the injected provider.
Provider identity
| Property | Value |
|---|---|
window.ethereum | Always set in the in-app browser |
EIP-6963 rdns | com.bifrostwallet |
EIP-6963 name | Bifrost Wallet |
ethereum.isBifrost | true |
| Default chain (mainnet mode) | Flare (0xe / 14) |
| Default chain (testnet mode) | Flare Coston2 (0x72 / 114) |
warning
The provider also sets isMetaMask: true for compatibility with older dapps. Prefer EIP-6963 or ethereum.isBifrost when detecting Bifrost among multiple wallets.
Next steps
- Getting Started: detect, connect, send a transaction
- Methods: full RPC surface
- Events:
accountsChanged,chainChanged, … - Supported Chains: EVM networks available in the browser