Do not auto-import @cosmjs/encoding symbols
This commit is contained in:
parent
8e8011b695
commit
fbae7e2729
@ -1,3 +1,4 @@
|
||||
import { toBase64 } from "@cosmjs/encoding";
|
||||
import { makeCosmoshubPath, Secp256k1HdWallet } from "@cosmjs/launchpad";
|
||||
|
||||
const mnemonic =
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
import { toBase64, toUtf8 } from "@cosmjs/encoding";
|
||||
import { Coin } from "@cosmjs/launchpad";
|
||||
|
||||
// types auto-generated by wasm.glass and cleaned up manually
|
||||
|
||||
@ -55,10 +55,6 @@ export async function main(originalArgs: readonly string[]): Promise<void> {
|
||||
"Slip10RawIndex",
|
||||
],
|
||||
],
|
||||
[
|
||||
"@cosmjs/encoding",
|
||||
["fromAscii", "fromBase64", "fromHex", "fromUtf8", "toAscii", "toBase64", "toHex", "toUtf8", "Bech32"],
|
||||
],
|
||||
]);
|
||||
|
||||
console.info(colors.green("Initializing session for you. Have fun!"));
|
||||
@ -78,6 +74,17 @@ export async function main(originalArgs: readonly string[]): Promise<void> {
|
||||
import axios from "axios";
|
||||
import * as fs from "fs";
|
||||
|
||||
import {
|
||||
fromAscii,
|
||||
fromBase64,
|
||||
fromHex,
|
||||
fromUtf8,
|
||||
toAscii,
|
||||
toBase64,
|
||||
toHex,
|
||||
toUtf8,
|
||||
Bech32,
|
||||
} from "@cosmjs/encoding";
|
||||
import {
|
||||
coins,
|
||||
encodeAminoPubkey,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user