Just curious, what's the next step in your repo extraction q...
codonaft
npub1alptdev5srcw2hxg03567p4k6xs3lgj7f6545suc0rzp0xw98svse7rg94
hex
4d0f77f2481ba3885f68719446371ce2b0e0fe237b2d367998327e470d68aaadnevent
nevent1qqsy6rmh7fyphgugta58r9zxxuww9v8qlc3hktfk0xvrylj8p4524tgprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgswls4kuk2gpu89tny8c6d0q6mdrggl5f0ya226gwv833qhn8zncxg9hd5dcKind-1 (TextNote)
↳ 回复 事件不存在
d5a19c20280b455d266b41f270e6f36367c30b1c098c1093b848dcf09e9fecc1...
Just curious, what's the next step in your repo extraction quest after extracting the huge scary site.txt? It appears to be a frontend js without some ready way to load it.
Verification script fails with Error: "publicKey" expected Uint8Array of length 32, got type=string for me. What's the pubkey format expected? Tried hex as txt and as binary. I wouldn't load the pubkey from file at all if possible.
It also fails with ERR_PACKAGE_PATH_NOT_EXPORTED to me unless the following changes are made:
-import { sha256 } from "@noble/hashes/sha2";
-import { schnorr } from "@noble/curves/secp256k1";
+import { sha256 } from "@noble/hashes/sha2.js";
+import { schnorr } from "@noble/curves/secp256k1.js";
Thanks for building the weird thing anyway, it's interesting.
原始 JSON
{
"kind": 1,
"id": "4d0f77f2481ba3885f68719446371ce2b0e0fe237b2d367998327e470d68aaad",
"pubkey": "efc2b6e59480f0e55cc87c69af06b6d1a11fa25e4ea95a439878c41799c53c19",
"created_at": 1775968135,
"tags": [
[
"e",
"d5a19c20280b455d266b41f270e6f36367c30b1c098c1093b848dcf09e9fecc1",
"wss://nos.lol",
"root",
"ea91ee2eff0942115b5515bbdbee1259bcf899f8dc79b33d58524d104e3d5eb5"
],
[
"p",
"ea91ee2eff0942115b5515bbdbee1259bcf899f8dc79b33d58524d104e3d5eb5",
"wss://nos.lol"
],
[
"client",
"nosotros",
"31990:c6603b0f1ccfec625d9c08b753e4f774eaf7d1cf2769223125b5fd4da728019e:1728437063755"
]
],
"content": "Just curious, what's the next step in your repo extraction quest after extracting the huge scary `site.txt`? It appears to be a frontend js without some ready way to load it.\n\nVerification script fails with `Error: \"publicKey\" expected Uint8Array of length 32, got type=string` for me. What's the pubkey format expected? Tried hex as txt and as binary. I wouldn't load the pubkey from file at all if possible.\n\nIt also fails with `ERR_PACKAGE_PATH_NOT_EXPORTED` to me unless the following changes are made:\n\n```patch\n-import { sha256 } from \"@noble/hashes/sha2\";\n-import { schnorr } from \"@noble/curves/secp256k1\";\n+import { sha256 } from \"@noble/hashes/sha2.js\";\n+import { schnorr } from \"@noble/curves/secp256k1.js\";\n```\n\nThanks for building the weird thing anyway, it's interesting.",
"sig": "7fc0c971ae2a808fc90012e815f6ff37b240cb9f72efa6a4a223105b77130021844719711bac68b6762057b4185b9c0cbf0d85abfd4e6c458bf00796c5869069"
}