# @cosmjs/cosmwasm

> CosmWasm SDK

Latest version **0.39.0** (published 2026-05-04) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @cosmjs/cosmwasm
pnpm add @cosmjs/cosmwasm
yarn add @cosmjs/cosmwasm
bun add @cosmjs/cosmwasm
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.39.0 |
| Published | 2026-05-04 |
| First published | 2020-06-10 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 9 |
| Unpacked size | 139.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 700 |
| Maintainers | webmaster128, kiki-skip |

## Links

- npm: https://www.npmjs.com/package/@cosmjs/cosmwasm
- Repository: https://github.com/cosmos/cosmjs/tree/main/packages/cosmwasm
- npm.io page: https://npm.io/package/@cosmjs/cosmwasm

## Dependencies (9)

- [@cosmjs/math](https://npm.io/package/@cosmjs/math.md) ^0.39.0
- [cosmjs-types](https://npm.io/package/cosmjs-types.md) ^0.11.0
- [@cosmjs/amino](https://npm.io/package/@cosmjs/amino.md) ^0.39.0
- [@cosmjs/utils](https://npm.io/package/@cosmjs/utils.md) ^0.39.0
- [@cosmjs/crypto](https://npm.io/package/@cosmjs/crypto.md) ^0.39.0
- [@cosmjs/encoding](https://npm.io/package/@cosmjs/encoding.md) ^0.39.0
- [@cosmjs/stargate](https://npm.io/package/@cosmjs/stargate.md) ^0.39.0
- [@cosmjs/proto-signing](https://npm.io/package/@cosmjs/proto-signing.md) ^0.39.0
- [@cosmjs/tendermint-rpc](https://npm.io/package/@cosmjs/tendermint-rpc.md) ^0.39.0

## Recent versions

- 0.39.0 (latest) — 2026-05-04
- 0.38.0-rc.1 (next) — 2025-12-24
- 0.38.1 — 2025-12-31
- 0.38.0 — 2025-12-30
- 0.38.0-rc.0 — 2025-12-24
- 0.25.6 — 2021-07-26
- 0.25.5 — 2021-06-23
- 0.25.4 — 2021-05-31
- 0.25.3 — 2021-05-18
- 0.25.2 — 2021-05-11
- 0.25.1 — 2021-05-06
- 0.25.0 — 2021-05-05
- 0.25.0-alpha.3 — 2021-04-22
- 0.25.0-alpha.2 — 2021-04-01
- 0.25.0-alpha.1 — 2021-03-24
- … 44 more at https://npm.io/package/@cosmjs/cosmwasm/versions

## README

# @cosmjs/cosmwasm

![typescript](https://img.shields.io/npm/types/@cosmjs/cosmwasm.svg)
[![npm version](https://img.shields.io/npm/v/@cosmjs/cosmwasm.svg)](https://www.npmjs.com/package/@cosmjs/cosmwasm)
[![license](https://img.shields.io/npm/l/@cosmjs/cosmwasm.svg)](https://github.com/cosmos/cosmjs/blob/v0.38.0/LICENSE)
![minimum node version](https://img.shields.io/node/v/@cosmjs/cosmwasm.svg)
![minified size](https://img.shields.io/bundlephobia/min/@cosmjs/cosmwasm.svg)
![monthly downloads](https://img.shields.io/npm/dm/@cosmjs/cosmwasm.svg)

An SDK to build CosmWasm clients.

## Compatibility

| CosmWasm        | x/wasm    | @cosmjs/cosmwasm-stargate |
| --------------- | --------- | ------------------------- |
| 0.16-1.0.0-beta | 0.21-0.23 | `^0.28.0`                 |
| 0.16-1.0.0-beta | 0.21-0.23 | `^0.27.0`                 |
| 0.16-1.0.0-beta | 0.18-0.20 | `^0.26.0`                 |
| 0.14            | 0.16      | `^0.25.0`                 |
| 0.13            | 0.14-0.15 | `^0.24.0`                 |

## Development

Updating Hackatom development contract in `src/testdata/contract.json`:

```sh
cd packages/cosmwasm-stargate
export HACKATOM_URL=https://github.com/CosmWasm/cosmwasm/releases/download/v1.0.0-beta/hackatom.wasm
echo "{\"// source\": \"$HACKATOM_URL\", \"data\": \"$(curl -sS  --location $HACKATOM_URL | base64 | tr -d '[:space:]')\" }" | jq > src/testdata/contract.json
```

## License

This package is part of the cosmjs repository, licensed under the Apache License
2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and
[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)).

---
_Source: https://npm.io/package/@cosmjs/cosmwasm · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
