# Native wallet integration

We want to ensure a seamless payment and connection experience for users, regardless of the platform they are coming from.

Our website fully supports standard [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) Ethereum provider injection. This means if your mobile application (via WebView) or browser extension injects a standard provider into `window.ethereum`, your users can immediately interact with our dApp without any additional configuration.

#### Partner UI Customization

While standard injection works out-of-the-box, we offer an enhanced integration tier for our partners.

We understand the value of brand consistency. When a user accesses our site specifically through your application's WebView, a generic "Connect Wallet" button may not feel like a native part of the experience.

To solve this, we support UI injection customization. By adding a specific, pre-agreed property (flag) to your injected `window.ethereum` object, our frontend can detect your specific environment.

When detected, we can replace standard buttons like "Connect Wallet" with a customized button tailored to your brand—using your name, logo, and color palette.

**Example**

Instead of a generic connect button, a user opening our site inside the "Trust Wallet" app could see a branded experience like the one below:

<figure><img src="/files/XSxymgYZdQ1MgzHOc3q2" alt=""><figcaption></figcaption></figure>

#### How to Get Started

If you are a wallet provider or have an app with an embedded crypto browser and want to provide this native feel for your users:

1. Contact Us: Reach out to our partnerships team at <hello@fonbnk.com>.
2. Define the Flag: We will agree on a unique string identifier to look for on the `window.ethereum` object (e.g., `window.ethereum.isAlphaWallet = true`).
3. Provide Assets: Send us your preferred button label text, hex color codes, and SVG logo icon.

We will handle the implementation on our end to ensure your users feel right at home when transacting on our platform.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fonbnk.com/widget-integration/native-wallet-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
