From 335cb991d275fc66f75a1d8a921fc84de19aa02f Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 18 Jun 2024 17:49:52 -0500 Subject: [PATCH] Add a few NIP-011 limitation fields --- src/controllers/nostr/relay-info.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/controllers/nostr/relay-info.ts b/src/controllers/nostr/relay-info.ts index bbce7d34..39224e87 100644 --- a/src/controllers/nostr/relay-info.ts +++ b/src/controllers/nostr/relay-info.ts @@ -16,7 +16,12 @@ const relayInfoController: AppController = async (c) => { software: 'Ditto', version: '0.0.0', limitation: { - // TODO. + auth_required: false, + created_at_lower_limit: 0, + created_at_upper_limit: 2_147_483_647, + max_limit: 100, + payment_required: false, + restricted_writes: false, }, }); };