Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
vipay-ethereum-wallet
Advanced tools
``` npm install vipay-ethereum-wallet ``` ### import (es5) ```javascript const vipay = require('vipay-ethereum-wallet/src'); ``` ### import (es6) ```javascript import vipay from 'vipay-ethereum-wallet/src'; ``` ### functions - Create Wallet -
npm install vipay-ethereum-wallet
const vipay = require('vipay-ethereum-wallet/src');
import vipay from 'vipay-ethereum-wallet/src';
//Create Wallet
const wallet = await vipay.createWallet({network: 'ETHEREUM'});
//Import Wallet
const wallet = await vipay.importWallet({
mnemonic: 'sea glup tiger cup zoo ...', //phrase words
network: 'ETHEREUM'
});
//Import Account
const account = await vipay.importAccount({
privateKey: '0x....', //private key
network: 'ETHEREUM'
});
//Get ETH balance
const balance = await vipay.getBalance({
defaultProviderRpcUrl: 'https://https://bsc-dataseed1.defibit.io/', //this is bsc mainnet rpc url (put any ethereum network rpc url here)
address: '0x...',
network: 'ETHEREUM'
});
//Send ETH
const tx = await vipay.sendEther({
rpcUrl: 'https://....',// (pur rpc url here)
privateKey: '0x....',
receiveAddress: '0x...',
amount: '0.1' //ETH amount
gasPrice: 'xxx', //transaction gas fee
gasLimit: 'xxx', //gas limit
network: 'ETHEREUM'
});
//Token Transfer
const tx = await vipay.tokenTransfer({
rpcUrl: 'https://....',// (pur rpc url here)
privateKey: '0x....',
receiveAddress: '0x...',
tokenAddress: '0x...',
amount: '0.1' //Token amount
gasPrice: 'xxx', //transaction gas fee
gasLimit: 'xxx', //gas limit
network: 'ETHEREUM'
});
//Token Approve
const tx = await vipay.tokenApprove({
rpcUrl: 'https://....',// (pur rpc url here)
privateKey: '0x....',
receiveAddress: '0x...',
tokenAddress: '0x...',
amount: '0.1' //Token amount
gasPrice: 'xxx', //transaction gas fee
gasLimit: 'xxx', //gas limit
network: 'ETHEREUM'
})
FAQs
``` npm install vipay-ethereum-wallet ``` ### import (es5) ```javascript const vipay = require('vipay-ethereum-wallet/src'); ``` ### import (es6) ```javascript import vipay from 'vipay-ethereum-wallet/src'; ``` ### functions - Create Wallet -
We found that vipay-ethereum-wallet 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.