Closed sonnguyenwax closed 3 months ago
@sonnguyenwax , cc: @porkchop I wonder if we still need an extra method to switch chain on demand so that Dapp wont have to reconstruct?
@thien-hoang-opskins setupChain function can be call to switch chain, as it's reusable for that case
setupChain function can be call to switch chain, as it's reusable for that case
@sonnguyenwax but Dapp have to reinitialize this.signingApi in that case as well beause this.rpc would have been updated
Let's add a section Switching Blockchains
and add the new configuration variables to the usage explanation with descriptions in the Readme.
The switching blockchains section should also show how to get the chains that are available for switching to
@sonnguyenwax , cc: @porkchop I wonder if we still need an extra method to switch chain on demand so that Dapp wont have to reconstruct?