S. Ota's avatar
S. Ota
_@susumuota.github.io
npub1susu...0yu8
A programmer. An author of nostr-keyx. Interests: Reinforcement Learning, Natural Language Processing and Artificial General Intelligence.
S. Ota's avatar
s_ota 2 years ago
また Iris が勝手にリレーをいじってくれたので手動で直した。ボタン押すと NIP-07 の getRelays の内容をリレーに送信する機能を追加しておこう。
S. Ota's avatar
s_ota 2 years ago
明日は多分のすタコ T シャツで行きます。
S. Ota's avatar
s_ota 2 years ago
S. Ota's avatar
s_ota 2 years ago
うちのサーバ代 1000 satoshi くらい。ほとんど無料枠内だけど、トークンを保存する Secret Manager がちょっとはみ出てる。 image
S. Ota's avatar
s_ota 2 years ago
Bluesky アプデ RTA 開始?
S. Ota's avatar
s_ota 2 years ago
NIP-07 には秘密鍵を返す API はないよ🤙
S. Ota's avatar
s_ota 2 years ago
nostr-tools 互換のライブラリを実装したらいくつか nostr-tools のバグを発見してしまったので後で PR 出しておこう。
S. Ota's avatar
s_ota 2 years ago
自家製 nostr-tools 作りにハマっている。誰もが通る道か...
S. Ota's avatar
s_ota 2 years ago
Test to write to wss://relay.nostrich.land
S. Ota's avatar
s_ota 2 years ago
Snort 22:40 前後の TL を表示するとエラーが出る。
S. Ota's avatar
s_ota 2 years ago
I collected the default relays of several major Nostr clients (Damus, Snort, Iris, Amethyst and Coracle) from their source code. And made a minimal relay list to cover all of them. Here's a list of my recommendations and default relays of major clients as of 2023-03-28. ``` { "wss://relay.damus.io": { "read": true, "write": true }, "wss://nos.lol": { "read": true, "write": true }, "wss://relay.snort.social": { "read": true, "write": true }, "wss://nostr.wine": { "read": true, "write": false }, "wss://relay.nostrich.land": { "read": true, "write": false }, "wss://universe.nostrich.land": { "read": true, "write": false }, "wss://nostr.mutinywallet.com": { "read": false, "write": true }, "wss://relay.nostr.band": { "read": false, "write": false } } ``` See also, image
S. Ota's avatar
s_ota 2 years ago
primal.net の実験。 NIP-07 の window.nostr.getRelays() を空にして接続すると、 wss://primal.net/cache8 というリレーに接続する。 書き込みすると特にエラーは出ないけど、primal でも snort でも自分の書き込みは表示されない。 NIP-07 の getRelays を設定してる人はほとんど居ないからこれはまずそう。 UI はちゃんとしてるのでがんばってほしい。 とりあえずソースはどこかにあるのかな?
S. Ota's avatar
s_ota 2 years ago
primal は NIP-07 の window.nostr.getRelays() を毎回読みに来てる。逆に kind 3 のリレー設定を見てないかもしれない。一度消して試してみよう。