├── .github ├── pull_request_template.md └── workflows │ ├── checks.yml │ └── release.yaml ├── .gitignore ├── .golangci.yaml ├── AGENTS.md ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── adapters ├── database │ ├── service.go │ ├── service_test.go │ └── types.go └── secrets │ └── service.go ├── application ├── config_test.go ├── config_utils.go └── service.go ├── cmd └── httpserver │ └── main.go ├── common ├── logging.go ├── utils.go └── vars.go ├── docker ├── database │ └── Dockerfile ├── docker-compose.yaml ├── httpserver │ └── Dockerfile └── mock-proxy │ ├── Dockerfile │ └── nginx-default.conf ├── docs ├── api-docs │ ├── README.md │ ├── admin-api │ │ ├── Add measurements.bru │ │ ├── Add new builder.bru │ │ ├── Disable builder.bru │ │ ├── Enable builder.bru │ │ ├── Enable measurement.bru │ │ ├── Get Builders v2.bru │ │ ├── Get Builders.bru │ │ ├── Get configuration.bru │ │ ├── Update builder config.bru │ │ ├── Update secrets config.bru │ │ ├── bruno.json │ │ └── collection.bru │ └── instance-api │ │ ├── BuilderHub Instance API │ │ ├── Get measurements.bru │ │ ├── Get peers.bru │ │ ├── Register credentials.bru │ │ └── bruno.json │ │ └── Get measurements.bru └── devenv-setup.md ├── domain ├── inmemory_secret.go └── types.go ├── go.mod ├── go.sum ├── httpserver ├── auth_middleware_test.go ├── doc.go ├── e2e_test.go ├── handler.go ├── handler_test.go ├── server.go └── vars.go ├── metrics ├── metrics.go ├── middleware.go └── server.go ├── ports ├── admin_handler.go ├── http_handler.go ├── types.go └── types_test.go ├── schema ├── 000_init.sql ├── 001_measurement_constraints.sql ├── 002_network_builder.sql └── 003_builder_dns_name.sql ├── scripts └── ci │ ├── README.md │ ├── e2e-test.hurl │ └── integration-test.sh ├── staticcheck.conf └── testdata ├── get-builders.json ├── get-configuration.json └── get-measurements.json /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/checks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/.github/workflows/checks.yml -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/.golangci.yaml -------------------------------------------------------------------------------- /AGENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/AGENTS.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | docker/httpserver/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/README.md -------------------------------------------------------------------------------- /adapters/database/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/adapters/database/service.go -------------------------------------------------------------------------------- /adapters/database/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/adapters/database/service_test.go -------------------------------------------------------------------------------- /adapters/database/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/adapters/database/types.go -------------------------------------------------------------------------------- /adapters/secrets/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/adapters/secrets/service.go -------------------------------------------------------------------------------- /application/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/application/config_test.go -------------------------------------------------------------------------------- /application/config_utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/application/config_utils.go -------------------------------------------------------------------------------- /application/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/application/service.go -------------------------------------------------------------------------------- /cmd/httpserver/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/cmd/httpserver/main.go -------------------------------------------------------------------------------- /common/logging.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/common/logging.go -------------------------------------------------------------------------------- /common/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/common/utils.go -------------------------------------------------------------------------------- /common/vars.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/common/vars.go -------------------------------------------------------------------------------- /docker/database/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docker/database/Dockerfile -------------------------------------------------------------------------------- /docker/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docker/docker-compose.yaml -------------------------------------------------------------------------------- /docker/httpserver/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docker/httpserver/Dockerfile -------------------------------------------------------------------------------- /docker/mock-proxy/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docker/mock-proxy/Dockerfile -------------------------------------------------------------------------------- /docker/mock-proxy/nginx-default.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docker/mock-proxy/nginx-default.conf -------------------------------------------------------------------------------- /docs/api-docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/README.md -------------------------------------------------------------------------------- /docs/api-docs/admin-api/Add measurements.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/Add measurements.bru -------------------------------------------------------------------------------- /docs/api-docs/admin-api/Add new builder.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/Add new builder.bru -------------------------------------------------------------------------------- /docs/api-docs/admin-api/Disable builder.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/Disable builder.bru -------------------------------------------------------------------------------- /docs/api-docs/admin-api/Enable builder.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/Enable builder.bru -------------------------------------------------------------------------------- /docs/api-docs/admin-api/Enable measurement.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/Enable measurement.bru -------------------------------------------------------------------------------- /docs/api-docs/admin-api/Get Builders v2.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/Get Builders v2.bru -------------------------------------------------------------------------------- /docs/api-docs/admin-api/Get Builders.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/Get Builders.bru -------------------------------------------------------------------------------- /docs/api-docs/admin-api/Get configuration.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/Get configuration.bru -------------------------------------------------------------------------------- /docs/api-docs/admin-api/Update builder config.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/Update builder config.bru -------------------------------------------------------------------------------- /docs/api-docs/admin-api/Update secrets config.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/Update secrets config.bru -------------------------------------------------------------------------------- /docs/api-docs/admin-api/bruno.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/bruno.json -------------------------------------------------------------------------------- /docs/api-docs/admin-api/collection.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/admin-api/collection.bru -------------------------------------------------------------------------------- /docs/api-docs/instance-api/BuilderHub Instance API/Get measurements.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/instance-api/BuilderHub Instance API/Get measurements.bru -------------------------------------------------------------------------------- /docs/api-docs/instance-api/BuilderHub Instance API/Get peers.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/instance-api/BuilderHub Instance API/Get peers.bru -------------------------------------------------------------------------------- /docs/api-docs/instance-api/BuilderHub Instance API/Register credentials.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/instance-api/BuilderHub Instance API/Register credentials.bru -------------------------------------------------------------------------------- /docs/api-docs/instance-api/BuilderHub Instance API/bruno.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/instance-api/BuilderHub Instance API/bruno.json -------------------------------------------------------------------------------- /docs/api-docs/instance-api/Get measurements.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/api-docs/instance-api/Get measurements.bru -------------------------------------------------------------------------------- /docs/devenv-setup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/docs/devenv-setup.md -------------------------------------------------------------------------------- /domain/inmemory_secret.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/domain/inmemory_secret.go -------------------------------------------------------------------------------- /domain/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/domain/types.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/go.sum -------------------------------------------------------------------------------- /httpserver/auth_middleware_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/httpserver/auth_middleware_test.go -------------------------------------------------------------------------------- /httpserver/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/httpserver/doc.go -------------------------------------------------------------------------------- /httpserver/e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/httpserver/e2e_test.go -------------------------------------------------------------------------------- /httpserver/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/httpserver/handler.go -------------------------------------------------------------------------------- /httpserver/handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/httpserver/handler_test.go -------------------------------------------------------------------------------- /httpserver/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/httpserver/server.go -------------------------------------------------------------------------------- /httpserver/vars.go: -------------------------------------------------------------------------------- 1 | package httpserver 2 | -------------------------------------------------------------------------------- /metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/metrics/metrics.go -------------------------------------------------------------------------------- /metrics/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/metrics/middleware.go -------------------------------------------------------------------------------- /metrics/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/metrics/server.go -------------------------------------------------------------------------------- /ports/admin_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/ports/admin_handler.go -------------------------------------------------------------------------------- /ports/http_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/ports/http_handler.go -------------------------------------------------------------------------------- /ports/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/ports/types.go -------------------------------------------------------------------------------- /ports/types_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/ports/types_test.go -------------------------------------------------------------------------------- /schema/000_init.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/schema/000_init.sql -------------------------------------------------------------------------------- /schema/001_measurement_constraints.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/schema/001_measurement_constraints.sql -------------------------------------------------------------------------------- /schema/002_network_builder.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/schema/002_network_builder.sql -------------------------------------------------------------------------------- /schema/003_builder_dns_name.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE builders 2 | ADD COLUMN dns_name TEXT; 3 | -------------------------------------------------------------------------------- /scripts/ci/README.md: -------------------------------------------------------------------------------- 1 | API tests using https://hurl.dev -------------------------------------------------------------------------------- /scripts/ci/e2e-test.hurl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/scripts/ci/e2e-test.hurl -------------------------------------------------------------------------------- /scripts/ci/integration-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/scripts/ci/integration-test.sh -------------------------------------------------------------------------------- /staticcheck.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/staticcheck.conf -------------------------------------------------------------------------------- /testdata/get-builders.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/testdata/get-builders.json -------------------------------------------------------------------------------- /testdata/get-configuration.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/testdata/get-configuration.json -------------------------------------------------------------------------------- /testdata/get-measurements.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/builder-hub/HEAD/testdata/get-measurements.json --------------------------------------------------------------------------------