solidity-template
contracts
Our great sponsors
solidity-template | contracts | |
---|---|---|
6 | 3 | |
115 | 13 | |
- | - | |
1.9 | 10.0 | |
10 months ago | over 1 year ago | |
TypeScript | Solidity | |
MIT License | GNU General Public License v3.0 only |
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:
contracts
-
Bringing Stack Overflow reputation on-chain 🧙
Git Consensus attempts to solve exactly this, check it out!
-
solidity-template: a modern Solidity contract template utilizing Foundry and Hardhat
In Git Consensus, we accept commits and parse out the address to create a mapping between them. In the unit tests, we can check the basic address parsing logic. But to actually test out the full user interactions of an OSS project onboarding to be a DAO and do token rewards for commits, we need to actually build a Git repo from the ground up - using JavaScript tools like nodegit to do so.
What are some alternatives?
foundry-lsp-smart-contracts - Repo used only for testing.
nodegit - Native Node bindings to Git.
prb-math - Solidity library for advanced fixed-point math
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
hardhat-tracer - 🕵️ allows you to see internal calls, events and storage operations in the console
space-pirates-contracts - DeFi Space Pirates is a platform where user can interact earning 2 tokens (Doubloons and Asteroids) and interact with a DeFi section & Nft Game section.
uniswap-v3-token-swap - example code of uniswapV3 token swaps with hardhat and ethersjs
DeFiHackLabs - Reproduce DeFi hacked incidents using Foundry.
hardhat-gas-reporter - Gas Usage Analytics for Hardhat
awesome-solidity - Awesome Solidity (Contract) Programming Language & Tools - Incl. Weekly Updates
What-is-the-best-crypto - Dapp to find out which crypto is the best and donating money for a good cause in the mean time. The repo includes the smart-contract (solidity) and the frontend (react)
Hawaii-LiquidityPool - Hawaii Liquidity Pool is a training project born to give to ganyone who wants to contribute to the project) the possibility to learn Solidity (Defi, Ercs standards ...) & Hardhat. Infact anyone can contribute adding by Defi functionality or improve one that already exists.