Help us shape the future of Go! Take the 2026 Go Developer Survey

skydex-client

command
v1.3.104 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

README ΒΆ

SkyDEX - Client UI

SkyDEX - Client application UI - Built with React + Vite + Bootstrap

Features

  • 🎨 Modern design with Skywire color scheme (Navy, White, Blue)
  • πŸ“± Single Page Application (SPA)
  • πŸ”Œ Market connection via dmsg
  • πŸ’° Product listing and SKY buy/sell functionality
  • πŸ“‹ Order management
  • βš™οΈ Wallet settings

Color Scheme

  • Navy: #101F34
  • White: #FFFFFF
  • Blue: #0273FF

Setup

Prerequisites
  • Node.js 18+
  • npm or yarn
Install dependencies
npm install
Run in development mode
npm run dev

Server runs on http://localhost:8787.

Build for production
npm run build

Build files are output to the dist folder.

Embedding in Go Binary

UI files are served embedded in the Go binary:

//go:embed dist/*
var uiFS embed.FS

http.Handle("/", http.FileServer(http.FS(uiFS)))

Project Structure

skydex-client/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ Header.jsx       # Header with connection status
β”‚   β”‚   β”œβ”€β”€ Market.jsx       # Market page
β”‚   β”‚   β”œβ”€β”€ Orders.jsx       # My orders
β”‚   β”‚   └── Settings.jsx     # Settings
β”‚   β”œβ”€β”€ App.jsx              # Main component
β”‚   β”œβ”€β”€ main.jsx             # Entry point
β”‚   └── index.css            # Styles
β”œβ”€β”€ public/
β”œβ”€β”€ dist/                    # Build output
β”œβ”€β”€ package.json
β”œβ”€β”€ vite.config.js
└── index.html

API Integration

This UI communicates with the market app via dmsg. Message structure is JSON-based:

{
  "type": "client.get_products",
  "id": "msg_123",
  "timestamp": 1234567890,
  "data": {}
}

TODO

  • Real dmsg connection
  • Polling for order updates
  • Payment form with non-round amount display
  • Countdown timer for 15-minute windows
  • Error handling and loading states
  • Go backend integration

Documentation ΒΆ

Overview ΒΆ

Package main cmd/apps/skydex-client/main.go

Directories ΒΆ

Path Synopsis
Package commands cmd/apps/skydex-client/commands/auth.go
Package commands cmd/apps/skydex-client/commands/auth.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL