New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@foundry-rs/cast

Package Overview
Dependencies
Maintainers
4
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foundry-rs/cast

Swiss Army knife for interacting with Ethereum applications from the command line

latest
Source
npmnpm
Version
1.6.0-rc1
Version published
Weekly downloads
751
16.43%
Maintainers
4
Weekly downloads
 
Created
Source

Cast

Cast is a Swiss Army knife for interacting with Ethereum applications from the command line. You can make smart contract calls, send transactions, or retrieve any type of chain data - all from your command-line! The cast binary can be used both within and outside of a Foundry project.

Usage

One-off commands

Example

npx --yes @foundry-rs/cast@nightly block-number

More generally

npx --yes @foundry-rs/cast@<version|nightly> <command> [args...]

Install then use

locally to your project

npm add @foundry-rs/cast@nightly
npx cast <command> [args...]

globally

npm add --global @foundry-rs/cast@nightly
cast <command> [args...]

Also works with deno, bun, and pnpm:

deno run --quiet --allow-all npm:@foundry-rs/cast@nightly <command> [args...]
bun x @foundry-rs/cast@nightly <command> [args...]
pnpm dlx --silent @foundry-rs/cast@nightly <command> [args...]

Keywords

foundry

FAQs

Package last updated on 22 Jan 2026

Did you know?

Socket

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.

Install

Related posts