sei-protocol / sei-js

SeiJS is a monorepo that contains multiple NPM libraries for writing applications that interact with the Sei network.
44 stars 38 forks source link

Compass wallet fee #191

Open zenoUsman opened 4 months ago

zenoUsman commented 4 months ago

I am facing error on dapp "Broadcast transaction error: fee: 9845, required: 435433" This error showing in when we mint nft through compass wallet by using get import { getSigningCosmWasmClient } from "@sei-js/cosmjs" when we maked client like this try { const client = await getSigningCosmWasmClient(config.rpc_wasm, wallet.offlineSigner, { gasPrice: GasPrice.fromString("0.01usei") })

        const allInstructions = [
            ...instructions.cw20Instructions,
            instructions.instruction
        ]

        const mintReceipt = await client.executeMultiple(wallet!.accounts[0].address, allInstructions, "auto")

I changed the fee manually but compass wallet not adopting it and same transaction broadcasting error showing in console.

zenoUsman commented 4 months ago

Anyone comment on this