-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implements convert mnemonic to privateKey #64
Conversation
My knowledge was short and I couldn't run the test again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems you applied different code style compared to the existing code.
(e.g. space within braces, indent)
I think it would be good to use consistent code style :)
Co-authored-by: Youngjoon Lee <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
docs/examples.md
Outdated
import {Secp256k1 as CryptoSecp256k1, stringToPath, sha256} from "@cosmjs/crypto"; | ||
import {panacead} from "../testutils"; | ||
import {TextEncoder} from "util"; | ||
import {Secp256k1} from "./secp256k1"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import {Secp256k1 as CryptoSecp256k1, stringToPath, sha256} from "@cosmjs/crypto"; | |
import {panacead} from "../testutils"; | |
import {TextEncoder} from "util"; | |
import {Secp256k1} from "./secp256k1"; | |
import { Secp256k1 as CryptoSecp256k1, stringToPath } from "@cosmjs/crypto"; | |
import { Secp256k1 } from "@medibloc/panacea-js"; |
Co-authored-by: Youngjoon Lee <[email protected]>
I'm gonna improve our lint script and also make it run in CI. |
Yep. Very good. |
@youngjoon-lee |
yup. will do it now. |
Added a function to convert to privateKey using
mnemonic
andhdPath