You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@tenderly/metamask-snap

Package Overview
Dependencies
5
Maintainers
12
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tenderly/metamask-snap

Preview transactions before sending them on-chain to get valuable insights, avoid failed transactions, and save funds. Get human-readable information on transferred assets with corresponding dollar values for ERC-20 tokens and NFTs.


Version published
Weekly downloads
1K
increased by10.84%
Maintainers
12
Created
Weekly downloads
 

Readme

Source
Tenderly Snap

Tenderly Snap

Tenderly TX Preview allows you to see the exact transaction outcomes before sending them on-chain using the Tenderly Simulation Infrastructure.

Twitter License

Introduction · Setup


Introduction

Tenderly TX Preview enables you to see the exact outcomes of your transactions before sending them on-chain. Powered by the Tenderly Simulation Infrastructure, this feature gives you detailed and human-readable information about your transactions, including transferred assets with exact dollar values for ERC-20 tokens and NFTs.

By previewing transactions before sending, you can avoid unnecessary gas costs, prevent failed transactions, and identify potential security risks. With Tenderly TX Preview, you can make an informed decision thanks to the following information:

FeatureDescription
Asset Changes with Dollar ValuesSee the exact asset transfers within your ERC-20 and ERC-721 transactions, including their corresponding dollar values.
Link to Simulation in Tenderly DashboardGet detailed information about your transaction simulations in the Tenderly Dashboard.
Link to Publicly Shared Simulation in Tenderly DashboardShare your simulated transactions with others using a public URL. The recipient doesn’t need to have a Tenderly account to view the shared transaction in read-only mode.

With this in-depth information about your transactions, you can understand their exact financial implications, avoid any hidden security risks, and save valuable resources.

Setup

To start using Tenderly TX Preview, you can set it up using the Tenderly Dashboard or run it locally. Follow a few simple steps to get started.

1. Get Tenderly access

First, you need a Tenderly account to start using the TX Preview feature. To set up your account, register by following a few simple steps.

Install Tenderly Snap from the Dashboard

Next, generate a Tenderly access token to allow Tenderly Snap to connect to your Tenderly account. This is a unique identifier that you can on the following link https://dashboard.tenderly.co/account/authorization.

By clicking the Connect to Tenderly Snap button, you’ll automatically install Tenderly Snap and be able to use Tenderly TX Preview.

image

2. Run Tenderly Snap locally

You can also set up Tenderly Snap locally. To achieve this, follow the steps below.

Clone the Repository

First, download the app code onto your local machine by cloning this repository. For more information, find detailed instructions in the GitHub documentation.

Note that you need a Tenderly account to use Tenderly Snap, so make sure to create it as described above.

Start the app

After cloning the repository, go to the root project directory in your terminal. Next, run the yarn start command to start the app. Once done, you can access it on http://localhost:8000.

Use the following command to clone the repository:

git clone https://github.com/Tenderly/tenderly-snap.git

Next, go to the root project directory:

cd tenderly-snap

Finally, start the app using:

yarn install && yarn start

Congrats, you’ve successfully installed Tenderly Snap on your local machine. You can now use Tenderly TX Preview. If you come across any issues, feel free to reach out to our support team at support@tenderly.co. We're happy to help! 💜

Author

  • Vanja Paunović (@dzimiks)

The repo is made using @metamask/template-snap-monorepo.

FAQs

Package last updated on 18 Sep 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc