mirror of
https://github.com/luxfi/relay.git
synced 2026-10-30 15:20:05 +00:00
Two surfaces in one repo:
vm/ — chain VM (R-Chain). luxd plugin host for the consensus + state
layer of cross-chain channels. Source of truth for verified
messages.
cmd/relayd — standalone operator daemon (no luxd validator required).
HTTP API at :7700 (health, status, channels, messages, trigger).
Polls the relayvm RPC and dispatches verified messages to dest.
The chain VM is the security boundary; relayd is just the courier.
Same operational shape as mpcd/kms — operator runs the daemon, validators
run the chain VM via the (existing) luxfi/node chains/relayvm plugin.
Build (GOWORK=off): exit 0
18 lines
188 B
Makefile
18 lines
188 B
Makefile
.PHONY: build test fmt vet daemon
|
|
|
|
GO := go
|
|
|
|
build: daemon
|
|
|
|
daemon:
|
|
$(GO) build -o bin/relayd ./cmd/relayd
|
|
|
|
test:
|
|
$(GO) test -count=1 ./...
|
|
|
|
vet:
|
|
$(GO) vet ./...
|
|
|
|
fmt:
|
|
$(GO) fmt ./...
|