@tenderly/actions
TypeScript icon, indicating that this package has built-in type declarations

0.2.47 • Public • Published

Tenderly Web3 Actions

npm Twitter Github

Introduction

Tenderly Web3 Actions are programmable hooks for smart contract and chain events. They can also be serverless backends for your dapps. A Web3 Action is a regular TypeScript/JavaScript function that runs on Tenderly infrastructure.

A Web3 Action comes with key-value storage for data you need to persist and secrets management for sensitive information such as API keys. You can think of Web3 Actions as infrastructure building a Web3 version of IFTTT/Zapier automation, allowing you to glue together your smart contracts, on-chain events, dapp frontends, APIs, and other services.

Web3 Actions

Based on the trigger rules you define, external on-chain or off-chain events will trigger your Web3 Action and your TypeScript/JavaScript code will handle the event instantly.

With Web3 Actions, you can build systems that let you be timely informed about non-trivial events. This way, you can improve your dapp in terms of UX and interactivity and enhance your project through the depth of information you can collect or share through notifications.

The code Web3 Actions run is called a function. Function must be written in TypeScript/JavaScript and runs in Node runtime. Specification of events that your action listens to is called a trigger.

Getting Started

Follow these guides to quickly get started with building Web3 Actions via the browser or command line tools.

Read our documentation to get started with Tenderly Web3 Actions.

Setting up Web3 Actions requires you to write TypeScript/JavaScript code for your functions. Building your Web3 Actions using Tenderly CLI includes defining triggers in a yaml configuration file. The defined trigger and yaml configuration become an integral part of your project’s codebase.

Supported Networks

Tenderly Web3 Actions are currently supported on the following networks.

Contributors

tenderly-contributors

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.47
    0
    • latest

Version History

Package Sidebar

Install

npm i @tenderly/actions

Weekly Downloads

181

Version

0.2.47

License

none

Unpacked Size

52.6 kB

Total Files

7

Last publish

Collaborators

  • nekru
  • tenderly-ghactions
  • ivan992
  • nebojsau
  • djordje.tenderly
  • nebojsa.ristovic
  • tenderilija
  • milos.laptosevic
  • mspuz
  • gagi-tenderly
  • miljantekic
  • bencicandrej
  • vmajstorovic
  • filip-tenderly