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 #33 from cosmostation/develop
Browse files Browse the repository at this point in the history
replaced old path to new path(44'/459'/0'/0/0)
  • Loading branch information
Booyoun authored Mar 10, 2020
2 parents a7692a5 + 7e7a354 commit 24a38c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/kava.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const mnemonic = "swear buyer security impulse public stereo peasant correct cro
const chainId = "kava-2";
const kava = cosmosjs.network("https://lcd-kava.cosmostation.io", chainId);
kava.setBech32MainPrefix("kava");
kava.setPath("m/44'/118'/0'/0/0");
kava.setPath("m/44'/459'/0'/0/0"); // new: m/44'/459'/0'/0/0, old: m/44'/118'/0'/0/0
const address = kava.getAddress(mnemonic);
const ecpairPriv = kava.getECPairPriv(mnemonic);

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.5.2",
"version": "0.5.3",
"description": "A JavasSript Open Source Library for Cosmos Network, IRISnet, and Kava",
"main": "./src/index.js",
"repository": {
Expand Down

0 comments on commit 24a38c2

Please sign in to comment.