![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@xlabs-libs/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.
The npm package @xlabs-libs/wallet-aggregator-evm receives a total of 0 weekly downloads. As such, @xlabs-libs/wallet-aggregator-evm popularity was classified as not popular.
We found that @xlabs-libs/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 5 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.