
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@actalink/modules
Advanced tools
import { SmartAccount, type SmartAccountConfig } from "@actalink/sdk";
import { addMinutes, getCurrentTimestamp, ScheduleopValidationModule } from "@actalink/modules";
const config: SmartAccountConfig = {
chainId,
provider,
owner: wallet,
bundlerUrl: "<bundler URL>",
paymasterUrl: "<paymaster URL>"
};
const smartWallet = new SmartAccount(config);
const validationClient = new ScheduleopValidationModule({
chainId,
provider,
owner: wallet,
bundlerUrl: "<bundler URL>",
paymasterUrl: "https://goerli-paymaster.acta.link", // Supported paymaster for ScheduleopValidationModule
});
const executionTimes = [
addMinutes(getCurrentTimestamp(), { amount: 5 }),
addMinutes(getCurrentTimestamp(), { amount: 7 }),
];
const userOpHashes = await validationClient.createScheduleOps(
"<Address of contract which we are interacting with.For ERC20 payments use ERC20 contract address.>",
transferData,
0n,
2, // number of times to repeat the payments
[...executionTimes] // array of execution times in miliseconds
)
cd packages/contracts-v1
forge create src/lib/DecodeHelper.sol:DecodeHelper --rpc-url http://127.0.0.1:8545/ --private-key=$PRIVATE_KEY --via-ir
forge build --via-ir --libraries src/lib/DecodeHelper.sol:DecodeHelper:<decodeHelper deployed address>
FAQs
Modules for Actalink client SDK
The npm package @actalink/modules receives a total of 33 weekly downloads. As such, @actalink/modules popularity was classified as not popular.
We found that @actalink/modules demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
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.