d4fttasiii / d4ft-wallet

:moneybag: D4FT Wallet :moneybag:
MIT License
1 stars 0 forks source link

[Tx Builder] Transaction cannot be built with an error "Invalid JSON RPC" on Polygon and Binance #5

Open Jingranpm opened 2 years ago

Jingranpm commented 2 years ago

Describe the bug In Tx Builder step, when user tries to make a transfer on Polygon blockchain and Binance smart chain, after entering valid account addresses and amount, an error message pops up, preventing the transaction from being built.

To Reproduce Steps to reproduce the behavior:

  1. Go to D4ft Wallet
  2. Select Polygon blockchain
  3. Enter valid addresses on Polygon Mumbai Testnet and a transfer amount (test addresses provided in Additional info below if needed)
  4. See error

Expected behavior The transaction should be successfully built if all required information is provided correctly.

Screenshots Polygon Testnet

MATIC Error in Tx builder

BSC Testnet

BSC Tx builder error

Additional context

Additional info

MATIC testnet config on Meta wallet

Jingranpm commented 2 years ago

To confirm with dev: I am not sure if this error is produced due to different Chain ID configuration in Metamask Wallet (chain id: 80001) and D4ft Config (chain id: 1337). See details in screenshots above.