You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The contracts folder is starting to look messy with a large amount of files. External developers will also add the contracts to their projects when downloading npm package.
I propose to clean it up by introducing some folders; i.e. interfaces, utils, examples, libs and core for the main logic.
The
contracts
folder is starting to look messy with a large amount of files. External developers will also add the contracts to their projects when downloading npm package.I propose to clean it up by introducing some folders; i.e. interfaces, utils, examples, libs and core for the main logic.
Example:
. contracts ├── core │ ├── Dispatcher.sol │ ├── OpConsensusStateManager.sol │ ├── OpProofVerifier.sol │ └── UniversalChannelHandler.sol ├── examples │ ├── Earth.sol │ ├── GeneralMiddleware.sol │ └── Mars.sol ├── interfaces │ ├── ConsensusStateManager.sol │ ├── IbcDispatcher.sol │ ├── IbcMiddleware.sol │ ├── IbcReceiver.sol │ └── ProofVerifier.sol ├── libs │ └── Ibc.sol └── utils ├── DummyConsensusStateManager.sol ├── DummyProofVerifier.sol └── GasAudit.sol
External dApp devs would then mostly be interested in interfaces and demo folders.
The text was updated successfully, but these errors were encountered: