Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #72 from cosmostation/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Booyoun authored Oct 15, 2020
2 parents 885e957 + 2a00002 commit 14114dd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ iris.setBech32MainPrefix("iaa");
```js
const cosmosjs = require("@cosmostation/cosmosjs");

const chainId = "kava-3";
const chainId = "kava-4";
const kava = cosmosjs.network(lcdUrl, chainId);
kava.setBech32MainPrefix("kava");
```
- Band
```js
const cosmosjs = require("@cosmostation/cosmosjs");

const chainId = "band-wenchang-mainnet";
const chainId = "band-guanyu-mainnet";
const band = cosmosjs.network(lcdUrl, chainId);
band.setBech32MainPrefix("band");
```
Expand Down
2 changes: 1 addition & 1 deletion example/band-protocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const cosmosjs = require("../src");

// [WARNING] This mnemonic is just for the demo purpose. DO NOT USE THIS MNEMONIC for your own wallet.
const mnemonic = "swear buyer security impulse public stereo peasant correct cross tornado bid discover anchor float venture deal patch property cool wreck eight dwarf december surface";
const chainId = "band-wenchang-mainnet";
const chainId = "band-guanyu-mainnet";
// Please install and use rest server separately. (https://hub.cosmos.network/master/resources/service-providers.html#setting-up-the-rest-server)
const band = cosmosjs.network("YOUR REST SERVER URL", chainId);
band.setBech32MainPrefix("band");
Expand Down
2 changes: 1 addition & 1 deletion example/kava.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const cosmosjs = require("../src");

// [WARNING] This mnemonic is just for the demo purpose. DO NOT USE THIS MNEMONIC for your own wallet.
const mnemonic = "swear buyer security impulse public stereo peasant correct cross tornado bid discover anchor float venture deal patch property cool wreck eight dwarf december surface";
const chainId = "kava-3";
const chainId = "kava-4";
// Please install and use rest server separately. (https://hub.cosmos.network/master/resources/service-providers.html#setting-up-the-rest-server)
const kava = cosmosjs.network("YOUR REST SERVER URL", chainId);
kava.setBech32MainPrefix("kava");
Expand Down
2 changes: 1 addition & 1 deletion example/scrt.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const cosmosjs = require("../src");

// [WARNING] This mnemonic is just for the demo purpose. DO NOT USE THIS MNEMONIC for your own wallet.
const mnemonic = "swear buyer security impulse public stereo peasant correct cross tornado bid discover anchor float venture deal patch property cool wreck eight dwarf december surface";
const chainId = "secret-1";
const chainId = "secret-2";
// Please install and use rest server separately. (https://hub.cosmos.network/master/resources/service-providers.html#setting-up-the-rest-server)
const scrt = cosmosjs.network("https://api-node.chainofsecrets.org", chainId);
scrt.setBech32MainPrefix("secret");
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cosmostation/cosmosjs",
"version": "0.6.10",
"version": "0.6.11",
"description": "A JavasSript Open Source Library for Cosmos Network, IRISnet, Kava, Band Protocol, Starname and Secret Network. (HTML developers can use /dist/cosmos.js)",
"main": "./src/index.js",
"repository": {
Expand Down

0 comments on commit 14114dd

Please sign in to comment.