Skip to main content
All CollectionsDevelopers
Integrating dApps
Integrating dApps

Learn how to integrate your dApp with Hana Wallet, enabling multi-chain support for both EVM and non-EVM protocols.

David avatar
Written by David
Updated over a week ago

Hana simplifies multi-chain integration for dApps, offering seamless support for a growing list of protocols. Whether you're developing on ICON, Ethereum, or other compatible blockchains, Hana provides an easy and efficient way to connect your dApp to multiple chains.

Detecting if Hana is Installed

Before integrating your dApp with Hana, it’s essential to check if Hana Wallet is installed and available in the user’s environment. Here’s how you can detect Hana's presence:

if (window.hanaWallet?.available) { 
// Hana is available
console.log(window.hanaWallet.version);
// Example output:
2.2.1
}

The window.hanaWallet?.available check determines if Hana Wallet is accessible in the current browser environment. If Hana is installed, you can proceed with integration, and the wallet version can be logged or used for further checks.

Integrating with Hana via Protocols

Once Hana is detected, you can integrate your dApp with Hana through various protocols. Hana supports multiple blockchain ecosystems, making it a versatile choice for multi-chain dApps. Below are some of the protocols Hana supports:

Why Choose Hana for Your dApp?

  • Multi-Chain Support: Hana’s ability to support ICON, EVM, and Substrate protocols makes it a powerful tool for developers looking to build multi-chain dApps.

  • Ease of Integration: With simple detection methods and broad compatibility with existing tools like Web3.js and Polkadot.js, integrating Hana into your dApp is straightforward.

  • User-Friendly Experience: Hana’s intuitive interface and robust functionality provide a seamless experience for users, helping to increase engagement with your dApp.

Integrating your dApp with Hana Wallet unlocks the potential for multi-chain functionality, making it easier to reach a broader audience across various blockchain ecosystems.

Whether you're developing on ICON, Ethereum, Substrate, or other compatible protocols, Hana provides the tools and support you need for a successful integration.

Need Help?

If you have any questions or need further assistance, visit our Support Center for more articles and resources, or contact our support team.

Did this answer your question?