-
- {!connectedWallet && (
-
- )}
-
-
- {connectedWallet && connectorData?.account && (
- <>
-
-
-
Account: {connectorData?.account}
-
-
- {connectedWallet && }
-
-
- Chain:{" "}
- {chainId === constants.StarknetChainId.SN_SEPOLIA
- ? "SN_SEPOLIA"
- : "SN_MAIN"}
-
- {
- if (!lastTransactionHash) return
- window.open(
- `https://sepolia.starkscan.co/tx/${lastTransactionHash}`,
- "_blank",
- )
- }}
- >
- Last tx hash: {lastTransactionHash || "---"}
-
- Tx status: {transactionStatus}
- {transactionError.toString()}
-
-
-
-
-
-
-
-
-
-
- >
- )}
-
- )
+export default function StarknetReactLatest() {
+ return <>todo>
}
diff --git a/src/app/withStarknetReactNext/page.tsx b/src/app/withStarknetReactNext/page.tsx
index 2f39784..cda1bbc 100644
--- a/src/app/withStarknetReactNext/page.tsx
+++ b/src/app/withStarknetReactNext/page.tsx
@@ -1,153 +1,3 @@
-"use client"
-
-import { ConnectButton } from "@/components/ConnectButton"
-import { DeploymentData } from "@/components/DeploymentData"
-import { SessionKeysExecute } from "@/components/SessionKeysExecute"
-import { SessionKeysExecuteOutside } from "@/components/SessionKeysExecuteOutside"
-import { SessionKeysSign } from "@/components/SessionKeysSign"
-import { SessionKeysTypedDataOutside } from "@/components/SessionKeysTypedDataOutside"
-import { provider } from "@/constants"
-import { Status } from "@/types/status"
-import { OffChainSession } from "@argent/x-sessions"
-import { useEffect, useState } from "react"
-import { GatewayError, Signature, constants } from "starknet"
-import { StarknetChainId } from "starknet-types"
-import { StarknetWindowObject, disconnect } from "starknetkit"
-
-export default function Session() {
- const [connectedWallet, setConnectedWallet] = useState<
- StarknetWindowObject | undefined | null
- >(null)
- const [connectorData, setConnectorData] = useState<
- | {
- account?: string
- chainId?: StarknetChainId
- }
- | undefined
- | null
- >(null)
- const [chainId, setChainId] = useState