question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DAppkit should leave feeCurrency field empty when using CELO as the fee currency

See original GitHub issue

Expected Behavior

DAppkit should leave the feeCurrency field of a transaction empty (0x) when CELO is the intended fee currency.

Current Behavior

Dappkit populates the feeCurrency with the CELO ERC20 contract address. Discord reference message

https://github.com/celo-org/celo-monorepo/blob/486a02ec7741d649e441726bde6c8e770526ee7f/packages/dappkit/src/index.ts#L110

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
critesjoshcommented, Jan 22, 2021

Yes, trying to pay gas fees in CELO with dappkit doesn’t work right now. I tried implementing a fix a couple of weeks ago, but it was more complicated than I thought so I didn’t complete it.

0reactions
aslawsoncommented, Mar 1, 2021

@medhak1 I added https://app.zenhub.com/workspaces/devx-backlog-board-6009f3d1a7a39b001018f159/issues/celo-org/celo-monorepo/7307 to track adding minimal unit tests you mentioned were needed to feel confident with the fix

Read more comments on GitHub >

github_iconTop Results From Across the Web

Paying for Gas in Tokens - Celo Documentation
How to pay Celo gas fees using whitelisted ERC20 tokens. ... Leaving this field empty will result in the native currency, CELO, being...
Read more >
Introduction to dApp kit - Figment Learn
In this tutorial we are going to make counter dapp with expo (react native) ... the deployment costs, it will be necessary to...
Read more >
@celo/contractkit - npm
Connect to a node; Access web3 object to interact with node's Json RPC API; Send Transaction with celo's extra fields: (feeCurrency) ...
Read more >
How to Build a DApp on Celo - YouTube
This talk will focus on the tools available to Celo developers to write ... build delightful user interfaces for interacting with contracts.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found