0.2.5 • Published 3 days ago

@tenderly/sdk v0.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

Tenderly SDK

SDK for working with your favorite Web3 development platform

License npm Twitter Github

Table of contents

Introduction

The Tenderly SDK provides an easy-to-use interface for interacting with the Tenderly platform.

It allows you to simulate transactions, simulate transaction bundles, manage contracts and wallets, and verify smart contracts from your code. The SDK is particularly useful for blockchain developers who want to integrate Tenderly's powerful tools into their dapp or development workflow.

List of supported networks can be found here

Documentation

Full documentation with example snippets here:Tenderly SDK docs

Quick start

Installation

Available on npm as tenderly-sdk npm

npm i @tenderly/sdk

yarn

yarn add @tenderly/sdk

pnpm

pnpm add @tenderly/sdk

Quick start

Instantiate a new tenderly instance with your project details. We highly recommend using environment variables for sensitive data such as access keys during your local development!

import { Tenderly, Network } from '@tenderly/sdk';

const tenderlyInstance = new Tenderly({
  accessKey: process.env.TENDERLY_ACCESS_KEY,
  accountName: process.env.TENDERLY_ACCOUNT_NAME,
  projectName: process.env.TENDERLY_PROJECT_NAME,
  network: Network.MAINNET,
});

Fetch project contracts

const contracts = await tenderlyInstance.contracts.getAll();

console.log(contracts.map(contract => contract.address).join(', '));
// 0x63456...5689, 0x54j2...23890, 0x211e...289n

Examples

  • Add contracts
  • Add wallets
  • Allow and Transfer
  • Contract verification
  • Simulate transaction
  • Simulate bundle

Contributors

License

MIT

0.2.5

3 days ago

0.2.4

16 days ago

0.2.3

24 days ago

0.2.2

24 days ago

0.1.15

9 months ago

0.2.1

8 months ago

0.2.0

9 months ago

0.1.13

11 months ago

0.1.14

11 months ago

0.1.10

1 year ago

0.1.11

1 year ago

0.1.12

1 year ago

0.1.8

1 year ago

0.1.9

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.1

1 year ago