node

module
v0.1.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0

README

DDWS node

The DDWS chain node — a wasmd-enabled Akash fork with chain-driven HA extensions (orchestration message queue, reputation, valiporacle vote-extension oracle). Builds the akash binary.

module github.com/DDWS-com/node

Hosting: github.com/DDWS-com/node — the module path is the repo location. It depends on the published github.com/DDWS-com/api directly (no replace lines).

CI note: GitHub Actions workflows are intentionally not enabled while the repo is privately hosted (cross-repo module auth + metered minutes); verification runs locally in Docker (see Build). The starter-kit workflows return when the repos go public.

Layout

Path Contents
app/ app wiring, wasm querier/messenger, app-level orchestration + message-bus keepers
x/ chain modules: orchestration, reputation, valiporacle, forked market/provider extensions
cmd/akash/ the chain binary (CLI incl. orchestration/valiporacle/HA commands)
upgrades/ upgrade handlers (upgrades/upgrades.go registration)
sdk/, testutil/ fork SDK helpers and test utilities

Wire types live in github.com/DDWS-com/api — node keeps transitional aliases in the historical packages (app/types, x/*/types); new code should import the api module directly. Registered Cosmos errors live only in api (re-registering the same codespace/code panics at init).

Build

Static binary (the release recipe — osusergo,netgo,muslc; checksum-verified libwasmvm_muslc; see Dockerfile):

docker build --secret id=netrc,src=$HOME/.netrc \
  --build-arg VERSION=dev -t ddws-node:dev .

Dev loop:

go build ./... && go vet ./... && go test ./...

(Requires GOPRIVATE=github.com/DDWS-com + a netrc token while the api repo is private.)

Upgrades

Chain upgrade handlers register in upgrades/upgrades.go; adding a handler without registering it there means consensus nodes won't apply it — see the in-file conventions.

License

Apache-2.0 (see LICENSE, NOTICE) — derived from the Akash Network project; per-package DERIVED.md files record upstream provenance.

Directories

Path Synopsis
app
sim
types
Package types provides automation functionality for scheduled contract execution
Package types provides automation functionality for scheduled contract execution
cmd
akash command
sdk
discovery
Package discovery exposes the per-service workload endpoint shape returned by the HA orchestrator contract's `active_provider_endpoints` query, plus formatters that turn that shape into outputs convenient for external consumers (init-containers, traffic sidecars, /etc/hosts writers, Mongo connection-string builders).
Package discovery exposes the per-service workload endpoint shape returned by the HA orchestrator contract's `active_provider_endpoints` query, plus formatters that turn that shape into outputs convenient for external consumers (init-containers, traffic sidecars, /etc/hosts writers, Mongo connection-string builders).
sim
software/v1.0.0
Package v1_0_0 nolint revive
Package v1_0_0 nolint revive
software/v1.1.0
Package v1_1_0 nolint revive
Package v1_1_0 nolint revive
software/v1.2.0
Package v1_2_0 registers the chain upgrade that introduces the x/reputation KV store on existing deployments (fixes multistore "reputation mismatch" when the app binary gains the module without a coordinated store upgrade).
Package v1_2_0 registers the chain upgrade that introduces the x/reputation KV store on existing deployments (fixes multistore "reputation mismatch" when the app binary gains the module without a coordinated store upgrade).
x

Jump to

Keyboard shortcuts

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