
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
ethereum-transaction-debugger
Advanced tools
Solidity debugger library
To start the debugger session, you'll need the following parameters:
txHash
- A transaction hash (prefixed with 0x
), for the transaction to debug
provider
- A ethers.js provider instance (see ethers.js)
contracts
- An array of contract objects, with the following properties:
contractName
- The name of the contractsource
- The full Solidity source codesourcePath
- (optional) the path to the Solidity file on diskast
- The Solidity compiler's output AST (new style, not legacyAST
)binary
- 0x
-prefixed string with the binary used to create a contract instancesourceMap
- The Solidity compiler output source map for the creation binarydeployedBinary
- 0x
-prefixed string with the on-chain binary for a contract instancedeployedSourceMap
- The source map corresponding to the on-chain binary (from the Solidity compiler)files
- An array of sourcePaths representing file indexes (For example: /Users/username/etherlimeProject/contracts/LimeFactory.sol
)
.forTx()
and then .connect()
to it:import Debugger from "ethereum-transaction-debugger";
let bugger = await Debugger
.forTx(txHash, { contracts, files, provider });
let session = bugger.connect();
ready()
promise:await session.ready();
session
instance in order to step through the trace for the transaction:session.stepNext();
session.stepOver();
session.stepInto();
session.view()
interface, and the provided selectors:let { ast, data, evm, solidity, trace } = Debugger.selectors;
let variables = session.view(data.current.identifiers.native);
let sourceRange = session.view(solidity.current.sourceRange);
MIT (c) 2019 Truffle, LimeChain LTD
FAQs
Solidity debugger library
The npm package ethereum-transaction-debugger receives a total of 0 weekly downloads. As such, ethereum-transaction-debugger popularity was classified as not popular.
We found that ethereum-transaction-debugger 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.