fix(chess): add offchain.pub relay for jester interop

jester.nyo.dev uses offchain.pub as one of its relays. Adding it gives
us 2 shared relays (relay.damus.io + offchain.pub) instead of 1,
improving challenge visibility between Amethyst and Jester clients.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
nrobi144
2026-03-23 08:26:09 +02:00
parent 3eaf3d38a5
commit 677bc6c34a
@@ -30,14 +30,16 @@ import com.vitorpamplona.quartz.nip01Core.relay.normalizer.normalizeRelayUrl
*/
object ChessConfig {
/**
* The 3 main relays for chess events.
* These are used for both fetching and publishing chess events.
* Relays for chess events.
* Includes relays used by jester.nyo.dev (relay.damus.io, offchain.pub)
* and popular community relays for broader reach.
*/
val CHESS_RELAYS =
listOf(
"wss://relay.damus.io",
"wss://nos.lol",
"wss://relay.primal.net",
"wss://offchain.pub",
)
/**
@@ -48,6 +50,7 @@ object ChessConfig {
"relay.damus.io".normalizeRelayUrl(),
"nos.lol".normalizeRelayUrl(),
"relay.primal.net".normalizeRelayUrl(),
"offchain.pub".normalizeRelayUrl(),
)
/**