All Projects → paulrberg → Solidity Template

paulrberg / Solidity Template

Licence: other
Combines Hardhat, TypeChain, Ethers, Waffle, Solhint and Solcover.

Programming Languages

typescript
32286 projects
solidity
1140 projects

Projects that are alternatives of or similar to Solidity Template

Uniswap V2 Periphery
🎚 Peripheral smart contracts for interacting with Uniswap V2
Stars: ✭ 267 (-0.74%)
Mutual labels:  ethereum, smart-contracts
Web3swift
Elegant Web3js functionality in Swift. Native ABI parsing and smart contract interactions.
Stars: ✭ 237 (-11.9%)
Mutual labels:  ethereum, smart-contracts
Remix Project
Remix is a browser-based compiler and IDE that enables users to build Ethereum contracts with Solidity language and to debug transactions.
Stars: ✭ 225 (-16.36%)
Mutual labels:  ethereum, smart-contracts
Eventeum
A resilient Ethereum event listener that bridges your smart contract events and backend microservices
Stars: ✭ 272 (+1.12%)
Mutual labels:  ethereum, smart-contracts
Truffle Flattener
Truffle Flattener concats solidity files from Truffle and Buidler projects with all of their dependencies
Stars: ✭ 254 (-5.58%)
Mutual labels:  ethereum, smart-contracts
Blockchain Stuff
Blockchain and Crytocurrency Resources
Stars: ✭ 2,549 (+847.58%)
Mutual labels:  ethereum, smart-contracts
Smart Contract Search Engine
Takes a link to a smart contract's raw ABI file and an RPC URL and then indexes all instances of that smart contract
Stars: ✭ 265 (-1.49%)
Mutual labels:  ethereum, smart-contracts
Ico Contracts
Ethereum smart contracts that have been used during successful ICOs
Stars: ✭ 160 (-40.52%)
Mutual labels:  ethereum, smart-contracts
Celo Monorepo
Official repository for core projects comprising the Celo platform
Stars: ✭ 269 (+0%)
Mutual labels:  ethereum, smart-contracts
Awesome Buggy Erc20 Tokens
A Collection of Vulnerabilities in ERC20 Smart Contracts With Tokens Affected
Stars: ✭ 251 (-6.69%)
Mutual labels:  ethereum, smart-contracts
Erc20 Generator
Create an ERC20 Token for FREE in less than a minute with the most used Smart Contract Generator for ERC20 Token. No login. No setup. No coding required.
Stars: ✭ 202 (-24.91%)
Mutual labels:  ethereum, smart-contracts
Octopus
Security Analysis tool for WebAssembly module (wasm) and Blockchain Smart Contracts (BTC/ETH/NEO/EOS)
Stars: ✭ 261 (-2.97%)
Mutual labels:  ethereum, smart-contracts
Swc Registry
Smart Contract Weakness Classification and Test Cases
Stars: ✭ 200 (-25.65%)
Mutual labels:  ethereum, smart-contracts
Flint
The Flint Programming Language for Smart Contracts
Stars: ✭ 228 (-15.24%)
Mutual labels:  ethereum, smart-contracts
Dasp
The Decentralized Application Security Project
Stars: ✭ 166 (-38.29%)
Mutual labels:  ethereum, smart-contracts
Merkletreejs
🌱 Construct Merkle Trees and verify proofs in JavaScript.
Stars: ✭ 238 (-11.52%)
Mutual labels:  ethereum, smart-contracts
Ebtc
eBitcoin (eBTC) is an ERC20 token. Its primary utility is to provide an easy & fast payment solution. Its edge over other tokens is that it is capable of sending up to 255 payments in a single transaction.
Stars: ✭ 149 (-44.61%)
Mutual labels:  ethereum, smart-contracts
Set Protocol Contracts
🎛 Set Protocol Smart Contracts
Stars: ✭ 151 (-43.87%)
Mutual labels:  ethereum, smart-contracts
Ethereum Input Data Decoder
Ethereum smart contract transaction input data decoder
Stars: ✭ 242 (-10.04%)
Mutual labels:  ethereum, smart-contracts
Ethereum Erc721
Non-fungible token implementation for Ethereum-based blockchains.
Stars: ✭ 253 (-5.95%)
Mutual labels:  ethereum, smart-contracts

Solidity Template

My favourite setup for writing Solidity smart contracts.

  • Hardhat: compile and run the smart contracts on a local development network
  • TypeChain: generate TypeScript types for smart contracts
  • Ethers: renowned Ethereum library and wallet implementation
  • Waffle: tooling for writing comprehensive smart contract tests
  • Solhint: linter
  • Solcover code coverage
  • Prettier Plugin Solidity: code formatter

This is a GitHub template, which means you can reuse it as many times as you want. You can do that by clicking the "Use this template" button at the top of the page.

Usage

Pre Requisites

Before running any command, make sure to install dependencies:

$ yarn install

Compile

Compile the smart contracts with Hardhat:

$ yarn compile

TypeChain

Compile the smart contracts and generate TypeChain artifacts:

$ yarn typechain

Lint Solidity

Lint the Solidity code:

$ yarn lint:sol

Lint TypeScript

Lint the TypeScript code:

$ yarn lint:ts

Test

Run the Mocha tests:

$ yarn test

Coverage

Generate the code coverage report:

$ yarn coverage

Clean

Delete the smart contract artifacts, the coverage reports and the Hardhat cache:

$ yarn clean
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].