Skip to content

Commit

Permalink
Highlight that Keplr overrides the fees set by the frontend and also …
Browse files Browse the repository at this point in the history
…how to change this behaviour (#390)

Highlight that Keplr overrides fees set by the frontend and also how this setting can be changed where the fees submitted take precedence.
  • Loading branch information
emperorjm authored Sep 8, 2023
1 parent 6329849 commit 7175dd6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/2.developers/3.guides/3.my-first-dapp/5.dapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ async function connectKeplrWallet() {

::

::alert{variant="info"}
One thing to note is that, by default, <b>Keplr</b> overrides the fees set by the frontend. To prevent Keplr from overriding these fees, set the <a href="https://docs.keplr.app/api/#interaction-options" target="_blank">Interactive Option</a> value of <b>preferNoSetFee</b> to <b>true</b>, as shown in the example above. You can find more information on these override options [here](/developers/developer-tools/arch3js/introduction#keplr-fee-overrides).
#title
Info
::

## Querying the counter

In the previous step we saved a reference to **CosmWasmClient.queryContractSmart**. We'll use it to query our **QueryMsg::GetCount** entrypoint of the Increment contract.
Expand Down
6 changes: 6 additions & 0 deletions content/2.developers/3.guides/4.nft-project/4.dapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ parentSectionPath: /developers

If it's your first time building an Archway dapp frontend, head over to the [Creating Your First dapp](../3.my-first-dapp/5.dapp.md) guide to learn how to setup your basic project scaffolding. Once you're serving a web page that connects to <a href="https://wallet.keplr.app/" target="_blank" >Keplr</a>, you'll be ready to follow the next steps.

::alert{variant="info"}
One thing to note is that, by default, <b>Keplr</b> overrides the fees set by the frontend. To prevent Keplr from overriding these fees, set the <a href="https://docs.keplr.app/api/#interaction-options" target="_blank">Interactive Option</a> value of <b>preferNoSetFee</b> to <b>true</b>. You can find more information on these override options [here](/developers/developer-tools/arch3js/introduction#keplr-fee-overrides).
#title
Info
::


## Loading NFT the collection

Expand Down

0 comments on commit 7175dd6

Please sign in to comment.