# dethcrypto/TypeChain

🔌 TypeScript bindings for Ethereum smart contracts

Repository: https://github.com/dethcrypto/TypeChain
Canonical: https://ross.abutalabs.com/products/typechain
Language: TypeScript
License: MIT
License Family: permissive
Topics: typescript, ethereum, web3, solidity, blockchain, abi, smartcontract, truffle
Last push: 2024-07-10T10:41:35+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3287, "days_push": 784, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2792, forks 376 (observed 2026-08-28T04:07:22.228070+00:00)

## What it is
TypeChain generates TypeScript bindings from Ethereum smart contract ABIs, giving statically typed access to contract methods and events. It is now soft-deprecated in favor of ABItype/Wagmi/Viem, with only critical fixes merged.

## Use cases
- generate typescript types for solidity contract abis
- type-safe ethereum smart contract calls in typescript
- integrate contract bindings into hardhat tests
- autocomplete for web3 contract methods in ide
- generate typed clients from truffle artifacts

## When to choose
- you maintain an existing codebase already using TypeChain bindings
- you need typed contract bindings for a toolchain not covered by Viem
- you only need critical fixes on a stable codegen pipeline

## When to avoid
- starting a new project - prefer Viem, Wagmi, or ABItype
- you want actively developed tooling with ecosystem support
- you parse ABIs directly in the TypeScript type system already

## Facets
- artifact type: library
- maturity: maintenance
- function: type-system, sdk
- domain: blockchain, developer-tools, web-development
- platform: -
- tags: ethereum, solidity, smart-contracts, abi, web3, code-generation, hardhat, truffle, deprecated, nodejs, typescript

## Member repositories
- dethcrypto/TypeChain (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:22.228070+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:15:14.918960+00:00, confidence not recorded.
  - readme: https://github.com/dethcrypto/TypeChain (fetched 2026-08-28T04:07:22.228070+00:00, sha 7f109317839b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
