dapphub / dapphub/dapptools

Estimate gas for contract deployment

Open
#783 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2.1k
Forks
320
PR merge metrics
No merged PRs in 30d

Description

I created a smol bash script that calculates the contract deployment cost based on current gas cost. It's PRed into the gakonst/dapptools-template repo but I was wondering if you would want it part of the dapp suite.

It could be particularly sweet to see the cost estimation for different tests during `dapp test`, as it outputs the gas already. This could give the dev a quick overview of how expensive a particular operation will be to the user.

PR: https://github.com/gakonst/dapptools-template/pull/11#issuecomment-917391978
Dependencies: jq, tput, column

![](https://user-images.githubusercontent.com/13405632/132839035-dc580981-f660-48c9-bcc5-2b3746662505.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.