api

module
v0.1.0-beta.1 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 api

Shared wire types for the DDWS ecosystem — the dependency keystone of the api ← node ← provider spine. Pure data contracts only: this module depends exclusively on upstream (pkg.akt.dev/go, cosmos-sdk, cosmossdk.io/*) and never on node or provider.

module github.com/DDWS-com/api

Hosting: github.com/DDWS-com/api — the module path is the repo location, so it is consumed directly (no replace lines):

require github.com/DDWS-com/api v0.1.0-beta.1

While the repo is private, fetches need GOPRIVATE=github.com/DDWS-com plus a netrc token.

Packages

Package Contents
orchestration contract↔provider message envelope + payload DTOs, MsgSubmitOrchestrationResponse tx wire surface (generated pb, codec registration, registered errors, events), pending-messages query envelope
wasm CosmWasm binding schemas (custom query/msg envelopes), message-bus wire types, reputation wasm DTOs
valiporacle vote-extension / oracle-tx wire shapes, contract sudo/query schemas, hard size caps, oracle-tx codec
market/query market order/lease query path helpers shared by the provider

Compatibility rules

  • Wire formats are API. JSON tags, proto message names/field numbers, registered Cosmos error codes (codespace "orchestration"), and contract msg schemas must not change silently. A breaking change is a coordinated version bump across node + provider + contracts.
  • Registered errors live only here — re-registering the same (codespace, code) elsewhere panics at init.
  • Semver: v0.x while stabilising; freezes at v1.0.0.

Build

go build ./... && go vet ./... && go mod verify

CI runs build + vet + gofmt + go mod verify + a full-history gitleaks scan on every push and PR.

License

Apache-2.0 (see LICENSE, NOTICE) — part of the DDWS ecosystem, derived from the Akash Network project.

Directories

Path Synopsis
market
Package orchestration carries the contract↔provider orchestration wire types shared by the DDWS node and provider.
Package orchestration carries the contract↔provider orchestration wire types shared by the DDWS node and provider.

Jump to

Keyboard shortcuts

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