Files
zeekay 9e49c5c602 warp-relayer: clean-room scaffold (Lux Ecosystem License v1.2)
Lux-native off-chain courier for cross-chain warp messages between
Lux-derived L1s. Asset-bridge teleport only — NOT for validator-set
management (Lux-derived L1s like  manage their validator
set in plain on-chain registry contracts on the same chain, no
courier needed).

Status: scaffold only. Subscriber / aggregator / broadcaster packages
are stubs documenting the intended layout. Real implementation lands
in follow-up commits as the first bridge consumer (likely ICTT
TokenHome/TokenRemote) comes online.

Why a new repo:
  ava-labs/awm-relayer is the obvious upstream reference but its
  Ecosystem License v1.1 restricts use to the Avalanche Public
  Blockchain platform (NetworkID 1 / 5) or non-commercial — fully
  incompatible with commercial Lux-derived L1s. We cannot fork it.
  Clean-room under Lux Ecosystem License v1.2 instead.

Authorized networks per LICENSE § 2(d): any L1/L2/L3 descending from
the Lux Primary Network. Covers , Hanzo, Zoo, Pars, etc.

Trust model: relayer holds NO trust beyond gas payment. Forgery
requires the BLS aggregate, which requires the source L1 validators'
actual sigs — relayer can only pass through what validators sign.

Gas-payer key MUST come from Lux KMS via AccountKeyRef — plaintext
private-key fields intentionally absent from the config schema.

Skeleton layout:
  cmd/warp-relayer/        entry point + flag parsing
  relayer/config/          per-source + per-destination config schema
  relayer/subscriber/      source-L1 event tail (websocket)
  relayer/aggregator/      BLS share collection + aggregation
  relayer/broadcaster/     destination-L1 tx builder + submitter

Composes against luxfi/warp for wire format + crypto primitives;
luxfi/kms for the gas-payer key.

go build ./... clean
go vet ./...   clean
2026-05-30 20:03:15 -07:00

100 lines
3.3 KiB
Plaintext

Lux Ecosystem License
Version 1.2, December 2025
Copyright (c) 2020-2025 Lux Industries Inc.
All rights reserved.
TECHNOLOGY PORTFOLIO - PATENT APPLICATIONS PLANNED
Contact: [email protected]
================================================================================
TERMS AND CONDITIONS
================================================================================
1. DEFINITIONS
"Lux Primary Network" means the official Lux blockchain with Network ID=1
and EVM Chain ID=96369.
"Authorized Network" means the Lux Primary Network, official testnets/devnets,
and any L1/L2/L3 chain descending from the Lux Primary Network.
"Descending Chain" means an L1/L2/L3 chain built on, anchored to, or deriving
security from the Lux Primary Network or its authorized testnets.
"Research Use" means non-commercial academic research, education, personal
study, or evaluation purposes.
"Commercial Use" means any use in connection with a product or service
offered for sale or fee, internal use by a for-profit entity, or any use
to generate revenue.
2. GRANT OF LICENSE
Subject to these terms, Lux Industries Inc grants you a non-exclusive,
royalty-free license to:
(a) Use for Research Use without restriction;
(b) Operate on the Lux Primary Network (Network ID=1, EVM Chain ID=96369);
(c) Operate on official Lux testnets and devnets;
(d) Operate L1/L2/L3 chains descending from the Lux Primary Network;
(e) Build applications within the Lux ecosystem;
(f) Contribute improvements back to the original repositories.
3. RESTRICTIONS
Without a commercial license from Lux Industries Inc, you may NOT:
(a) Fork the Lux Network or any Lux software;
(b) Create competing networks not descending from Lux Primary Network;
(c) Use for Commercial Use outside the Lux ecosystem;
(d) Sublicense or transfer rights outside the Lux ecosystem;
(e) Use to create competing blockchain networks, exchanges, custody
services, or cryptographic systems outside the Lux ecosystem.
4. NO FORKS POLICY
Lux Industries Inc maintains ZERO TOLERANCE for unauthorized forks.
Any fork or deployment on an unauthorized network constitutes:
(a) Breach of this license;
(b) Grounds for immediate legal action.
5. RIGHTS RESERVATION
All rights not explicitly granted are reserved by Lux Industries Inc.
We plan to apply for patent protection for the technology in this
repository. Any implementation outside the Lux ecosystem may require
a separate commercial license.
6. DISCLAIMER OF WARRANTY
THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
7. LIMITATION OF LIABILITY
IN NO EVENT SHALL LUX INDUSTRIES INC BE LIABLE FOR ANY CLAIM, DAMAGES
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE.
8. TERMINATION
This license terminates immediately upon any breach, including but not
limited to deployment on unauthorized networks or creation of forks.
9. GOVERNING LAW
This License shall be governed by the laws of the State of Delaware.