virto-network / virto-sdk

Virto toolset to build simple to use decentralized applications
GNU General Public License v3.0
21 stars 5 forks source link

Err(BadInput) Error when using the query_balance example with Dioxus and Sube #39

Closed b-avb closed 3 months ago

b-avb commented 8 months ago

I've encountered a problem when trying to execute the query_balance example using Dioxus, where I'm met with the Err(BadInput) error.

To provide more context, when executing the same example in Sube with the command cargo run --example query_builder, it works correctly without errors. However, the problem arises when attempting to execute the example with JavaScript support using the command cargo run --example query_balance --features js. Doing so, I come across the following line of code, which seems to be related to the issue: use http_client::wasm::WasmClient as DefaultClient;.