Skip to content

Introduce a page on Tenderly #2069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
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
Binary file added arbitrum-docs/assets/tenderly/alerts.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 arbitrum-docs/assets/tenderly/ci.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 arbitrum-docs/assets/tenderly/debugging.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 arbitrum-docs/assets/tenderly/node.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 arbitrum-docs/assets/tenderly/platform.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 arbitrum-docs/assets/tenderly/simulation-rpc.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 arbitrum-docs/assets/tenderly/web3-actions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions arbitrum-docs/for-devs/third-party-docs/Tenderly/01-tenderly.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
title: 'Tenderly Overview'
description: "Tenderly provides full-stack Web3 infrastructure with high-performance Node RPC, mainnet-like development environments, intuitive development and simulation tools, and real-time monitoring for building and scaling secure blockchain applications"
author: 'nvitorovic'
third_party_content_owner: 'nvitorovic'
sidebar_label: 'Overview'
---

# Tenderly: Full Stack Web3 Infrastructure

[Tenderly](https://tenderly.co/?mtm_campaign=ext-docs&mtm_kwd=arbitrum) enhances development experience on Arbitrum by providing seamless integration with Arbitrum ecosystem. It offers a high-performance Node RPC with integrated mainnet-like development environments, intuitive developer tools, and real-time monitoring.

By integrating Tenderly’s full-stack infrastructure, you can **optimize your development workflows** and **scale your dapp** on a high-performance infrastructure.

Explore:
- How to [get started](#get-started)
- Understand Tenderly's key features:
- [Development & Testing](./02-development-testing.mdx) tools and infrastructure
- [Node RPC](./04-node-rpc.mdx)
- [Monitoring & Security](./03-monitoring-security.mdx)
- [Integration with your workflow](./05-integrating.mdx)
- How you can [integrate in your workflow](./05-integrating.mdx)
- Several [real world examples](#real-world-examples)

## Get Started

1. [Create an account](https://dashboard.tenderly.co/register?mtm_campaign=ext-docs&mtm_kwd=arbitrum)
2. [Create a virtual TestNet on Arbitrum](https://docs.tenderly.co/virtual-testnets/quickstart?mtm_campaign=ext-docs&mtm_kwd=arbitrum)
3. [Use unlimited faucet](https://docs.tenderly.co/virtual-testnets/unlimited-faucet?mtm_campaign=ext-docs&mtm_kwd=arbitrum)
4. Learn more on [**official docs**](https://docs.tenderly.co?mtm_campaign=ext-docs&mtm_kwd=arbitrum)

## How to use Tenderly

Web3 teams can use Tenderly’s infrastructure and tools to build and scale secure and high-quality Web3 software faster and more efficiently.

Here are some of the ways you can use Tenderly

- **Test and stage contracts and dapps**: Use [Virtual TestNets](https://docs.tenderly.co/virtual-testnets/?mtm_campaign=ext-docs&mtm_kwd=arbitrum) in CI/CD pipelines to deploy, test, and stage smart contracts in mainnet-like development environments, eliminating the need for local setups.
- **Optimize smart contracts**: Debug and optimize transaction inputs using [Simulator](https://docs.tenderly.co/simulator-ui?mtm_campaign=ext-docs&mtm_kwd=arbitrum) and [Debugger](https://docs.tenderly.co/debugger?mtm_campaign=ext-docs&mtm_kwd=arbitrum), reducing debugging time from hours to minutes with visual transaction trace inspection.
- **Predict transaction outcomes**: Integrate [Simulation RPC](https://docs.tenderly.co/simulations/single-simulations#simulate-via-rpc?mtm_campaign=ext-docs&mtm_kwd=arbitrum) to simulate transaction execution and gas costs, preventing errors and optimizing token transfers before submitting transactions on-chain.
- **Automate security responses**: Implement automated responses to on-chain events and protocol issues using real-time [Alerts](https://docs.tenderly.co/alerts/intro-to-alerts?mtm_campaign=ext-docs&mtm_kwd=arbitrum) and [Web3 Actions](https://docs.tenderly.co/web3-actions/intro-to-web3-actions?mtm_campaign=ext-docs&mtm_kwd=arbitrum) to safeguard your dapps and protocols.
- **Ensure high-performance dapp connectivity**: Use [Node RPC](https://docs.tenderly.co/node?mtm_campaign=ext-docs&mtm_kwd=arbitrum) to guarantee low-latency, high-reliability, and multi-region access for your dapp, ensuring smooth operation even during high traffic volumes and spikes.

<figure>
![Tenderly Web3 infrastructure platform overview showing Virtual TestNets, Simulator UI, Node RPC, Web3 Actions, and monitoring tools integration](../../../assets/tenderly/platform.png)
<figcaption>Web3 full-stack infrastructure for dapps and teams</figcaption>
</figure>

## Real-world examples

Discover how some of the leading projects use Tenderly to streamline their development, enhance security, and improve user experience.

- [Maker DAO](https://makerdao.com/) performs [cross-DAO testing between different teams](https://blog.tenderly.co/case-studies/makerdao?mtm_campaign=ext-docs&mtm_kwd=arbitrum).
- [Maple Finance](https://maple.finance/) created [invariant monitoring](https://maplefinance.gitbook.io/maple/technical-resources/security/security#critical-monitoring?mtm_campaign=ext-docs&mtm_kwd=arbitrum).
- [Spark Protocol](https://spark.fi/) has set up invariant monitoring and [testing](https://devs.spark.fi/sparklend/features/testing-guide?mtm_campaign=ext-docs&mtm_kwd=arbitrum).
- [Yearn Finance](https://yearn.fi/) relies on Tenderly for [incident management](https://blog.tenderly.co/case-studies/what-good-war-room-emergency-procedure-yearn-finance-case/).
- [Uniswap](https://app.uniswap.org/) uses Tenderly for development, [incident responses](https://blog.tenderly.co/case-studies/uniswap?mtm_campaign=ext-docs&mtm_kwd=arbitrum), getting [100% correct gas](https://blog.tenderly.co/how-tenderly-enables-most-accurate-ethereum-gas-estimation/) estimates, and [governance seatbelt](https://github.com/Uniswap/governance-seatbelt).
- Safe [integrates Tenderly’s simulation infrastructure](https://blog.tenderly.co/case-studies/safe?mtm_campaign=ext-docs&mtm_kwd=arbitrum) in their multisig interface.
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
title: 'Development & Testing'
description: "Tenderly provides full-stack Web3 infrastructure with high-performance Node RPC, mainnet-like development environments, intuitive development and simulation tools, and real-time monitoring for building and scaling secure blockchain applications"
author: 'nvitorovic'
third_party_content_owner: 'nvitorovic'
sidebar_label: 'Development & Testing'
---

## Virtual TestNets

Accelerate your development cycle with instant, collaborative development environments that seamlessly integrate into your existing workflows, saving you hours of setup and configuration time.

**Using Virtual TestNets**:

Test and stage contracts and dapps using RPC development infrastructure that fully replicates mainnet conditions.

<figure>
![Continuous Integration workflow diagram showing how Virtual TestNets integrate with development, testing, and deployment processes](../../../assets/tenderly/ci.png)
<figcaption>CI and CI workflow with Virtual TestNets</figcaption>
</figure>

- **Deploy and verify smart contracts** on dedicated development infrastructure for your whole team.
- **Stage and test your dapp** smart contracts, frontend, and backend in isolated, yet collaborative cloud-managed environments.
- **Set up CI/CD pipelines** free of running dedicated nodes and additional infrastructure management.
- **Use unlimited faucet** to Test contract and transaction execution more easily.
- **Debug and optimize smart contracts** using a built-in virtual explorer and debugging tools.
- **Access latest mainnet state while testing** in real time using State Sync.
- **Customize network states** to meet your unique testing requirements via `tenderly_` cheat-code RPCs.
- **Stage DAO proposals** and test protocol behavior as if the proposed change is applied.

**Try it now**: [Create your first Virtual TestNet](https://docs.tenderly.co/virtual-testnets/quickstart?mtm_campaign=ext-docs&mtm_kwd=arbitrum)

## Simulator UI & Debugger

Slash debugging time from hours to minutes with an intuitive visual interface that lets you step through transactions, decode state changes, and optimize your smart contracts effortlessly for any contract on any network, with no additional setup.

**Using Simulator and Debugger**:

Build proof-of-concept transactions and troubleshoot smart contracts without lengthy `console.log` debugging.

<figure>
![Tenderly Debugger and Simulator UI interface demonstrating smart contract debugging with transaction trace and state change visualization](../../../assets/tenderly/debugging.png)
<figcaption>Bug fixing with Debugger and Simulator UI </figcaption>
</figure>

- **Understand transaction execution** with decoded arguments, events, and state changes.
- **Debug any transaction** on public networks and Virtual TestNets with the most detailed stack trace.
- **Edit source code in your browser** and simulate the execution to verify bug fixes.
- **Optimize transaction inputs** using the latest or historical mainnet data.
- **Build proof-of-concept transactions** for security research or optimization purposes.

**Try it now**: [Debug a transaction](https://docs.tenderly.co/simulator-ui/using-simulation-ui?mtm_campaign=ext-docs&mtm_kwd=arbitrum)
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
title: 'Monitoring & Security'
description: "Tenderly provides full-stack Web3 infrastructure with high-performance Node RPC, mainnet-like development environments, intuitive development and simulation tools, and real-time monitoring for building and scaling secure blockchain applications"
author: 'nvitorovic'
third_party_content_owner: 'nvitorovic'
sidebar_label: 'Monitoring & Security'
---

## Simulation and gas estimation RPC

Accurately predict transaction outcomes and gas costs without sending transactions on-chain to improve your dapp UX and prevent costly errors. Integrate Tenderly’s simulation infrastructure using `tenderly_simulateTransaction`, `tenderly_estimateGas`, and their bundled counterparts.

**Using Simulation RPC**:

<figure>
![Transaction simulation](../../../assets/tenderly/simulation-rpc.png)
<figcaption>Predicting gas and exchanged assets with Simulation RPC</figcaption>
</figure>

- **Predict token transfers** in transactions reliably for secure and cost-effective interactions in your dapp
- **Optimize bundles of transactions** by predicting execution and picking optimal results.
- **Optimize for best token transfers** by varying transaction inputs and other strategies in a different simulations.
- **Test hypothetical scenarios** by overriding contract variables and running custom simulations
- **Test and compare different strategies** by running simulations on historic network data.
- **Get 100% accurate gas estimates** to prevent failures caused by out-of-gas errors and save valuable resources.

**Try it now**: [Simulate a transaction](https://docs.tenderly.co/simulations/quickstart?mtm_campaign=ext-docs&mtm_kwd=arbitrum)

## Alerts & Web3 Actions

Automate protocol security and maintenance and respond instantly to on-chain events with customizable, real-time alerting and serverless Node.js backends for smart contracts.

**Using Alerts and Web3 Actions:**

Implement circuit breakers, monitor live contracts, and automate task execution.

<figure>
![Real-time blockchain monitoring dashboard with custom alerts for smart contract events and security threats](../../../assets/tenderly/alerts.png)
<figcaption>Alerting when critical conditions happen</figcaption>
</figure>

- **Get real-time messages** for important on-chain events with Alerts.
- **Monitor the usage** of your smart contracts and dapp on-chain with Alerts.
- **Signal problems to external webhooks** by setting up alerts on transactions, events, and storage updates.
- **Automate responses to on-chain events** using Web3 Actions.
- **Set up invariant monitoring** for protocols, dapps, and entire architectures with Web3 Actions.
- **Build Tenderly-hosted webhooks** for dapps with Web3 Actions.

<figure>
![Web3 Actions automation workflow showing protocol pause mechanism triggered by invariant failure detection](../../../assets/tenderly/web3-actions.png)
<figcaption>Pausing a protocol when Web3 Action detects invariant failure</figcaption>
</figure>


**Try it now**: [Set up your first alert](https://docs.tenderly.co/alerts/tutorials-and-quickstarts/alerting-quickstart-guide?mtm_campaign=ext-docs&mtm_kwd=arbitrum) | [Set up your first Web3 Action](https://docs.tenderly.co/web3-actions/tutorials-and-quickstarts/how-to-send-a-discord-message-about-a-new-uniswap-pool?mtm_campaign=ext-docs&mtm_kwd=arbitrum)
26 changes: 26 additions & 0 deletions arbitrum-docs/for-devs/third-party-docs/Tenderly/04-node-rpc.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: 'Node RPC'
description: "Tenderly provides full-stack Web3 infrastructure with high-performance Node RPC, mainnet-like development environments, intuitive development and simulation tools, and real-time monitoring for building and scaling secure blockchain applications"
author: 'nvitorovic'
third_party_content_owner: 'nvitorovic'
sidebar_label: 'Node RPC'
---

Ensure your dapp's performance with enterprise-grade RPC access that scales unnoticeably, ensuring low-latency and high-availability across multiple regions.

<figure>
![Tenderly's enterprise-grade Node RPC architecture with multi-region support and custom RPC method integration](../../../assets/tenderly/node.png)
<figcaption>Tenderly Node RPC architecture with multi-region support and custom RPC method integration</figcaption>
</figure>

**Using Node RPC**:

Integrate Tenderly Node RPC for low-latency, high-reliability, multi-region blockchain infrastructure that scales with your dapp usage.

- **Rely on 100% consistent data** and uninterrupted access even with spiking usage.
- **Use `tenderly_` RPC methods** for simulations, 100% accurate gas estimation, tracing, and more directly from your dapps.
- **Integrate [`tenderly_gasPrice`](https://docs.tenderly.co/node/rpc-reference/ethereum-mainnet/tenderly_gasPrice?mtm_campaign=ext-docs&mtm_kwd=arbitrum)** to get prediction of gas price for the next block, at 3 likelihood levels for transaction inclusion.
- **Build custom RPC methods** that encapsulate unique dapp logic via Node Extensions.
- **Request multi-region support** and region-specific setup.

**Try it Now**: [Get started with Node RPC](https://docs.tenderly.co/node/integrations?mtm_campaign=ext-docs&mtm_kwd=arbitrum)
Loading