
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@gelatonetwork/core
Advanced tools

$ npm install @gelatonetwork/core
This project is build on Buidler & Ethers.js
Once installed, you can use the contracts in the library by importing them:
pragma solidity ^0.6.10;
import {Condition, Action, Task, Operation, DataFlow} from "@gelatonetwork/core/contracts/gelato_core/IGelatoCore.sol";
contract AutomatedDapp {
address public immutable gelatoCore;
constructor(address _gelatoCore) public {
gelatoCore = _gelatoCore
}
function createGelatoTask() public returns(Task memory) {
Condition memory condition = Condition({
inst: conditionAddress,
data: abi.encodePacked(block.number + _blockNumberDelta);
});
Action memory condition = Action({
addr: actionAddress,
data: abi.encodeWithSignature("doAction(uint256)", actioninput);
operation: Operation.Call,
dataFlow: DataFlow.None,
value: 0,
termsOkCheck: false
});
Task memory task = Task({
conditions: [condition],
actions: [action],
0,
0
}):
return task;
}
}
FAQs
Gelato Core Smart Contracts
The npm package @gelatonetwork/core receives a total of 0 weekly downloads. As such, @gelatonetwork/core popularity was classified as not popular.
We found that @gelatonetwork/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.

Research
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.