Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@kev1n-peters/wallet-aggregator-evm
Advanced tools
Implements the base abstractions for EVM-compatible blockchains, using [wagmi](https://github.com/wagmi-dev/wagmi) under the hood to handle connection implementations.
Implements the base abstractions for EVM-compatible blockchains, using wagmi under the hood to handle connection implementations.
Wallets implemented so far:
Wallet | Link |
---|---|
Injected wallets (e.g: Brave) | |
Metamask | https://metamask.io |
WalletConnect | https://walletconnect.com |
Bitget Wallet | https://web3.bitget.com |
Coinbase Wallet | https://www.coinbase.com/wallet |
Ledger Connect | https://www.ledger.com |
The base EVMWallet configuration allows for the following parameters:
chains
: an array of chain information objects. While the information is the same as in the {@link https://eips.ethereum.org/EIPS/eip-3085 EIP-3085}, the structure is slightly different. Defaults to all chains.preferredChain
: an EVM chain id (e.g. 5 for Görli, 43113 for Avalanche Fuji Testnet, etc.). When connecting, the wallet will try to switch to this chain if the provider's network's chain id differs.autoSwitch
: indicates whether the wallet should attempt to switch the network back to the preferredChain
upon detecting a chainChanged
event (if set).confirmations
: Amount of confirmations/blocks to wait a transaction forAdditionally, each specific wallet has its own specific options.
import {
MetamaskWallet,
WalletConnectWallet,
BitgetWallet,
CoinbaseWallet,
LedgerWallet,
InjectedWallet,
} from "@xlabs-libs/wallet-aggregator-evm";
const injected = new InjectedWallet();
const metamask = new MetamaskWallet({
preferredChain: 5,
autoSwitch: true,
});
const walletConnect = new WalletConnectWallet({
preferredChain: 43113,
});
const bitgetWallet = new BitgetWallet({
options: {
appName: "My App",
},
});
const coinbase = new CoinbaseWallet({
options: {
reloadOnDisconnect: false,
appName: "My App",
},
});
const ledger = new LedgerWallet();
FAQs
Implements the base abstractions for EVM-compatible blockchains, using [wagmi](https://github.com/wagmi-dev/wagmi) under the hood to handle connection implementations.
We found that @kev1n-peters/wallet-aggregator-evm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.