🪐Near DApps Integration
Welcome to MapNode Extension Wallet Developer Guide. This documentation contains guides for developers to get started developing on MapNode Extension Wallet.
To detect MapNode Extension with Near
if(window.mapnode || window.mapnode.near || window.near?.isMapNode){
console.log('MapNode Extension is installed!');›
}To connect MapNode Extension Wallet
// Connect DApps
window.MapNode.near.connect(<Prefix: optional>,<Contract ID: optional>);
// Get Account
window.MapNode.near.selectedAddress;
// Get Full Accounts State
window.MapNode.near.request({ method: 'near_accountState' });
// Check if DApps connected
window.MapNode.near.isConnected();To disconnect MapNode Extension Wallet
To experience functions
Call View Method
SignAndSend Transaction
To handle events
List of events
Events
Trigger
Method
Description
Last updated