/howmuch-rs

A library providing helpers for various StarkNet fees related tasks.

Primary LanguageRustMIT LicenseMIT

🐺 How Much ? 🦀



GitHub Workflow Status Project license Pull Requests welcome

Table of Contents

About

A library providing helpers for various StarkNet fees related tasks. It can be used as a library or as a CLI.

Getting Started

Prerequisites

Installation

cargo install howmuch-rs

Usage

How much ?

Usage: howmuch-rs <COMMAND>

Commands:
  fees  Fees related subcommands
  help  Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help information
  -V, --version  Print version information

Estimate fees on network

RUST_LOG=debug howmuch-rs fees estimate-on-network \
--tx-hash=0x073251e7ff3843c4954aa2e7f38d8c29034e34a1ddbaeb1e62605ec10ca22367 \
--source-block-number=21410 \
--destination-block-number=15925

Print a summary of the resources used

howmuch-rs fees summary \
--tx-hash=0x073251e7ff3843c4954aa2e7f38d8c29034e34a1ddbaeb1e62605ec10ca22367

or with a file:

howmuch-rs fees summary \
--transaction_file tests/example.json

Authors & contributors

For a full list of all authors and contributors, see the contributors page.

Security

StarkNet-HowMuch-rs follows good practices of security, but 100% security cannot be assured. StarkNet-HowMuch-rs is provided "as is" without any warranty. Use at your own risk.

License

This project is licensed under the MIT license.

See LICENSE for more information.