Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions alerts/all-about-alerts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Tenderly Alert: A Tool for Smart Contract and Wallet Monitoring

As the world of blockchain technology and decentralized finance (DeFi) expands rapidly, the incidents of hacking and rug-pulling have also increased exponentially, causing many to lose their fortunes. Although the blockchain is open for anyone to track their favorite dApp smart contract or wallet, Tenderly Alert provides a solution for this issue. By enabling users to listen to on-chain events and receive notifications via various supported destinations, Tenderly Alert ensures that users can stay up-to-date with the latest developments in their smart contracts or wallets.

## Prerequisite

* A [Tenderly](https://dashboard.tenderly.co/register) account.
* Add Dai stable coin (DAI) to smart contract on Tenderly Dashboard.


## What is Tenderly Alert?

Tenderly Alert is a monitoring solution designed for smart contracts and wallets, which permits users to monitor on-chain events and receive notifications through various channels, including email, Slack, webhooks, Sentry, PagerDuty, and more.

## What Type of On-chain Event Can I Listen to?

As of the time of writing Tenderly Alert supports various on-chain events called **alert trigger type** such as:
- Successful Transaction
- Failed Transaction
- Function Call
- Event Emitted
- Event Parameter
- ERC20 Token Transfer
- State Change etc.


![img.png](img.png)

## What are the Destinations Supported?

At present, Tenderly Alert facilitates notifications via several channels, including Email, Slack, Telegram, Discord, and other monitoring solutions like Sentry and PagerDuty. By default, the Primary Email used during registration on Tenderly is set as the Active Destination for notifications.


![img_1.png](img_1.png)

## Let Monitor DAI Smart Contract

DAI is a stablecoin built on the Ethereum blockchain, which aims to maintain a value as close to one United States dollar as possible. I have added the Smart Contract address for DAI to my list of contracts. Now, we can proceed to create our initial alert to monitor any transfers made on DAI that exceed a value of 1000.

1. **click on Alerts by the left menu bar under Monitoring.**

![img_2.png](img_2.png)

2. **In the Rules tab click on Setup an Alert button**

![img_3.png](img_3.png)

3. **In Alert Type Select Event Parameter**

![img_4.png](img_4.png)

4. **Under Target, select Address**

![img_5.png](img_5.png)

5. **Under Parameters:** Parameters are broken down into:

* Choose the smart contract to be monitored: In this case, we will choose DAI as the smart contract.
* Choose the Method: Methods are functions defined in a smart contract. For this example, we will select the Transfer method.
* Choose the Argument: Depending on the method, there may or may not be an argument required. we will **wad**.
* Select a Comparison: There are several comparison options available such as Equal to, Not Equal to, Greater than, etc.
* Set the Comparison Value: This is the value that you want to use as a benchmark. In this case, we want to be notified for every transfer of DAI that is greater than 1000.

![img_6.png](img_6.png)

6. **Destination:** we will be using email, which can be set by switching it on. click on save when done.

![img_7.png](img_7.png)


7. **Congratulations:** once save you will be redirected to the newly created alert with all the information about the alert, with options to Duplicate the Alert, Edit or Remove.

![img_8.png](img_8.png)


## The benefit of Using Tenderly Alert to Monitor Smart Contracts and Wallets

* Detect and resolve issues with smart contracts
* Identify and address potential operational and security problems in advance
* Detect any unusual or suspicious activity on account wallets
* Utilize Tenderly Action to proactively prevent hacks when any suspicious behavior is detected.
Binary file added alerts/img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added alerts/img_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added alerts/img_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added alerts/img_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added alerts/img_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added alerts/img_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added alerts/img_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added alerts/img_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added alerts/img_8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
96 changes: 96 additions & 0 deletions all-about-explorer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# 🚀 Discover Blockchain Like Never Before with Tenderly Explorer

With the emergence of various blockchains, different explorers have been introduced that offer detailed analytics specific to their blockchain network. This leaves us with the task of using their respective explorers while utilizing their chain. But what if there was a better solution? Fortunately, [Tenderly Explorer](https://dashboard.tenderly.co/explorer) provides a unified blockchain explorer that presents blockchain data in a human-readable format. In this section, we will take a closer look at Tenderly Explorer.

![img.png](img.png)

## 🔎 What is Tenderly Explorer?

Tenderly Explorer allows you to access public data about transactions, smart contracts, and addresses on different blockchains that Tenderly supports. With Tenderly Explorer, you can search for all related activities on the blockchain by using a transaction hash (transaction ID), tokens, smart contracts, or wallet addresses. By creating a Tenderly account, you can unlock additional features such as Alerts and Actions, taking your Tenderly Explorer experience to the next level.

## 🚀 Features of Tenderly Explorer:

* 🕰️ History to track recent searches
* 🌎 Support for all the blockchains Tenderly supports
* 🔄 Simulate live pending transactions
* 🔁 Re-stimulate failed and successful transactions
* 🤝 Easily integrate other Tenderly features such as Debugger, Gas Profiler, Alerting, and Actions.

## 🔍 What Are The Blockchains Supported?

As of the time of writing Tenderly support different blockchains ranging from Ethereum Mainnet, Polygon, Binance Smart Chain(BSC), etc.

![img_1.png](img_1.png)

## 🔎 How to query transactions and wallet addresses on Tenderly Explorer?

One of the features of Tenderly Explorer is tracking transactions. For example, imagine you sent 0.001 ether (ETH) from your wallet to the following public address:

`0xeb99efe01daf2e7ef7ac0eec04eabf63151fb9dc`

After making the transaction, your wallet display this **Transaction ID (TXID)**:

`0x088fa395fff12683e595c677063829edcf7214ebfd82821e9b5b840b9a72daba`

Suppose you want to verify the transaction's number of confirmations and its success status.

1. Go to [Tenderly Explorer](https://dashboard.tenderly.co/explorer) homepage.

![img_2.png](img_2.png)

2. Copy and paste the transaction ID (TXID) into the search field, and immediately start searching for it, in this example the transaction ID is based on Ethereum Mainnet, once the search is done click on the result.

![img_3.png](img_3.png)

3. Now you can see all the details regarding your specific transaction: Explore the [transaction](https://dashboard.tenderly.co/tx/mainnet/0x088fa395fff12683e595c677063829edcf7214ebfd82821e9b5b840b9a72daba).

![img_4.png](img_4.png)

📊 let’s go through just the default display:

| Transaction Hash | 🔍 The string of numbers and letters (TXID) associated with your particular transaction. |
|------------------|----------------------------------------------------------------------------------------------|
| Network | 🌐 The Network where the transaction was performed e.g Mainnet, Polygon, Rinkeby, Mumbia |
| Status | 🔄 Whether your transaction has failed, is in progress, or was successful. |
| Block | 🧱 The block number your transaction was included in. |
| Index | 🔢 Integer of the transactions index position in the block. |
| Timestamp | 🕒 The timestamp of the block your transaction was added to. |
| Nonce | 🔢 The number of transactions made by the sender prior to this one. |
| Value | 💰 The amount sent in the transaction. |
| Gas Used | 🔥 The amount of Gas used in the transaction. |
| Gas Price | 💸 The cost per unit of gas for the transaction. |
| Gas Limit | 🛑 The maximum amount of work set estimating a validator will do on a particular transaction. |
| Transaction Fee | 💰 The fee paid for making the transaction. |
| Sender | 👤 The wallet address that made the transaction. |
| Receiver | 📨 The receiving address or smart contract. |

## 🔍 How to look up smart contracts on Tenderly Explorer

Let find out a token address, you can head to CoinMarketCap, CoinGecko, or the project’s official website. You can also check https://etherscan.io/tokens.

![img_5.png](img_5.png)

Let’s take a look at the MaticToken ERC-20 token on Ethereum:

`0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0`

1. Copy and paste the smart contract address into the search field.

![img_6.png](img_6.png)

2. You’ll now see details on the contract balance and other general information regarding the [Matic Token contract](https://dashboard.tenderly.co/contract/mainnet/0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0).

![img_7.png](img_7.png)

3. Underneath, In the Transactions panel let explore a single transaction. In this example we explore transaction ID: 0xf0e0c949b4483b36855f53822fc89a2a47782fc9135451e068ebd2dd6597efcd.
![img_8.png](img_8.png)

🔍 Analysing a single transaction was explored in previous section 💻. In the section, I dive into the features on Tenderly such as Contracts 📝, Events 🎉, State Changes 🔧, Debugger 🐛, Gas Profiler 💸 and Re-simulating transaction 🔄 to help developers take their smart contract development to the next level.








Binary file added img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.