<!-- Canonical: https://docs.linea.build/network/build/tools/cross-chain/thirdweb -->

> For the complete Linea documentation index, see [llms.txt](/llms.txt).
> Agents can fetch this page as Markdown at [https://docs.linea.build/network/build/tools/cross-chain/thirdweb.md](https://docs.linea.build/network/build/tools/cross-chain/thirdweb.md).

# Thirdweb Universal Bridge

[Universal Bridge](https://thirdweb.com/connect/universal-bridge) is a comprehensive web3 payment solution to help you monetize any app or game.

With Universal Bridge, your users can onramp, bridge, and swap on any EVM chain — with any EVM token or fiat — thanks to its automatic cross-chain routing.

Plus, developers can earn from day one using the fee-sharing mechanism and its easy implementation.

## Features

-   Let users pay for assets in any EVM token on any EVM chain
-   Automatic cross-chain routing for seamless transactions
-   Earn from day one with the fee-sharing mechanism
-   Access a ready-made UI component for easy implementation

Learn more in the [Universal Bridge documentation](https://portal.thirdweb.com/connect/pay/overview).

## Get started

See the [thirdweb documentation](https://portal.thirdweb.com/connect/pay/get-started) to get started with Universal Bridge.

## See Universal Bridge in action

Want to see how Universal Bridge works? Check it out under the hood with this example:

```jsx
import { createThirdwebClient } from "thirdweb";
import { PayEmbed } from "thirdweb/react";

import { createWallet } from "thirdweb/wallets";
import { linea } from "thirdweb/chains";

const client = createThirdwebClient({
  clientId: "....",
});

function Example() {
  return (
    <PayEmbed
      client={client}
      payOptions={{
        mode: "fund_wallet",
        prefillBuy: {
          chain: linea,
          amount: "0.01",
        },
      }}
    />
  );
}
```

[See how the Buy Crypto flow works in the playground](https://playground.thirdweb.com/connect/pay).
