Add NIP-05 well-known endpoint

This commit is contained in:
Râu Cao
2023-03-18 13:35:02 +07:00
parent c48538a1c6
commit 34e4cec503
3 changed files with 59 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ Rails.application.routes.draw do
get 'keysend/:address', to: 'lnurlpay#keysend',
as: 'lightning_address_keysend', constraints: { address: /[^\/]+/}
get '.well-known/nostr', to: 'well_known#nostr'
post 'webhooks/lndhub', to: 'webhooks#lndhub'
namespace :api do