
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@chainscore/contracts
Advanced tools
yarn add @chainscore/contracts
import "@chainscore/contracts/ChainScoreClient.sol";
contract ExampleContract is ChainScoreClient {
// ..
}
function requestScore(address _user)
external
{
requestData(
_user,
"SINGLE_SCORE",
this.fulfillScore.selector
)
}
function fulfillScore(
bytes32 requestId,
uint256 score, // requested score
address account // address for which score was requested
) public recordFulfillment(requestId)
{
// logic
}
You could directly request Addresses, JobSpec and Oracle Fees from AddressProvider and PaymentProvider Contracts
SINGLE_SCOREMULTIPLE_SCORESCORECHAINSCORE_ORACLEFAQs
ChainScore client contracts
The npm package @chainscore/contracts receives a total of 5 weekly downloads. As such, @chainscore/contracts popularity was classified as not popular.
We found that @chainscore/contracts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.