2020-12-02 15:04:53 +00:00
|
|
|
# @cosmjs/cosmwasm-stargate
|
|
|
|
|
|
|
|
[](https://www.npmjs.com/package/@cosmjs/cosmwasm-stargate)
|
|
|
|
|
|
|
|
An SDK to build CosmWasm clients.
|
|
|
|
|
|
|
|
## Compatibility
|
|
|
|
|
2021-10-12 13:43:23 +02:00
|
|
|
| CosmWasm | x/wasm | @cosmjs/cosmwasm-stargate |
|
|
|
|
| --------------- | --------- | ------------------------- |
|
2022-03-02 21:55:49 +01:00
|
|
|
| 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` |
|
2021-10-12 13:43:23 +02:00
|
|
|
| 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` |
|
2020-12-02 15:04:53 +00:00
|
|
|
|
|
|
|
## Development
|
|
|
|
|
|
|
|
Updating Hackatom development contract in `src/testdata/contract.json`:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
cd packages/cosmwasm-stargate
|
2021-10-12 13:43:23 +02:00
|
|
|
export HACKATOM_URL=https://github.com/CosmWasm/cosmwasm/releases/download/v1.0.0-beta/hackatom.wasm
|
2021-05-03 10:27:58 +02:00
|
|
|
echo "{\"// source\": \"$HACKATOM_URL\", \"data\": \"$(curl -sS --location $HACKATOM_URL | base64 | tr -d '[:space:]')\" }" | jq > src/testdata/contract.json
|
2020-12-02 15:04:53 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
This package is part of the cosmjs repository, licensed under the Apache License
|
2021-01-19 23:37:10 +01:00
|
|
|
2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and
|
|
|
|
[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)).
|