typeof window.klaytn !== 'undefined'
Baobab Testnet
you can connect to Klaytn's test network.KLAY Faucet
menu.klaytn.isKaikas
.klaytn.networkVersion
tells you which network the user is currently connected to, (main network: 8217, test network: 1001) and klaytn.selectedAddress
gives 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