
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
antier-gnosis-safe
Advanced tools
Multisignature wallets require more than one private key and adds a layer of security to cryptocurrency asset storage.
Antier-Gnosis-Safe is an npm package that provides integration with the Gnosis Safe multisig wallet system. It allows developers to interact with Gnosis Safe contracts, create and execute transactions, and manage multisig wallets.
A multisignature wallet requires more than one private key and adds an additional layer of security to cryptocurrency asset storage.
The easiest way to use Antier-Gnosis-Safe is to install it from npm:
npm install antier-gnosis-safe
// Import the setApiKey function
import { setApiKey } from 'antier-gnosis-safe';
// Set the API key
setApiKey(process.env.API_KEY);
// Import the createMultiSigWallet function
import { createMultiSigWallet } from 'antier-gnosis-safe';
// Create a new wallet with the specified owners and threshold
const owners = ['0x123...', '0x456...'];
const threshold = 2;
// Create a new instance of the GnosisSafe class
const multiSigWallet = await createMultiSigWallet(owners, threshold, '0x123');
// Import the signForApprover function
import { signForApprover } from 'antier-gnosis-safe';
// MultisigWallet address
const multiSigWalletAddress = "0x432...";
// Create a signature for a transaction
const signature = await signForApprover(
multiSigWalletAddress,
contractInstance,
userAddress,
'mint',
[input1, input2, ...]
);
// Example output: [{ approverWallet: string, sign: string }]
// Import the executeWithApprover function
import { executeWithApprover } from 'antier-gnosis-safe';
// MultisigWallet address
const multiSigWalletAddress = "0x432...";
// Execute a transaction using the multisig wallet
const transactionResult = await executeWithApprover(
multiSigWalletAddress,
contractInstance,
userAddress,
'mint',
[input1, input2, ...],
signatures
);
Antier-Gnosis-Safe exposes four public methods:
setApiKey()
- Used for setting the SDK API key on the frontend.createMultiSigWallet()
- Deploys a multisig wallet for the user.signForApprover()
- Creates signatures for approvers for all transactions.executeWithApprover()
- Executes functions using the multisig wallet.This package is ISC licensed. (c) Antier Solutions 2023.
FAQs
Multisignature wallets require more than one private key and adds a layer of security to cryptocurrency asset storage.
The npm package antier-gnosis-safe receives a total of 44 weekly downloads. As such, antier-gnosis-safe popularity was classified as not popular.
We found that antier-gnosis-safe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.