
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
@near-wallet-selector/default-wallets
Advanced tools
Default wallets package for NEAR Wallet Selector.
This is the Default Wallets package for NEAR Wallet Selector.
This is the list of default wallets:
Note: This package does not contain any wallets by default.
The easiest way to use this package is to install it from the NPM registry, this package requires near-api-js
v1.0.0 or above:
# Using Yarn
yarn add near-api-js
# Using NPM.
npm install near-api-js
# Using Yarn
yarn add @near-wallet-selector/default-wallets
# Using NPM.
npm install @near-wallet-selector/default-wallets
Then use it in your dApp:
import { setupWalletSelector } from "@near-wallet-selector/core";
import { setupDefaultWallets } from "@near-wallet-selector/default-wallets";
const selector = await setupWalletSelector({
network: "testnet",
modules: await setupDefaultWallets(),
});
The setupDefaultWallets
does not take any options.
You can override configuration for a wallet that is in the default list by including a customized instance of that wallet ahead of the default wallets in the modules
array.
Note: In this case the customized wallet setup function must be placed before the
setupDefaultWallets
call.
Example
// The same can be done for MyNearWallet and Ledger too.
import { setupWalletSelector } from "@near-wallet-selector/core";
import { setupDefaultWallets } from "@near-wallet-selector/default-wallets";
const selector = await setupWalletSelector({
network: "testnet",
modules: [
setupLedger({
iconUrl: "your-custom-icon-url",
}),
...(await setupDefaultWallets())
],
});
This repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
FAQs
Default wallets package for NEAR Wallet Selector.
We found that @near-wallet-selector/default-wallets demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.