stargate: Use paths from amino

This commit is contained in:
willclarktech 2021-03-24 18:08:40 +01:00
parent 3db78cd5f7
commit 572346755e
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -1,14 +1,8 @@
/* eslint-disable @typescript-eslint/naming-convention */
import { AminoSignResponse, Secp256k1HdWallet, StdSignDoc } from "@cosmjs/amino";
import { AminoSignResponse, makeCosmoshubPath, Secp256k1HdWallet, StdSignDoc } from "@cosmjs/amino";
import { Bip39, EnglishMnemonic, Random, Secp256k1, Slip10, Slip10Curve } from "@cosmjs/crypto";
import { Bech32 } from "@cosmjs/encoding";
import {
coins,
DirectSecp256k1HdWallet,
DirectSignResponse,
makeAuthInfoBytes,
makeCosmoshubPath,
} from "@cosmjs/proto-signing";
import { coins, DirectSecp256k1HdWallet, DirectSignResponse, makeAuthInfoBytes } from "@cosmjs/proto-signing";
import { SignMode } from "./codec/cosmos/tx/signing/v1beta1/signing";
import { AuthInfo, SignDoc, TxBody } from "./codec/cosmos/tx/v1beta1/tx";