Getting Started
Getting Started with Sender Wallet
Last updated
// For version 2.0.0 and above, you can use window.sender.near to interact with near chain,
// but you can still use window.near api to connect near chain.
if (typeof window.sender !== 'undefined' && window.sender.near) {
console.log('Sender is installed!');
}
// For ethereum chain
if (typeof window.sender !== 'undefined' && window.sender.ethereum) {
console.log('Sender is installed!');
}