mirror of
https://github.com/autistic-symposium/blockchains-security-toolkit.git
synced 2025-05-20 15:40:33 -04:00
🥦 add links for gas reports
This commit is contained in:
parent
07bf088344
commit
b95f54048f
1 changed files with 15 additions and 0 deletions
|
@ -1,12 +1,27 @@
|
|||
## ⛽️ Tricks to save gas
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
#### Gas is the cost to for on-chain computation and storage.
|
||||
#### Examples: addition costs 3 gas, Keccak-256 costs 30 gas + 6 gas for each 256 bits of data being hashed, sending a transaction costs 21,000 gas.
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
-----
|
||||
|
||||
### gas reports
|
||||
|
||||
<br>
|
||||
|
||||
* [hardhat](https://medium.com/@thelasthash/%EF%B8%8F-gas-optimization-with-hardhat-1e553eaea311)
|
||||
* [foundry](https://book.getfoundry.sh/forge/gas-reports)
|
||||
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
---
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue