diff --git a/README.md b/README.md index e58c3c7..b23fc5a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # testnet-onboarding-app -React app for onboarding participants to laconicd chain with Ethereum/Cosmos key attestation +React app for onboarding participants to laconicd chain with Nitro/Cosmos key attestation ## Setup for testnet-onboarding-app diff --git a/package.json b/package.json index dbcc5c0..fbee887 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "dependencies": { - "@cerc-io/registry-sdk": "^0.2.1", + "@cerc-io/registry-sdk": "^0.2.2", "@cosmjs/stargate": "^0.32.4", "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.0", diff --git a/src/App.tsx b/src/App.tsx index 1e5cc2a..50c6eac 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,7 +2,7 @@ import React from "react"; import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; import ConnectWallet from "./pages/ConnectWallet"; -import SignWithEthereum from "./pages/SignWithEthereum"; +import SignWithNitroKey from "./pages/SignWithNitroKey"; import SignWithCosmos from "./pages/SignWithCosmos"; import PageNotFound from "./pages/PageNotFound"; import OnboardingSuccess from "./pages/OnboardingSuccess"; @@ -16,7 +16,7 @@ function App() { } /> }> - } /> + } /> } diff --git a/src/pages/ConnectWallet.tsx b/src/pages/ConnectWallet.tsx index c54a46a..53b2c9f 100644 --- a/src/pages/ConnectWallet.tsx +++ b/src/pages/ConnectWallet.tsx @@ -12,7 +12,7 @@ const ConnectWallet = () => { useEffect(() => { if (session) { - navigate("/sign-with-ethereum"); + navigate("/sign-with-nitro-key"); } }, [session, navigate]); diff --git a/src/pages/SignWithEthereum.tsx b/src/pages/SignWithNitroKey.tsx similarity index 94% rename from src/pages/SignWithEthereum.tsx rename to src/pages/SignWithNitroKey.tsx index 5a3b5f2..038fda2 100644 --- a/src/pages/SignWithEthereum.tsx +++ b/src/pages/SignWithNitroKey.tsx @@ -14,7 +14,7 @@ import { utf8ToHex } from "@walletconnect/encoding"; import { useWalletConnectContext } from "../context/WalletConnectContext"; -const SignWithEthereum = () => { +const SignWithNitroKey = () => { const { session, signClient, checkPersistedState } = useWalletConnectContext(); @@ -78,7 +78,7 @@ const SignWithEthereum = () => { gap: "10px", }} > - Sign with ethereum key + Sign with Nitro key Select Cosmos account: - Select Ethereum account: + Select Nitro account: