flutter_web3 icon indicating copy to clipboard operation
flutter_web3 copied to clipboard

Using with Polkadot (non-Ethereum) Wallet Chrome Extension

Open kornha opened this issue 3 years ago • 1 comments

I would like to be able to access Polkadot wallet chrome extensions in Flutter Web.

I have considered porting the Polkadot Extension NPM package, or somehow using it in Flutter Web, but this seems to be a challenge.

I am wondering if there is a way to use this repository to hit a polkadot extension instead of a Ethereum (eg., Metamask) chrome extension, or if this is a future idea.

Thanks!

kornha avatar Jan 06 '22 07:01 kornha

Hi, This seems to be a problem because this package can only hit EVM chain using Ethers.js. If you want to use Polkadot.js or other packages that interact with non-evm chains you will need to build the package from scratch or just call the method using dart:js.

y-pakorn avatar Jan 06 '22 08:01 y-pakorn