Skip to content
JS
Package

@ethereum-waffle/mock-contract

Mock smart contracts in a smart way.

v4.0.4, 15 Feb 2023MITESM + CommonJSTypes: BundledBlockchain and Web3Testing
$ npm install @ethereum-waffle/mock-contract

Key numbers

As of 25 Sept 2026
Weekly downloads
41.9k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v4.0.4
GitHub stars
959
178 forks
Open issues / PRs
68 / 13
Contributors
-
Commits, last 52 weeks
0

No weekly download data in the snapshot.

41,880 downloads last week, 213,522 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
4.0.4, 15 Feb 20233 years ago
First published
-
Last push to GitHub
22 Nov 20231,037 days before the snapshot
Repository archived
No
Open issues
68
Open pull requests
13
Commits, last 52 weeks
0
Dependents on npm
2

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10.0
Runtimes
-
Unpacked size (npm)
504 kB
Dependencies (0)
None
Peer dependencies (1)
ethers
npm install @ethereum-waffle/mock-contract
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@ethereum-waffle/mock-contract@4.0.4/
  • unpkghttps://unpkg.com/@ethereum-waffle/mock-contract@4.0.4/
  • esm.shhttps://esm.sh/@ethereum-waffle/mock-contract@4.0.4
PackageWeekly downloadsGzipLast releaseModuleComparison
@depay/web3-mock13k-1 year agoESM + CommonJS-
@depay/web3-mock-evm12.8k-1 year agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.