near / wallet-selector

This is a wallet selector modal that allows users to interact with NEAR dApps with a selection of available wallets.
https://near.github.io/wallet-selector/
Apache License 2.0
143 stars 146 forks source link

[Defect] `provider.sendTransaction(signedTx)` always throws - (maybe because of the FailoverRpcProvider functionality) #1174

Closed kujtimprenku closed 3 weeks ago

kujtimprenku commented 3 weeks ago

Describe the bug

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to https://near.github.io/wallet-selector
  2. Sign in with Ledger or Coin98 Wallet, Nightly, Wallet Connect, Math Wallet, Okx Wallet, WELLDONE Wallet (or any wallet that uses the provider passed to wallet module)
  3. Try sending a message (it fails)

Error description:

Error message Exceeded 1 providers to execute request

Expected behavior

The signed transaction should be sent successfully.

Screenshots

image

image

Desktop:

Smartphone:

Additional Context

This can be a bug in the FailoverRpcProvider functionality in near-api-js.

kujtimprenku commented 3 weeks ago

The error is misleading but actually, the issue was with the wrong versions of dependencies being installed in wallet-selector project because of @mintbase-js/wallet.

I am closing this because similar other issues have been reported earlier.