truffle-contract 3.0.8
A better contract abstraction for Ethereum (formerly EtherPudding)
truffle-contract@3.0.8 was published on 2019-08-29. Its manifest declares 5 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
Deprecated: WARNING: This package has been renamed to @truffle/contract.
All truffle-contract versions · Permanent reference to 3.0.8 · Latest release
Package specifications
| Version | 3.0.8 |
|---|---|
| License declaration | MIT |
| Published | 2019-08-29T18:20:52.860Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 5 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 962.40 KiB |
| Published file count | 19 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 21 |
| Repository stars | 13904 |
| Repository forks | 2287 |
Install truffle-contract 3.0.8
npm install truffle-contract@3.0.8 pnpm add truffle-contract@3.0.8 yarn add truffle-contract@3.0.8
Runtime dependencies
- web3 0.20.6
- ethjs-abi 0.1.8
- truffle-error ^0.0.3
- truffle-contract-schema ^2.0.3
- truffle-blockchain-utils ^0.0.5
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- ajv@5.5.2 — indirect
- bn.js@4.11.6 — indirect
- co@4.6.0 — indirect
- crypto-js@3.3.0 — indirect
- debug@3.2.7 — indirect
- ethjs-abi@0.1.8 — direct
- fast-deep-equal@1.1.0 — indirect
- fast-json-stable-stringify@2.1.0 — indirect
- is-hex-prefixed@1.0.0 — indirect
- js-sha3@0.5.5 — indirect
- json-schema-traverse@0.3.1 — indirect
- ms@2.1.3 — indirect
- number-to-bn@1.7.0 — indirect
- strip-hex-prefix@1.0.0 — indirect
- truffle-blockchain-utils@0.0.5 — direct
- truffle-contract-schema@2.0.3 — direct
- truffle-error@0.0.3 — direct
- utf8@2.1.2 — indirect
- web3@0.20.6 — direct
- xhr2@0.2.1 — indirect
- xmlhttprequest@1.8.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 6/10 — Found 4/6 approved changesets -- score normalized to 6 |
|---|---|
| Maintained | 0/10 — project is archived |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 10/10 — project is fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/truffle-contract/3.0.8 — retrieved 2026-10-30T22:48:28.348Z
- https://api.deps.dev/v3/systems/npm/packages/truffle-contract/versions/3.0.8 — retrieved 2026-10-30T22:48:28.729Z
- https://api.deps.dev/v3/systems/npm/packages/truffle-contract/versions/3.0.8:dependencies — retrieved 2026-10-30T22:48:28.766Z
- https://api.deps.dev/v3/projects/github.com%2Ftrufflesuite%2Ftruffle — retrieved 2026-10-30T22:48:29.230Z