web-examples
web-examples copied to clipboard
fix: use Bigint parse wallet balance
parseInt("0x2dbe4df48c1f4400", 16).toString() // get the result '3296157690000000000'
parseInt("0xd1c28026901869bc00", 16).toString() // get the result is '3.869384755846e+21' , the fromWad function will get an error
To solve this issue, it is necessary to replace parseInt with BigInt.
@iosh is attempting to deploy a commit to the WalletConnect Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| react-dapp-v2 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 6, 2024 1:33pm |
1 Ignored Deployment
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| react-wallet-v2 | ⬜️ Ignored (Inspect) | Visit Preview | May 6, 2024 1:33pm |