This repository provides a basic example of how to use Tenderly SDK to simulate transactions. It demonstrates the usage of Tenderly simulations integrated into decentralized applications.
- basic-simulation.js: Code for running a basic transaction simulation using Tenderly SDK.
- advanced-simulation.js: Placeholder for advanced simulation example code.
For more information on Tenderly SDK and simulations, refer to the Tenderly SDK documentation.
To run the basic simulation example:
- Install Node.js on your machine if you haven't already.
- Clone this repository:
git clone https://github.com/your-username/Tenderly-Simulation-Example.git
- Navigate to the cloned repository:
cd Tenderly-Simulation-Example
- Install the required dependencies:
npm install @tenderly/sdk
- Open the
examples/basic-simulation.js
file and replace the placeholder values in thetenderly
configuration object with your actual Tenderly account information. - Run the simulation:
node examples/basic-simulation.js
Please note that you need to have a valid Tenderly account and obtain the necessary account details to run the simulations successfully.
For more information and detailed tutorials, refer to the Tenderly documentation.