CypherDiscuss

From Traxel Wiki
Jump to navigation Jump to search

Nostr Event Mapping

While I am storing my Community in a replaceable event, I am not using them for comments. I will use NIP 10 style responses to mark revisions. This is to preserve the initial signed Note, which may already have responses from other users attached to it.

Adding Divs

var c = document.createDocumentFragment();
for (var i=0; i<10000; i++) {
    var e = document.createElement("div");
    e.className = "test-div";
    c.appendChild(e);
}
document.body.appendChild(c);