-
Notifications
You must be signed in to change notification settings - Fork 37
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
Problem with send transaction logged with maiar app #201
Comments
Hello @joansala13! Indeed, the I assume you are using dapp-core (which currently references erdjs v9.x), and offers you an instance of a previous version of the signing provider. Please broadcast the transaction directly to the API - or use one of the default Network Providers, as depicted here: https://docs.elrond.com/sdk-and-tools/erdjs/erdjs-cookbook/#broadcasting-transactions That is, do not use the wallet connect provider to broadcast the transaction. Does this resolve your issue? |
Thanks for the answer @andreibancioiu , I try the solution mentioned, i inspired i elrond dapp template in ping transaction, i do copy&paste of the transaction, change the contractAddress in my config (equal of dapp-tempalte, in this in local, transaction work) and in my code say: the only difference i see is the version of erdjs in my package.json... i need the downgrade for this? thanks! |
Hello @joansala13! Indeed, an option would be to downgrade the erdjs reference until dapp-template is updated to use erdjs v10, as well. However, do you think you can post the code snippet that triggers the error? It's true that |
sure @andreibancioiu , this is a function i call from onClick button ->
the log of sessionId always is null, what did I comment to you after your answer, i try with the example "ping" of dapp-template |
Thank you for the details 🙏 Do you think you can downgrade the erdjs reference, until dapp-template is updated to use erdjs v10? |
Both |
When i login in my Dapp with web wallet, i can send transactions and can query smart contract with no problems, but when i logged with maiar app, when i try to send transaction to my smart contract the console show me:
Uncaught (in promise) TypeError: transaction.send is not a function
at WalletConnectProvider. (walletConnectProvider.ts:137:1)
I send the transaction with provider like:
provider.sendTransaction(tx);
I use erjs 10.1.0 for my Dapp, but i have this problem... any idea or help?
The text was updated successfully, but these errors were encountered: