-
Notifications
You must be signed in to change notification settings - Fork 24
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
TokenUpdateNftsTransaction() returns TypeError #265
Comments
So the root of this issue was related to the Hedera SDK. Could you try with version |
it unfortunately doesn't, @kantorcodes output:
|
Hi! Could you confirm the full code snippet on your end as well as the packages you're using? You'll need the latest hashgraph SDK and canary release
|
Hi @nadineloepfe I've added an example in this PR to demonstrate the TokenUpdateTransaction is working: https://github.com/hashgraph/hedera-wallet-connect/pull/362/files Please take a look and see if you are able to get this working. In the meantime, I am closing this out. Feel free to reopen if you are still having issues. |
Describe the bug
I'm trying to run a TokenUpdateNftsTransaction() with WalletConnect and I'm running into this TypeError (see screenshot).
This only happens when using the signer/provider from WalletConnect – when testing this step with const client = Client.forTestnet().setOperator(operatorId, operatorKey) then it is successful in updating the metadata.
for ref - I've tried multiple versions of the syntax, all of them failing with the same error:
as well as:
it's always breaking at await signedUpdateTx.executeWithSigner(signer);
I am suspecting this may be an issue with WalletConnect.
Given this is a new transaction type it may be the wallet doesn’t support it yet.
To Reproduce Steps to reproduce the behavior:
Example program to reproduce issue with one click (update-nft-metadata-e2e branch)
2. Example Program if pre-minted token shall be used (update-nft-metadata branch)
3. Gist
Expected behavior
Metadata updating successfully
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: