Learn how to integrate Universal Accounts alongside standard EVM wallets (e.g. MetaMask).
window.ethereum
as the provider used via ethers.js
.Install the Universal Accounts SDK
Set Environment Variables
.env.local
:window.ethereum
, you first need to connect to an EVM-compatible browser wallet like MetaMask.
Here’s a simple example using ethers.js
:
ethers.BrowserProvider
, available in ethers v6.ownerAddress
.