Packages

rocketh is a set of small packages: the core, the runtimes that run it, and the extensions a project picks. Each README (what npm shows) says what the package is and how to install and wire it; the guide is where its behaviour is documented.

PackageWhat it isGuide
rockethThe environment and the executor: runs deploy scripts, saves and reads deployments.Deploy scripts
hardhat-deployThe Hardhat plugin: the deploy task, typed artifacts, the network helpers, hardhat-deploy init.hardhat-deploy
@rocketh/nodeThe Node.js runtime: the rocketh command, and environments built from files.Get started without Hardhat, CLI
@rocketh/webThe browser runtime: deploy scripts as modules, records in memory or IndexedDB.Run deploy scripts in a browser
@rocketh/deploydeploy and computeDeterministicAddress.Deploy contracts, Deterministic addresses
@rocketh/read-executeread, execute (with its guard), tx.Guard execute calls
@rocketh/proxydeployViaProxy: ERC-173, UUPS and transparent proxies.Proxies
@rocketh/diamonddiamond: EIP-2535 diamonds.Diamonds
@rocketh/routerdeployViaRouter: one entry point over several route contracts.Routers
@rocketh/unknown-signerwithUnknownSignerPolicy, the policy for one call from a Safe or a multisig, and catchUnknownSigner for ported v1 scripts.Unknown signers
@rocketh/signerThe privateKey signer protocol.Named accounts and signers
@rocketh/viemviem clients and typed contracts for your deployments.Use viem
@rocketh/exportrocketh-export: deployments as one file for a frontend.Export
@rocketh/verifierrocketh-verify: source verification on Etherscan, Sourcify and Blockscout.Verify
@rocketh/docrocketh-doc: documentation from ABIs and NatSpec.Document
@rocketh/coreThe shared types and utilities, for extension authors.Extending rocketh
@rocketh/test-utilsA real environment over a mock provider, for testing extensions.Testing an extension
@rocketh/playgroundThe in-browser playground of this site, as a widget.Introduction

A project needs rocketh, a runtime (@rocketh/node, which hardhat-deploy uses too, or @rocketh/web) and the extensions its scripts call; @rocketh/deploy and @rocketh/read-execute are in almost every project.

Search
Search the documentation