mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
Mirrors the luxfi/explorer pattern: cmd/bridge/main.go embeds the SPA build via go:embed and exposes /v1/bridge/* on a single port. Read paths (networks, tokens, exchanges, limits) are answered natively from a YAML config — no Postgres. MPC-heavy paths (quote, rate, swaps, explorer) reverse-proxy to the legacy Node backend until the native port lands. Image: cmd/bridge/Dockerfile produces ~25 MB distroless. Config: cmd/bridge/networks.example.yaml. Migration target: Hanzo Base (SQLite) + luxfi/mpc direct calls.
5 lines
360 B
Plaintext
5 lines
360 B
Plaintext
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
|
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
|
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
|
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|