I've upgraded to Widget 3.0.0 in a next.js app router project. The old version works with all networks, as seen on https://tinyswap.app/
The new widget works fine with Polygon network for example, but not Fantom. I've tried different tokens, even FTM -> wFTM, but all transactions fail due to missing hash. I'm using Rabby wallet extension in Chrome and the Rabby simulation of the transaction works fine, so shouldn't be a problem. It seems to me there is a bug in the li.fi library.
Update 1:
It works fine in Metamask chrome extension, but fails consistently with Rabby wallet. However, Rabby wallet works fine with any other app, even the old Li.Fi widget version.
I've upgraded to Widget 3.0.0 in a next.js app router project. The old version works with all networks, as seen on https://tinyswap.app/
The new widget works fine with Polygon network for example, but not Fantom. I've tried different tokens, even FTM -> wFTM, but all transactions fail due to missing hash. I'm using Rabby wallet extension in Chrome and the Rabby simulation of the transaction works fine, so shouldn't be a problem. It seems to me there is a bug in the li.fi library.
Update 1: It works fine in Metamask chrome extension, but fails consistently with Rabby wallet. However, Rabby wallet works fine with any other app, even the old Li.Fi widget version.
This is the branch with my upgrade: https://github.com/paintoshi/tinyswap/tree/app-router
Replicate:
yarn install
yarn dev
Screenshots:
Chrome console error: