typeof window.klaytn !== 'undefined'
Baobab Testnetyou can connect to Klaytn's test network.
klaytn.networkVersiontells you which network the user is currently connected to, (main network: 8217, test network: 1001) and
klaytn.selectedAddressgives you the account address the user is logged in.
klaytn.selectedAddress. Also, if you’d like to be notified when the address changes, you can subscribe via