@dlsl/dev-modules v2.5.5
Solidity Development Modules by Distributed Lab
Elaborate solidity development modules library by DL.
The library consist of modules and utilities that are built on top of Openzeppelin Contracts but goes far beyond the mediocre solidity.
- Implementation of Contracts Registry pattern
- Versatile RBAC smart contract
- Enhanced and simplified Diamond pattern
- Utilities to ease work with ERC20 decimals, arrays and sets
Overview
Installation
$ npm install @dlsl/dev-modules
The latest stable version is always in the master
branch.
Usage
You will find the smart contracts in the /contracts
directory. Fell free to play around and check the source code, it is rather descriptive.
Once the npm package is installed, one can use the modules just like that:
pragma solidity ^0.8.4;
import "@dlsl/dev-modules/contracts-registry/presets/OwnableContractsRegistry.sol";
contract ContractsRegistry is OwnableContractsRegistry {
. . .
}
It is important to use the library as it is shipped and not copy-paste the code from untrusted sources.
License
The development modules are released under the MIT License.
10 months ago
9 months ago
10 months ago
9 months ago
9 months ago
9 months ago
12 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago