smart-contract-best-practices
solidity-template
Our great sponsors
smart-contract-best-practices | solidity-template | |
---|---|---|
15 | 6 | |
7,309 | 115 | |
0.7% | - | |
4.7 | 1.9 | |
2 months ago | 10 months ago | |
HTML | TypeScript | |
- | 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.
smart-contract-best-practices
- Solidity security reviews?
-
Want to learn blockchain development but confused
Then i delved into best practises (https://consensys.github.io/smart-contract-best-practices/) and patterns (https://fravoll.github.io/solidity-patterns/) to improve.
-
Required reading for new ETH developer
Search for solidity exploits on Google, useful one: https://consensys.github.io/smart-contract-best-practices/ there are a lot of possible exploits so deploying one by yourself without audits is a no-go imo
-
Blockchain Dev
Consensys' Smart Contract Best Practices is a good start for security related stuff (super important because you'll be dealing with people's money in smart contracts) https://consensys.github.io/smart-contract-best-practices/
-
An Auditor's Insights To Smart Contract Security Audit
The first question which any auditing interview concerns is mostly regarding what is your preferred audit process? Answers could be subjective, but I like to follow the industry standard as in this ‘Solcurity Standard’ article by Rari-Capital along with the Consensys’ best practices set of guidelines which pave a path for a thorough audit process.
- Websites to practice white hat/ how to get into contract security?
-
Setup for Success: Creating Web3 Projects with the Truffle for VS Code Extension
Security should always be a major priority when developing smart contracts. Millions of dollars are lost to hackers on what seems like a regular basis. As a Web3 developer, you need to continuously stay up to date on the latest security best practices.
-
My journey from Web Dev to Web 3.0 Dev - Part 1
Solidity basics and best practices
- Contract example with best practices?
-
RESOURCES I USED TO LEARN BLOCKCHAIN/SMART CONTRACT PROGRAMMING
Smart Contracts Best Practices
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:
What are some alternatives?
js-xss - Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
foundry-lsp-smart-contracts - Repo used only for testing.
mythril - Security analysis tool for EVM bytecode. Supports smart contracts built for Ethereum, Hedera, Quorum, Vechain, Rootstock, Tron and other EVM-compatible blockchains.
prb-math - Solidity library for advanced fixed-point math
web3j - Lightweight Java and Android library for integration with Ethereum clients
hardhat-tracer - 🕵️ allows you to see internal calls, events and storage operations in the console
openzeppelin-contracts - OpenZeppelin Contracts is a library for secure smart contract development.
uniswap-v3-token-swap - example code of uniswapV3 token swaps with hardhat and ethersjs
openzeppelin-contracts-upgradeable - Upgradeable variant of OpenZeppelin Contracts, meant for use in upgradeable contracts.
hardhat-gas-reporter - Gas Usage Analytics for Hardhat
DeFi-Developer-Road-Map - DeFi Developer roadmap is a curated Developer handbook which includes a list of the best tools for DApps development, resources and references!
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)