workflow-plugin-crypto

module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT

README

workflow-plugin-crypto

Public Workflow plugin for crypto network provider catalog metadata used by workflow-compute. The catalog package intentionally avoids private module dependencies so this public plugin can build on public CI and be imported by future public tooling.

The plugin currently owns shape-only provider contracts for:

  • BTC full node
  • BCH full node
  • Ethereum full node

Each profile declares the provider contract, network product shape, storage and network guidance, treasury reward routing, and upstream-client image policy.

The public catalog also exposes versioned operational evidence contracts:

  • full-node evidence validates real-client/runtime identity, durable data, service-health, peer-policy, and private-RPC proof without claiming protocol-native rewards;
  • miner evidence is limited to devnet block or pool-share evidence with treasury routing, resource budgets, and stale-share accounting fields;
  • validator evidence requires custody and slashing-risk contract refs before it can validate; and
  • protocol-native reward evidence requires chain reward event, treasury credit, and attribution-policy refs.

Mining, validator, and protocol-native reward roles remain deferred for product activation until host applications consume those contracts and supply the remaining custody, slashing-risk, payout attribution, and treasury-credit controls. Evidence payloads reject raw secret field names and obvious raw secret values; callers must pass secret://... or other host-managed refs instead.

Build & Test

go build ./...
go test ./... -race -count=1

Release

git tag v0.1.0
git push origin v0.1.0

The release workflow validates plugin.json, builds cross-platform binaries with GoReleaser, and verifies the runtime plugin manifest against the shipped contract metadata.

Directories

Path Synopsis
cmd
workflow-plugin-crypto command
Command workflow-plugin-crypto runs as an external workflow plugin and exposes crypto network provider catalog metadata.
Command workflow-plugin-crypto runs as an external workflow plugin and exposes crypto network provider catalog metadata.
Package internal implements the workflow-plugin-crypto plugin.
Package internal implements the workflow-plugin-crypto plugin.

Jump to

Keyboard shortcuts

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