Skip to content

Commit

Permalink
moved to solarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvolear committed Aug 14, 2023
1 parent 6a5c735 commit 26a1679
Show file tree
Hide file tree
Showing 10 changed files with 1,726 additions and 1,522 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Additional keys
COINMARKETCAP_KEY = "COINMARKETCAP API KEY"
# keys
COINMARKETCAP_KEY=COINMARKETCAP API KEY
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ body:
- type: input
id: version
attributes:
label: "DLSL version"
label: "Solarity version"
placeholder: "1.2.3"
validations:
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ body:
id: feature-description
attributes:
label: "Describe the feature"
description: "A description of what you would like to see in DLSL"
description: "A description of what you would like to see in Solarity"
validations:
required: true
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Thank you for contributing to DLSL!
Thank you for contributing to Solarity!
Please consider ticking the relevant statements.
-->
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 DLSL
Copyright (c) 2023 Solarity

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[![npm](https://img.shields.io/npm/v/@dlsl/dev-modules.svg)](https://www.npmjs.com/package/@dlsl/dev-modules)
[![Coverage Status](https://codecov.io/gh/dl-solidity-library/dev-modules/graph/badge.svg)](https://codecov.io/gh/dl-solidity-library/dev-modules)
[![npm](https://img.shields.io/npm/v/@solarity/solidity-lib.svg)](https://www.npmjs.com/package/@solarity/solidity-lib)
[![Coverage Status](https://codecov.io/gh/dl-solarity/solidity-lib/graph/badge.svg)](https://codecov.io/gh/dl-solarity/solidity-lib)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![GitPOAP Badge](https://public-api.gitpoap.io/v1/repo/dl-solidity-library/dev-modules/badge)](https://www.gitpoap.io/gh/dl-solidity-library/dev-modules)
[![GitPOAP Badge](https://public-api.gitpoap.io/v1/repo/dl-solarity/solidity-lib/badge)](https://www.gitpoap.io/gh/dl-solarity/solidity-lib)

# Solidity Development Modules by Distributed Lab
# Solidity Library by Distributed Lab

**Elaborate solidity development modules library by DL.**

**Solidity Library for savvies by DL**

The library consists of modules and utilities that are built with a help of [Openzeppelin Contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) (4.9.2) and go far beyond mediocre solidity.

Expand All @@ -23,7 +24,7 @@ The library consists of modules and utilities that are built with a help of [Ope
### Installation

```console
$ npm install @dlsl/dev-modules
$ npm install @solarity/solidity-lib
```

The latest stable version is always in the `master` branch.
Expand All @@ -32,12 +33,12 @@ The latest stable version is always in the `master` branch.

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](https://www.npmjs.com/package/@dlsl/dev-modules) is installed, one can use the modules just like that:
Once the [npm package](https://www.npmjs.com/package/@solarity/solidity-lib) is installed, one can use the library just like that:

```solidity
pragma solidity ^0.8.4;
import "@dlsl/dev-modules/contracts-registry/presets/OwnableContractsRegistry.sol";
import "@solarity/solidity-lib/contracts-registry/presets/OwnableContractsRegistry.sol";
contract ContractsRegistry is OwnableContractsRegistry {
. . .
Expand All @@ -48,4 +49,4 @@ contract ContractsRegistry is OwnableContractsRegistry {
## License

The development modules are released under the MIT License.
The library is released under the MIT License.
9 changes: 5 additions & 4 deletions contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
"name": "@dlsl/dev-modules",
"name": "@solarity/solidity-lib",
"version": "2.5.5",
"license": "MIT",
"author": "Distributed Lab",
"readme": "README.md",
"description": "Solidity Development Modules by Distributed Lab",
"description": "Solidity Library by Distributed Lab",
"repository": {
"type": "git",
"url": "https://github.com/dl-solidity-library/dev-modules"
"url": "https://github.com/dl-solarity/solidity-lib"
},
"keywords": [
"solidity",
"ethereum",
"smart-contracts",
"distributedlab"
"distributedlab",
"solarity"
],
"files": [
"**/*.sol",
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require("@nomiclabs/hardhat-web3");
require("@nomiclabs/hardhat-truffle5");
require("@dlsl/hardhat-markup");
require("@solarity/hardhat-markup");
require("hardhat-contract-sizer");
require("hardhat-gas-reporter");
require("solidity-coverage");
Expand Down
Loading

0 comments on commit 26a1679

Please sign in to comment.