-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable To Send Transactions #82
Comments
Hello @OmkarSsawant ! We might need to take a closer look at what you are describing but that won't be quick. What I can tell you right now is that there's no other way to interact with smart contracts than with |
Hello @OmkarSsawant! Could you check this reply? It might help WalletConnect/WalletConnectFlutterV2#246 (comment) |
I also happened to encounter this problem, and you can go ahead and consult my solution. Step 1: Please add this class CustomCredentialsSender extends CustomTransactionSender { final ISignEngine signingEngine; @OverRide @OverRide
} @OverRide @OverRide @OverRide Step 2: Credentials credentials = CustomCredentialsSender( final transaction = Transaction.callContract(
|
@quetool Can you follow up here> |
For smart contract interaction please follow this issue WalletConnect/WalletConnectFlutterV2#255 |
Describe the bug
I am Developing a application that can interact with a locally developed smart contract . The Connection and normal method contract calling works but I did not found any implementation for send transaction . In documentation it said to use the web3dart , but this requires private key to be stored in app . So I am trying this since 2 days now to just send the transaction using the session got from this plugin and tried many ways to do it but any of them did not work . Also looked at example app of this repo and tried to figure out, but is not working .Below are approches and their undesired outputs. I would really appreciate the response as soon as possible.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Output should be transaction Id as it ,when done using web3dart . When done only using web3dart output is fine.But Real Wallet needs to be connected.
Screenshots/Codes and Outputs
Approches:
using Just web3dart (which works):
But when using wallet
Credentials
to pass in method sendTransaction. According to this solutionA2:
A3:
using how it was called in example :
The behaviour of above A2 & A3 is different the transaction is getting stuck , the control does not reach down to print
s
even after some minutes . When Direct web3dart send-transaction takes 2-3 secs. In case of A2 the maxgas is printed butr
does notDesktop (please complete the following information):
Smartphone (please complete the following information):(Emulator)
The text was updated successfully, but these errors were encountered: