diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 0ec0db1..9615a0c 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -1,4 +1,4 @@
-name: "Deploy ZanoCompanion Test Suit to Github Pages"
+name: "Deploy LetheanCompanion Test Suit to Github Pages"
on:
push:
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..8ba454a
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,25 @@
+# Build + serve: compiles the React/Vite test harness and serves on port 5173
+FROM node:22-alpine AS builder
+
+# pnpm is the declared package manager
+RUN corepack enable && corepack prepare pnpm@latest --activate
+
+WORKDIR /app
+
+COPY package.json pnpm-lock.yaml ./
+RUN pnpm install --frozen-lockfile
+
+COPY . .
+RUN pnpm run build
+
+# Serve the static dist with a minimal HTTP server
+FROM node:22-alpine
+
+RUN npm install -g serve
+
+WORKDIR /app
+
+COPY --from=builder /app/dist ./dist
+
+EXPOSE 5173
+CMD ["serve", "-s", "dist", "-l", "5173"]
diff --git a/index.html b/index.html
index 890edf6..497adca 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
-
zano-companion-testsuit
+ lethean-companion-testsuit
diff --git a/package.json b/package.json
index def060f..2bb4a7d 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "zano-companion-testsuit",
+ "name": "lethean-companion-testsuit",
"private": true,
"version": "0.0.0",
"type": "module",
diff --git a/src/AddWhitelist.tsx b/src/AddWhitelist.tsx
index 9dcbe3f..6ec48eb 100644
--- a/src/AddWhitelist.tsx
+++ b/src/AddWhitelist.tsx
@@ -1,11 +1,11 @@
import { useCallback, useState } from "react";
import type { ASSETS_WHITELIST_ADD_RESPONSE } from "./companion";
-import { useZanoCompanion } from "./companion";
+import { useLetheanCompanion } from "./companion";
import { Group } from "./Group";
import { particlesToValue } from "./utils";
export const AddWhitelist = () => {
- const companion = useZanoCompanion();
+ const companion = useLetheanCompanion();
const [response, setResponse] = useState(null);
const call = useCallback(async () => {
const asset_id = prompt("What asset do you want to add?");
diff --git a/src/AliasDetails.tsx b/src/AliasDetails.tsx
index c837ca9..0936c47 100644
--- a/src/AliasDetails.tsx
+++ b/src/AliasDetails.tsx
@@ -1,10 +1,10 @@
import { useCallback, useState } from "react";
import type { GET_ALIAS_DETAILS_RESPONSE } from "./companion";
-import { useZanoCompanion } from "./companion";
+import { useLetheanCompanion } from "./companion";
import { Group } from "./Group";
export const AliasDetails = () => {
- const companion = useZanoCompanion();
+ const companion = useLetheanCompanion();
const [details, setDetails] = useState(null);
const fetchDetails = useCallback(async () => {
let alias = prompt("What alias are you searching for?");
diff --git a/src/App.tsx b/src/App.tsx
index 3ca5970..d8a4ae1 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,7 +1,7 @@
import "./app.css";
import { AliasDetails } from "./AliasDetails";
-import { ZanoCompanionProvider } from "./companion";
+import { LetheanCompanionProvider } from "./companion";
import { Connector } from "./Connector";
import { CreateAlias } from "./CreateAlias";
import { Credentials } from "./Credentials";
@@ -16,17 +16,17 @@ import { Transfer } from "./Transfer";
import { WalletBalance } from "./WalletBalance";
import { WalletData } from "./WalletData";
import { Whitelist } from "./Whitelist";
-import ZanoLogo from "./zano.svg";
+import LetheanLogo from "./lethean.svg";
export const App = () => {
return (
-
+
Links
@@ -45,7 +45,7 @@ export const App = () => {
-
+
);
diff --git a/src/Connector.tsx b/src/Connector.tsx
index 8dde08e..6beeb63 100644
--- a/src/Connector.tsx
+++ b/src/Connector.tsx
@@ -1,7 +1,7 @@
-import { useZanoCompanionConnect } from "./companion";
+import { useLetheanCompanionConnect } from "./companion";
export const Connector = () => {
- const [status, connect, disconnect] = useZanoCompanionConnect();
+ const [status, connect, disconnect] = useLetheanCompanionConnect();
return (