Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@clockwork-xyz/sdk
Advanced tools
The Clockwork TS SDK is a minimal wrapper around the anchor thread program IDL as well as some utility functions.
The Clockwork TS SDK is a minimal wrapper around the anchor thread program IDL as well as some utility functions.
yarn add @clockwork-xyz/sdk
import { getThreadProgram } from "@clockwork-xyz/sdk";
import { AnchorProvider, Wallet } from "@project-serum/anchor";
import NodeWallet from "@project-serum/anchor/dist/cjs/nodewallet";
import { clusterApiUrl, Connection, Keypair } from "@solana/web3.js";
export const main = async () => {
const keypair = new Keypair();
const connection = new Connection(clusterApiUrl("mainnet-beta"), "processed");
const provider = new AnchorProvider(
connection,
keypair as unknown as NodeWallet,
{}
);
const program = getThreadProgram(provider);
const threads = await program.account.thread.all();
console.log("threads", threads);
};
FAQs
Clockwork Typescript SDK
The npm package @clockwork-xyz/sdk receives a total of 108 weekly downloads. As such, @clockwork-xyz/sdk popularity was classified as not popular.
We found that @clockwork-xyz/sdk 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.
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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.