tenderly-simulator
v0.0.2
Published
Tenderly simulation connector
Downloads
9
Maintainers
Readme
Tenderly simulator
This is a Tenderly simulator for the Tenderly platform.
Installation
npm install tenderly-simulator
Usage
const { TenderlySimulator } = require('tenderly-simulator')
const simulator = new TenderlySimulator({
tenderlyUser: 'tenderly-user',
tenderlyProject: 'tenderly-project',
tenderlyAccessKey: 'tenderly-access-key',
});
const tx = await contract.populateTransaction.myFunction(data);
const result = await simulator.simulate(tx);
console.log(result);
© 2022 HaHa.me