Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@devprotocol/protocol
Advanced tools
This repository is the place to develop smart contracts for Dev Protocol.
First, install this repository as an npm package.
> npm i -D @devprotocol/protocol
You can use the Dev Protocol interface by importing it from a Solidity file.
import {IAddressConfig} from "@devprotocol/protocol/contracts/interface/IAddressConfig.sol";
import {IPropertyGroup} from "@devprotocol/protocol/contracts/interface/IPropertyGroup.sol";
contract TestContract {
function validatePropertyAddress(address _property) external view {
IAddressConfig addressConfig = IAddressConfig(0x1D415aa39D647834786EB9B5a333A50e9935b796);
IPropertyGroup propertyGroup = IPropertyGroup(addressConfig.propertyGroup());
require(propertyGroup.isGroup(_property), "not property address");
}
}
This is an example of logic that uses the PropertyGroup contract feature of the Dev Protocol to validate if it is a Property address.
The available interfaces can be found in "node_modules/@devprotocol/protocol/contracts/interface/".
AddressConfig holds the addresses of the contracts used in the Dev Protocol.
AddressConfig address
mainnet:0x1D415aa39D647834786EB9B5a333A50e9935b796
Ropsten:0xD6D07f1c048bDF2B3d5d9B6c25eD1FC5348D0A70
Read the contributing guide, and create PR when you have time. 🧚✨
Executing the following command will compile each contract.
git clone https://github.com/dev-protocol/protocol.git
cd protocol
yarn
yarn generate
run the following command to test each contract.
yarn test
If you use Visual Studio Code, we recommend that you install the following plug-ins:
EditorConfig
vscode-eslint
solidity
FAQs
Securitize for Internet assets
The npm package @devprotocol/protocol receives a total of 14 weekly downloads. As such, @devprotocol/protocol popularity was classified as not popular.
We found that @devprotocol/protocol demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.