Giter Site home page Giter Site logo

tenderly_cli's Introduction

TenderlyCLI

This repository contains the implementation of Tenderly CLI, used to simplify interaction with Tenderly API, intended to expose basic comamnds.

Setup

It's required to execute the following command to build the node:

make build

The built file is located at ./build directory.

Examples

The following command represents request to Tenderly API, which provokes balance to be set to be equal to the given value:

tenderly_cli set-balance --host="https://rpc.tenderly.co/fork/34689cb9-e797-4786-8a1e-9512e3183222" --wallet="0xfda881a5f23c62b75f76390Ee8aBFA441F681A0e" --amount=10

The following command represents request to Tenderly API, which provokes balance to be increased by the given value:

tenderly_cli add-balance --host="https://rpc.tenderly.co/fork/34689cb9-e797-4786-8a1e-9512e3183222" --wallet="0xfda881a5f23c62b75f76390Ee8aBFA441F681A0e" --amount=10

The following command represents request to Tenderly API, which provokes balance of the selected ERC20 smart contract to be set to be equal to the given value:

tenderly_cli set-erc20-balance --host="https://rpc.tenderly.co/fork/34689cb9-e797-4786-8a1e-9512e3183222" --wallet="0xfda881a5f23c62b75f76390Ee8aBFA441F681A0e" --token="0xb9EF770B6A5e12E45983C5D80545258aA38F3B78" --amount=10

The following command represents request to Tenderly API, which provokes balance of the selected ERC20 smart contract to be increased by the given value:

tenderly_cli add-erc20-balance --host="https://rpc.tenderly.co/fork/34689cb9-e797-4786-8a1e-9512e3183222" --wallet="0xfda881a5f23c62b75f76390Ee8aBFA441F681A0e" --token="0xb9EF770B6A5e12E45983C5D80545258aA38F3B78" --amount=10

Remember that the value expected to be in ETH

tenderly_cli's People

Contributors

yarikrevich avatar

Watchers

GuruHubb avatar Yury avatar

tenderly_cli's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.