Solidity Smart Contract Convention X

STRUCTURE

- src
/active: For working contracts
/interfaces: Contains all contract interface type
/libraries: Contains all library type
/utils: Contains all utility type
XXXToken.sol: ERC20 token, ...
XXXContract.sol: Your contract implementation
/archived: For reference, sample contract, etc
/stash: Temporary contract storage. This contract can be moved to `active` for deployment

--

--

--

nhancv.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Are you starting as a developer? Easy peasy guide to React.

React Native & the JavaScript Interface: A Guide for Early Adopters

Getting Started with Logging in React

Log all the things or clean console in prod? Why not both?

Day 50 Training at Ryaz: Learning React

Using React Native with legacy Native Applications

Getting the Most Out of the BigDesign Component Library

How a Simple Caching Strategy Can Break a System

A cache miss workflow

What’s New In DevTools (Chrome 79)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nhan Cao

Nhan Cao

nhancv.com

More from Medium

How to Send Ethereum Transactions Using Web3

Testing a Smart Contract with HardHat 👷‍♂️

What is an Interface in a Smart Contract?

Interface in Solidity