Socket
Socket
Sign inDemoInstall

dlt-tools-solidity

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dlt-tools-solidity

Business Smart Contract library for Solidity


Version published
Weekly downloads
0
decreased by-100%
Maintainers
0
Weekly downloads
 
Created
Source

DLT Tools: Business Smart Contracts

Branch rule naming:

[feat/bug][YY][MM]/[jira-id]-[jira issue title]

feat - for features bug - for bugs/fixes YY - year in 2 digits MM - month in 2 digits jira-id - jira identificator of issue like ROSC-17

Example of branch name: feat2308/rosc-17-login-page

PullRequest rule naming:

Get it from issue in Jira with identificator and put it like "JIRA-ID: Issue Title".

Example of PR name:

BM-17: Login page

const DLTStrings = await ethers.getContractFactory('DLTStrings');
const roStrings = await DLTStrings.deploy();

const DLTRoleManager = await ethers.getContractFactory('DLTRoleManager', {
  libraries: {
    DLTStrings: roStrings.target,
  },
});

How to use console for testing

In .sol file:

  1. import 'hardhat/console.sol';
  2. console.log('7. BLACKLIST_MANAGER_ROLE %s', DLTStrings.iToHex(roleHash));

Test only one file

yarn t ./test/DLTRoleManager.ts

Test all

yarn t

How to local deploy

  1. In one terminal execute: yarn n
  2. In second terminal execute: yarn dl

How to update solc:

  1. npx solc --version
  2. npm update solc
  3. npm install solc@<versión específica> --save-dev

Keywords

FAQs

Package last updated on 03 Sep 2024

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc