From be1ff30c5ca4130aae7883b1d26aad0f19506311 Mon Sep 17 00:00:00 2001 From: degenrocket Date: Sun, 5 Nov 2023 23:59:20 +0000 Subject: [PATCH] update nip-110: change MIT license to CC0 --- 110.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/110.md b/110.md index d96b47bc..cc88e9be 100644 --- a/110.md +++ b/110.md @@ -16,24 +16,24 @@ Another problem is that some users want to use different licenses for different ### Solution -The easiest solution for this problem is to add a license to each signed event in accordance with the [SPASM](https://github.com/degenrocket/spasm) specification. +The easiest solution for this problem is to add a permissive license (CC0, MIT) to each signed event in accordance with the [SPASM](https://github.com/degenrocket/spasm) specification. -Then relays and clients can check whether events have an MIT license or any other license and choose whether to display/distribute such events or not. +Then relays and clients can check whether events have the CC0 license or any other license and choose whether to display/distribute such events or not. -While adding a dedicated license field (e.g., `"license":"MIT"`) would be ideal, the easiest solution with backwards-compatibility is to add a license as a tag. +While adding a dedicated license field (e.g., `"license":"CC0"`) would be ideal, the easiest solution with backwards-compatibility is to add a license as a tag. ```js tags: [ [ "license", - "MIT" + "CC0" ] ] ``` ### Implementation -Here is an example of adding an MIT license to each Nostr event as a tag. +Here is an example of adding the Creative Commons Zero (CC0) license, a permissive alternative to the MIT license applied to general text, to each Nostr event as a tag. ```js let nostrEvent = { @@ -42,7 +42,7 @@ let nostrEvent = { tags: [ [ "license", - "MIT" + "CC0" ] ], content: "not your keys, not your words",