Getting Started
Getting Started with Sender Wallet
Once Sender is installed and running, you will find that newly opened browser tabs have a
window.near
or window.sender
object available in the developer console. Your website now can interact with Sender via the object.To verify if the browser has installed Sender Wallet for Near chain, you can copy and paste the code snippet below in the developer console of your web browser:
// For near chain
if (typeof window.near !== 'undefined' && window.near.isSender) {
console.log('Sender is installed!');
}
- Guest Book: coming soon
To verify if the browser has installed Sender Wallet for above version 2.0.0, you can copy and paste the code snippet below in the developer console of your web browser:
// 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!');
}
Last modified 5mo ago