Questions tagged [web3dart]
34 questions
6
votes
4 answers
Integrating MetaMask with Flutter Mobile Application
I want to add feature in my mobile app to send ether from one address to another address and for this I need to integrate metamask with my flutter mobile application. What package can I use for this purpose? I want to send ether through metamask but…

Rehan
- 131
- 1
- 8
4
votes
1 answer
Create smart contract with flutter and web3dart
I am currently trying to create a smart contract with flutter and web3dart. I am able to read a created smart contract with the abi. but I can't find a way, to create a new one.
reading was pretty simple:
var ticketABI =…

Auryn
- 1,117
- 1
- 13
- 37
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…

elishambadi
- 31
- 2
3
votes
1 answer
Create USDT Wallet on ERC20 Dart
I want to understand for myself how to generate USDT ERC20 wallet in dart language. I found the web3dart library. But what does it take to generate a koschel using the 12-word phrase provided by the bip39 library? And I don’t understand, is it…

Samoilov
- 488
- 4
- 14
2
votes
2 answers
Error when running flutter pub run build_runner build --delete-conflicting-outputs
I'm trying to integrate a smart contract into my flutter and I'm referring to this example. I have included all the dependencies and dev_dependencies in the first step and I'm stuck in the second step where this error occurs where the system could…

Leo
- 179
- 9
2
votes
1 answer
Web3 client can't write to contract in Flutter app using WalletConnect for credendtial
I used web3dart with flutter with Ganache and Truffle to run my Solidity contract, the contract is being read fine by my Flutter app but when I run functions that write to the contract it doesn't work (can't write to the contract from the app). I…

cypherZox_
- 21
- 1
2
votes
1 answer
How can get a mnemonic phrase wallet key (12 words ) from a private key?
How can you get a mnemonic phrase wallet key (12 words login key) from a private key?
actually I Will create a mobile app in flutter and a web app in react js
so can you please guide me

Sachin Divergent
- 33
- 1
- 4
2
votes
1 answer
web3dart estimating gas fee exception
I'm trying to estimate the gas fee for the ERC20 token transaction - in this case transferring DAI from one address to another (on Mumbai).
The code for estimating the gas fee:
final contract = DeployedContract(ContractAbi.fromJson(abi, token.id), …

Tom
- 1,516
- 1
- 14
- 34
2
votes
1 answer
How to convert seeds into private key?
how to convert bip39 mnemonic seed phrase into private key without any libraries like web3 or ethers.js
basically I'm trying to replicate my metamasks wallets private key
so I would like to write a function that takes my seed words as my input and…

Elangovan
- 31
- 3
2
votes
1 answer
How to connect web3 to ethereum network using flutter?
I am getting error while connecting with ethereum node.
this line ==> print(client.getBlockNumber()); returns error
E/flutter (22015): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)]
Unhandled Exception: SocketException: Failed host lookup:
…

Ishwar Chandra Tiwari
- 5,099
- 6
- 22
- 41
2
votes
2 answers
Invalid Sender in web3dart
I use web3dart and when I send a transaction I get such error:
error: {code: -32000, message: invalid sender}};
I changed the chainId, but it did not help, can someone come across this?
despite this mistake I can get a balance.

Vladimir
- 21
- 1
1
vote
0 answers
How to Deploy A Smart Contract Using Web3Dart
In Javascript We Deploy Smart contract something like that
let contract = new web3.eth.Contract(DonactionsAbi);
let deploy = await contract.deploy({ data: DonactionsByteCode, arguments: [address, Name] });
I just want to know how to Deploy smart…

Asad Ullah
- 11
- 2
1
vote
0 answers
trying to run command 'flutter pub run build_runner build' with build runner 2.0.3 with web3dart 2.4.1
trying to generate .g.dart file from abi json then getting these error
`
[INFO] Generating build script...
[INFO] Generating build script completed, took 139ms
[INFO] Precompiling build script......
[WARNING]…

surayutttttttt
- 13
- 2
1
vote
1 answer
How to listen custom event web3 flutter
I was trying to listen an event from bsc chain testnet
Contract address : 0x99ab1685b4227087ec776fdf75947537f2a150e1
Event : AuctionStart
i have created the contract using abi and contract address and this is working fine.
final ContractEvent…

Tanjin Alam
- 1,728
- 13
- 15
1
vote
0 answers
Make Web3Client url have metamask connection in Flutter?
Client httpClient = Client();
late Web3Client scClient;
SmartContractUniSwap() {
scClient = Web3Client(
'https://ropsten.infura.io/v3/f847d455fefb4a4580017cb031b35442',
httpClient);
}
This is the code to create a…

Long
- 49
- 3