solidity-template
hardhat-tracer
Our great sponsors
solidity-template | hardhat-tracer | |
---|---|---|
6 | 4 | |
115 | 329 | |
- | - | |
1.9 | 7.5 | |
10 months ago | about 2 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
solidity-template
-
solidity-template: now with support for zkSync 2.0 and EIP-1559 transactions!
New updates to solidity-template are available! This template now supports more networks than ever. And for the first time, streamlined contract development to zk rollup L2s are possible!
-
Latest Week in Ethereum News
Awesome to see a mention of solidity-template here! Check out the thread for more info.
-
solidity-template: a modern Solidity contract template utilizing Foundry and Hardhat
This template includes an easy-to-follow example Counter.sol, with its interface ICounter.sol, Unit Test file Counter.t.sol, and Integration Test file counter.test.ts.
Reference for on-chain developers writing contracts that call these contracts in your Unit Test files to see the expected usage in Solidity.
solidity-template's sample contract, Counter.sol, is trivial, so the value add isn't observable here. Let me share a recent example where off-chain logic would never be able to be handled inside the Foundry unit tests:
hardhat-tracer
-
Error: call revert exception Uniswap getAmountsOut
Use hardhat-tracer to get more information, it’s really helpful for deep debug
-
Unlocking the Lockbox2 | ParadigmCTF’22
Now execute the tx, and you should see stage4 pass. I’m using Hardhat framework to view the execution trace, using the hardhat-tracer plugin. (Sidenote: A great alternative is using Foundry and it also has tracing built-in).
- hardhat-tracer: see emitted events during your hardhat tests in the console
What are some alternatives?
foundry-lsp-smart-contracts - Repo used only for testing.
full-stack-ethereum - Building full stack apps with Solidity, Ethers.js, Hardhat, and The Graph
prb-math - Solidity library for advanced fixed-point math
web3-blitz - A fullstack web3 solution for blitz.js
uniswap-v3-token-swap - example code of uniswapV3 token swaps with hardhat and ethersjs
hardhat-gas-reporter - Gas Usage Analytics for Hardhat
TypeChain - 🔌 TypeScript bindings for Ethereum smart contracts
useful-solidity-patterns
truffle - :warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
nodegit - Native Node bindings to Git.
ethereumjs-monorepo - Monorepo for the Ethereum VM TypeScript Implementation