
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@venusprotocol/solidity-utilities
Advanced tools
NodeJS - 18.x
Solc - v0.8.13 (https://github.com/ethereum/solidity/releases/tag/v0.8.13)
yarn install
Linting is done using eslint for typescript and solhint for solidity. Prettier is used to format solidity and typescript files.
To check linting and formatting on all files run:
$ yarn lint
Linting command can be run with the fix flag to fix eligible errors automatically
$ yarn lint:sol --fix
$ yarn lint:ts --fix
To pretty all files run:
$ yarn prettier
npx hardhat test
Releases are automatically managed using semantic-release and commit messages.
npx hardhat deploy
./deploy
directoryhardhat
hardhat.config.ts
- Add PRIVATE_KEY
variable in .env
file - Execute deploy command by adding --network <network_name>
in the deploy command above - E.g. npx hardhat deploy --network bsctestnet
tags
for example: - func.tags = ["MockTokens"];
--tags "<tag_name>,<tag_name>..."
to the deployment command will execute only the scripts containing the tags.npx hardhat etherscan-verify --network <network-name>
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
npx hardhat help
REPORT_GAS=true npx hardhat test
npx hardhat coverage
TS_NODE_FILES=true npx ts-node scripts/deploy.ts
npx eslint '**/*.{js,ts}'
npx eslint '**/*.{js,ts}' --fix
npx prettier '**/*.{json,sol,md}' --check
npx prettier '**/*.{json,sol,md}' --write
npx solhint 'contracts/**/*.sol'
npx solhint 'contracts/**/*.sol' --fix
Documentation is autogenerated using solidity-docgen.
They can be generated by running yarn docgen
FAQs
Solidity code used by other Venus projects
The npm package @venusprotocol/solidity-utilities receives a total of 1,580 weekly downloads. As such, @venusprotocol/solidity-utilities popularity was classified as popular.
We found that @venusprotocol/solidity-utilities demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.