Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

oraichain-cosmosjs

oraichain8MIT0.0.1TypeScript support: included

A JavasSript Open Source Library for Oraichain and possibly many other Cosmos network blockchains as well

oraichain, cosmosjs, cosmos, tendermint, javascript, atom, cosmostation, iris, kava, band, iov, starname, secret, scrt, akash, akt, certik, ctk, stargate, ibc, protobuf

readme

Build and deploy Oraichain cosmosjs to npm

1. Install dependencies

yarn

2. Build javascript bundle

yarn build

3. Copy typescript files into the bundle

cp -r src/messages/ dist/ && cp src/index.d.ts dist/ && rm dist/messages/proto.js

4. Login to npm

npm login

5. Publish the bundle

npm publish