Skip to content

Use OWNER_PUBKEY to build the WoT network - #53

Open
dtonon wants to merge 1 commit into
barrydeen:masterfrom
dtonon:owner-pubkey
Open

Use OWNER_PUBKEY to build the WoT network#53
dtonon wants to merge 1 commit into
barrydeen:masterfrom
dtonon:owner-pubkey

Conversation

@dtonon

@dtonon dtonon commented Sep 19, 2024

Copy link
Copy Markdown

Currently RELAY_PUBKEY is used to build the WoT network, but this is misleading, in fact in the example .env it is stated "not your npub!", but it actually contains the owner (UTXO) pubkey.
Since RELAY_PUBKEY is used for NIP-11 info, make sense to add a OWNER_PUBKEY env and use it to build the WoT network.

The alternative would be to ask the user to follow himself with the relay account, and add a one level to the following discovering; too complex.

@barrydeen

Copy link
Copy Markdown
Owner

I agree that the name is better, but I think most people won't be creating a pubkey for their relays. but now so many people are running it this way it will break their relays if they update :\

@barrydeen

Copy link
Copy Markdown
Owner

I think what i'll do is merge this in for v0.2.0 so relay operators know to at least expect some breaking changes

@dtonon

dtonon commented Sep 19, 2024

Copy link
Copy Markdown
Author

Yes, it is an hassle, but better now than later.
If OWNER_PUBKEY is missing the app crashes explaining the matter.
The next major version seems a good moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants