Hi,
When I initialize Torus like this:
this.torus = new Torus()
await this.torus.init({
network: {
host: 'matic'
},
showTorusButton: true,
enableLogging: true
})
await this.torus.login()
If I log this.torus.provider
, the chainId is 1 instead of 137.
Only a refresh correctly setup the chainId
Thank you for your help
Originally posted by: benjaminpayoux
Check the discussion at: https://github.com/orgs/Web3Auth/discussions/972