Skip to main content

Eternl mobile bridge

This function is specifically designed for the Eternl wallet, which necessitates a special configuration to enable mobile support. We highly recommend initializing this function at the earliest possible stage in your app's process.

In the context of ReactJS, you would typically initialize this function within a useEffect hook at an early stage.

initializeBridge()

import { anvil } from "@ada-anvil/sdk-client";

useEffect(() => {
anvil.wallet.initializeBridge();
}, []);