Questions tagged [flutter-web3]

Flutter_web3 is a web3 library for Flutter used to interact with Ethereum and ether.js. It is a fork of the Flutter_Web3_provider library. Use this tag for questions about writing code with the flutter_web3 library.

15 questions
5
votes
1 answer

Problems with Dapp Development with Flutter and web3

I need to clarify a doubt in the development of Dapp, when creating a mobile app with flutter can I use web3 to connect with the wallet and the blockchain?
Thaddeus
  • 51
  • 3
3
votes
1 answer

How can I connect Flutter Crossplatform app (mobile and web) to Metamask?

I've been trying for a while to connect Flutter App to Metamask wallet, but most packages are only for one platform either mobile or web. I've tried installing Metamask and WalletConnect_dart packages, but their issues are as below. Metamask package…
2
votes
1 answer

How to include another Contract as dependency?

A function in a contract that is spawning a new contract executes fine from Remix but fails when called from my custom app, without giving any details except "transaction failed". I'm pretty sure the reason for this is that both contracts are…
Eight Rice
  • 816
  • 7
  • 24
1
vote
0 answers

Redirection to link in webview_flutter: ^4.2.1 is not working in android build

Redirection to a link in side webview of webview_flutter: ^4.2.1 is not working on android build but its working fine on Ipad and Iphone here Is the controller i have used controller.setJavaScriptMode(JavaScriptMode.unrestricted); …
1
vote
0 answers

Refusing to load URL as it exceeds 2097152 characters

I try to load index.html file, javascript file and css file in my project flutter with package flutter_webview. I found this error [WARNING:navigation_controller_impl.cc(285)] Refusing to load URL as it exceeds 2097152 characters. what i should to…
1
vote
0 answers

From Solidity To Dart : how reproduce an Solidity Address type construction in Dart

I have not managed to convert a line of code I have in one a Smart Contract of the back end of my DAPP into the Dart syntax for the front end part of it. SOLIDITY : address account =…
krizalyde
  • 11
  • 2
1
vote
1 answer

How to ask user for signing a message using the flutter_web3 plugin

I am trying to build an app where user is asked to connect with Ethereum Browser Wallet (Metamask) and in the next step would like ask for the use to sign a message (not signing a transaction). The plugin that I am using is flutter_web3 This is the…
1
vote
1 answer

How do I interact with ERC721 smart contracts using Flutter?

I am looking to create a dapp with Flutter that lets users mint NFT's. I know that there is the Web3 package and I have seen also examples how to interact with ERC contracts. But is it possible to interact with ERC721 contracts with Flutter and…
0
votes
0 answers

How to Render a Grid of Cards in flutter WEB , with Images on it . Like youtube

I am trying to make a grid of cards , that are containing images in it . I am not using Image.network() to load the images as it don't directly work in flutter web . So i am using a package called as image_network from pub dev . But doing this is…
0
votes
0 answers

How to call contract function of web3 in flutter?

I have an application to get data and send data to a contract. In flutter web, I used flutter_web3 package to connect to metamask. I send data like this in with that: List abi = [ 'function deposit(string,uint256)', ]; String…
Marlen Schreiner
  • 726
  • 10
  • 25
0
votes
0 answers

Why I get "Cannot read properties of undefined (reading 'default') while connecting with WalletConnectProvider"? in Flutter

I am getting the folling error when I want to connect to trustWallet or Metamask through walletconnect with flutter_web3 package. Error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'default') at…
Davoud
  • 2,576
  • 1
  • 32
  • 53
0
votes
0 answers

Flutter Web3 cannot fetch data with address type

I am using https://pub.dev/packages/flutter_web3 in order to connect my Flutter Web App with Solidity smart contract. I could successfully connect with Metamask with my account Future connectProvider() async…
Sigmund
  • 748
  • 1
  • 8
  • 28
0
votes
0 answers

Set Variable is null in compute function

I set a variable to an instance of BIP32 in a function, but accessing the varialble in a compute returns null Map checkRoot(a) { print(root); // null } Map calculateSeed(String seedPhrase) { seed = bip39.mnemonicToSeed(seedPhrase); return…
Davy King
  • 27
  • 8
0
votes
0 answers

Library gives error when building on real device

I am using flotus package to develop a crypto wallet for filecoin, on a simulator everything works fine, but trying to use my personal device to install the app I get this error In…
Davy King
  • 27
  • 8
0
votes
0 answers

How to separate connecting to Metamask browser extension and Binance extension wallet in Flutter?

There is a flutter app with two button, one is for connecting to Metamask chrome extension and the other for connecting to Binance extension wallet on chrome browser. How to call these extensions separately? When I enable Metamask extension it…
Davoud
  • 2,576
  • 1
  • 32
  • 53