-
{title}
-
- {isValidJson ? `${jsonSizeKiB.toFixed(2)} KiB / ${maxSizeKiB} KiB • ${statusText}` : 'Awaiting configuration'}
-
+
+
+
+ genesis.json
+ {isValidJson && (
+
+ {jsonSizeKiB.toFixed(1)} / {maxSizeKiB} KiB
+
+ )}
-
-
+
-
- Download
-
+
+
- {isValidJson && (
-
- )}
{/* JSON Content */}
diff --git a/components/toolbox/components/genesis/SubnetStep.tsx b/components/toolbox/components/genesis/SubnetStep.tsx
index 4a2530b3e0b..7e87763bf26 100644
--- a/components/toolbox/components/genesis/SubnetStep.tsx
+++ b/components/toolbox/components/genesis/SubnetStep.tsx
@@ -2,7 +2,6 @@
import { useState } from "react";
import { Button } from "@/components/toolbox/components/Button";
-import { Input } from "@/components/toolbox/components/Input";
import InputSubnetId from "@/components/toolbox/components/InputSubnetId";
import { useWalletStore } from "@/components/toolbox/stores/walletStore";
import { useConnectedWallet } from "@/components/toolbox/contexts/ConnectedWalletContext";
@@ -37,54 +36,40 @@ export function SubnetStep({ subnetId, onSubnetIdChange }: SubnetStepProps) {
}
return (
-
+
-
Create or Select a Subnet
-
- Create a new Subnet or enter an existing Subnet ID.
+
Subnet
+
+ Create a new Subnet or use an existing one.
- {/* Create New Subnet Option */}
-
-
Create New Subnet
-
-
- Create Subnet
-
-
+
+ Create Subnet
+
-
+
- {/* Use Existing Subnet Option */}
-
-
Use Existing Subnet
-
-
+
);
diff --git a/components/toolbox/console/layer-1/create/CreateChain.tsx b/components/toolbox/console/layer-1/create/CreateChain.tsx
index a55aae3a56d..4fb3b94b2ba 100644
--- a/components/toolbox/console/layer-1/create/CreateChain.tsx
+++ b/components/toolbox/console/layer-1/create/CreateChain.tsx
@@ -87,7 +87,7 @@ function CreateChain({ onSuccess, embedded = false }: CreateChainProps) {
const canCreateChain = canProceedToStep4;
return (
-
+
{/* Step 1: Create Subnet */}
@@ -100,19 +100,16 @@ function CreateChain({ onSuccess, embedded = false }: CreateChainProps) {
{/* Step 2: Chain Configuration */}
-
Chain Configuration
-
+
Chain Configuration
+
Configure your chain name and virtual machine.
{!canProceedToStep2 ? (
-
+
-
- Create or Select a Subnet First
-
- Please complete the subnet selection in Step 1 before proceeding.
+ Complete Step 1 to continue.
@@ -129,21 +126,18 @@ function CreateChain({ onSuccess, embedded = false }: CreateChainProps) {
{/* Step 3: Genesis Configuration */}
-
Genesis Configuration
-
+
Genesis Configuration
+
{vmId === SUBNET_EVM_VM_ID
? "Configure the genesis parameters for your chain."
: "Provide the genesis JSON for your custom virtual machine."}
{!canProceedToStep3 ? (
-
+
-
- Configure Chain First
-
- Please configure your chain name and VM in Step 2 before proceeding.
+ Complete Step 2 to continue.
@@ -163,26 +157,16 @@ function CreateChain({ onSuccess, embedded = false }: CreateChainProps) {
) : (
// For custom VMs, provide a simple JSON input
-
-
-
-
-
Custom Virtual Machine
-
- You're using a custom VM. Please provide your own genesis JSON configuration.
-
-
-
-
+
+ Custom VM selected. Provide your genesis JSON below.
+