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.
@connext/nxtp-txservice
Advanced tools
TransactionService is a transaction relayer that should work with any chain and ensure that a tx gets submitted.
All in all, this means the TransactionService should be as "dumb" as possible. It should simply relay transactions to chain with gas bump + retries return a success EITHER when it notices an onchain event was emitted OR when the txs revert onchain bc they were already submitted.
It should also natively support multiple providers, rotating through them if it fails to receive success responses.
Services:
Params:
Each transaction method should take in as params:
The fundamental design principle of the txService is that it should only handle chain-submission-related issues and nothing else. This will make it much easier to test.
We need to make sure that the txService is resilient to all sorts of possible chain-related failures:
Bc the txService is fairly generalized, we should be able to easily unit test handling all of the above cases by writing a mock provider. We can pull logs from vector to understand more about what kinds of errors providers will return that we should be accounting for.
FAQs
Robust transaction sending service for a wallet configured across multiple chains. Will bump gas and reattempt transactions as needed
The npm package @connext/nxtp-txservice receives a total of 163 weekly downloads. As such, @connext/nxtp-txservice popularity was classified as not popular.
We found that @connext/nxtp-txservice 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.
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.