Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@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
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 0 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.