useDApp
useDApp copied to clipboard
Framework for rapid Dapp development. Simple. Robust. Extendable. Testable
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....
`useEtherBalance` never seems to update the balance. The problem is there is a Transfer button in my app, which then should decrease the displayed balance once done. What is the...
closes https://github.com/TrueFiEng/useDApp/issues/788 closes https://github.com/TrueFiEng/useDApp/issues/520 closes https://github.com/TrueFiEng/useDApp/issues/419 closes https://github.com/TrueFiEng/useDApp/issues/282 ### TODO - [x] Portis connector - [x] Coinbase connector - [x] MetaMask connector in config by default - backwards compat. -...
**Describe the bug** So I have this function ``` function unstake(uint256 amount) public { require(_stakedAmounts[msg.sender] != 0, "Has not staked"); require(_stakedAmounts[msg.sender] - (_unstakedAmounts[msg.sender] + amount) >= 0, "Cannot unstake more...
**Describe the bug** I tried to use useConractFunction with MATIC , declaring like this const maticContarct = new Contract( "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0", ERC20Interface ); const {send}= useContractFunction(maticContarct, "transfer"); however i always get...
I get this error whenever I want to disconnect a user. Any idea how to fix that ? ``` Unhandled Runtime Error TypeError: connector.off is not a function Call Stack...
closes https://github.com/TrueFiEng/useDApp/issues/846
**Describe the bug** I've tried to send ether to another wallet via https://example.usedapp.io/send, but got `Failed to get the gas fees for EIP-1559 transaction` error **To Reproduce** 1. Access the...
**Is your feature request related to a problem? Please describe.** Add Error hash to transaction status. Which can be used for custom error message throwing from solidity. **Describe the solution...
In my dapp, I've noticed that some calls to `useContractFunction` can fail very quickly without updating the `NotificationsContext`. I've seen it happen when certain `require()` fail in the contract, but...