Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dlsl/dev-modules

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dlsl/dev-modules

Solidity Development Modules by Distributed Lab

  • 2.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
2
Weekly downloads
 
Created
Source

npm Coverage Status License: MIT GitPOAP Badge

Solidity Development Modules by Distributed Lab

Elaborate solidity development modules library by DL.

The library consists of modules and utilities that are built on top of Openzeppelin Contracts but go far beyond mediocre solidity.

  • Implementation of Contracts Registry pattern
  • Versatile RBAC smart contract
  • Enhanced and simplified Diamond pattern
  • Heap based priority queue library
  • Memory data structures
  • 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. Feel 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.

Keywords

FAQs

Package last updated on 19 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc