import { mkBrowserWallet, getInstalledWalletExtensions } from "@marlowe.io/wallet";
import { mkRuntimeLifecycle } from "@marlowe.io/runtime-lifecycle";

const runtimeURL = "<url of the Marlowe runtime>";
const installedWalletExtensions = getInstalledWalletExtensions();

const wallet = await mkBrowserWallet(installedWalletExtensions[0].name);
const runtime = mkRuntimeLifecycle({
runtimeURL,
wallet,
});

General

Renames and re-exports browser