JSPM

  • Created
  • Published
  • Downloads 59845
  • Score
    100M100P100Q179135F
  • License Apache-2.0

CosmWasm SDK

Package Exports

  • @cosmjs/cosmwasm-stargate
  • @cosmjs/cosmwasm-stargate/build/index.js
  • @cosmjs/cosmwasm-stargate/build/queries
  • @cosmjs/cosmwasm-stargate/build/queries/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cosmjs/cosmwasm-stargate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@cosmjs/cosmwasm-stargate

npm version

An SDK to build CosmWasm clients.

Compatibility

CosmWasm x/wasm @cosmjs/cosmwasm-stargate
0.16-1.0.0-beta 0.21 ^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:

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 and LICENSE).