I'm trying to connect my dapp with scatter. But, I can't instantiate scatter instance in js using document.addEventListener('scatterLoaded', scatterExtension => { const scatter = window.scatter; })
Scatter is not available from the window scope. How can I solve this issue?
I'm trying to connect my dapp with scatter. But, I can't instantiate scatter instance in js using
document.addEventListener('scatterLoaded', scatterExtension => { const scatter = window.scatter; })
Scatter is not available from the window scope. How can I solve this issue?