Open ysfkel opened 1 month ago
Hey @ysfkel can you tell me which version of @stellar/stellar-sdk you are using in your project? It's probably a mismatch between the version you are using and the version @soroban-react is using. @soroban-react is currently a bit late and still using the v11.3.0. We should update the version on our side soon @esteblock , but in the mean time @ysfkel you can try to match the version and use v11.3.0.
@esteblock I think this is an example of why we should expose the helper methods as part of @soroban-react and remove the need for having the @stellar/stellar-sdk package in the frontend to avoid mismatch with breaking changes.
``
Hey @ysfkel can you tell me which version of @stellar/stellar-sdk you are using in your project? It's probably a mismatch between the version you are using and the version @soroban-react is using. @soroban-react is currently a bit late and still using the v11.3.0. We should update the version on our side soon @esteblock , but in the mean time @ysfkel you can try to match the version and use v11.3.0.
@esteblock I think this is an example of why we should expose the helper methods as part of @soroban-react and remove the need for having the @stellar/stellar-sdk package in the frontend to avoid mismatch with breaking changes.
Hey @benjaminsalon ,thanks for the response, I tried v11.3.0 however, I got thesame error
Getting the following error when I call the
add_account
function in the below contract . The function takes a address argument, so from the react app, when i convert the address to ScVal using StellarSdk.Address, I get the error . I get thesame error when I try to call a simple contract that takes a simple i128 value . How do I convert javascipt types from a react app to scVal the corret way ?Contract
I also get exactly thesame error when i try to call a contract function which accepts a i128
Contract
@esteblock , @mauroepce , @benjaminsalon , @rdevperu , @paulbellamy @joaquinsoza , @abstract829 , @sreuland , @chopan123 @tsachiherman