Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@omisego/omg-js-utxo-merge
Advanced tools
A helper lib for merging utxos
const ChildChain = require('@omisego/omg-js-childchain')
const merge = require('@omisego/omg-js-utxo-merge')
const ADDRESS = 'my address'
const PRIVATE_KEY = 'my private key'
const childChain = new ChildChain('http://watcher.ari.omg.network/')
function signTransaction (unsignedTx, numUtxos, address) {
const privateKeys = new Array(numUtxos).fill(PRIVATE_KEY)
const signatures = childChain.signTransaction(unsignedTx, privateKeys)
return childChain.buildSignedTransaction(unsignedTx, signatures)
}
function submitTransaction (signedTx) {
return childChain.submitTransaction(signedTx)
}
childChain.getUtxos(ADDRESS)
.then(utxos => merge(utxos, ADDRESS, signTransaction, submitTransaction))
FAQs
A helper lib for merging utxos
We found that @omisego/omg-js-utxo-merge demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.