Closed ap-justin closed 2 years ago
@ap-justin you should not use window.xfi.terra
, it's exposed only for debugging. I'd recommend to use library like terra.js
if you don't want to use wallet-provider
. Otherwise you can try to get access to the wallet over window.terraWallets
object, where all available wallets register them self. Try to open console and send request like:
// Expect that only xdefi is available
const connector = window.terraWallets[0].connector();
connector.requestApproval()
@ap-justin you should not use
window.xfi.terra
, it's exposed only for debugging. I'd recommend to use library liketerra.js
if you don't want to usewallet-provider
. Otherwise you can try to get access to the wallet over
Thanks ser - I have used @terra-money/wallet-provider
for terra usage and EIP1193 window.xfi.ethereum
for evm-compatible usage
Hi, I am trying to use xdefi for terra without
@terra-money/wallet-provider
and tries to get address viawindow.xfi.terra.address
but it'sundefined
.steps taken
window.xfi.terra.address
)