S. Ota
_@susumuota.github.io
npub1susu...0yu8
A programmer. An author of nostr-keyx. Interests: Reinforcement Learning, Natural Language Processing and Artificial General Intelligence.
うちのサーバ代 1000 satoshi くらい。ほとんど無料枠内だけど、トークンを保存する Secret Manager がちょっとはみ出てる。


Bluesky アプデ RTA 開始?
NIP-07 には秘密鍵を返す API はないよ🤙
nostr-tools 互換のライブラリを実装したらいくつか nostr-tools のバグを発見してしまったので後で PR 出しておこう。
Vite にライブラリモードというのがあることを発見したので、これで nostr-tools 互換のライブラリを書いている。vitest も導入。これはかなり良さそうな予感。


vitejs
本番環境用のビルド
次世代フロントエンドツール
自家製 nostr-tools 作りにハマっている。誰もが通る道か...
Iris の https://iris.to/settings/backup ここでプロフィールとイベントをバックアップ出来るよ
Test to write to wss://relay.nostrich.land
Snort 22:40 前後の TL を表示するとエラーが出る。
こちらにもまとめておきました。
主要クライアントのデフォルトリレー


nostr
主要クライアントのデフォルトリレー - nostr
主要クライアントのデフォルトリレーと NIP-07 window.nostr.getRelays 対応状況です。 2023/7/10 以降のデフォルトリレ...
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.
https://github.com/susumuota/nostr-keyx/blob/main/src/common.ts#L36
```
{
"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,


Snort
Cyph3rp9nk: Tips for Relays.
Forget about having a thousand and one relays.
The first option is to pay for nostr.wine, it allows you to use the filter.nostr.wine filter.
Snort is a feature-packed, decentralized social media client built on Nostr protocol. Fast, censorship-resistant, and open source. Connect with the...
GitHub
GitHub - MutinyWallet/blastr: A nostr cloudflare workers proxy relay that publishes to all known relays
A nostr cloudflare workers proxy relay that publishes to all known relays - MutinyWallet/blastr

nossence の解除方法
`@nossence #unsubscribe`
と書けば解除できた。subscribe した時と全く同じで `un` をつければ OK。解除した後の通知は特に来なかった。
ソースはこの辺。
https://github.com/dyng/nossence/blob/b8e07f26b94b7332bd7450a615ae5060e43b5510/server/bot/bot.go#L126
primal.net の実験。
NIP-07 の window.nostr.getRelays() を空にして接続すると、 wss://primal.net/cache8 というリレーに接続する。
書き込みすると特にエラーは出ないけど、primal でも snort でも自分の書き込みは表示されない。
NIP-07 の getRelays を設定してる人はほとんど居ないからこれはまずそう。
UI はちゃんとしてるのでがんばってほしい。
とりあえずソースはどこかにあるのかな?
primal は NIP-07 の window.nostr.getRelays() を毎回読みに来てる。逆に kind 3 のリレー設定を見てないかもしれない。一度消して試してみよう。
Hello from primal.net
#[0] #unsubscribe
#[0] #unsubscribe
Arduino IDE 対応のシュノア署名実装がマージされてた。 ESP32, Raspberry Pi Pico で動きました。
https://github.com/micro-bitcoin/uBitcoin/blob/master/examples/schnorr/schnorr.ino
NIP-07 の window.nostr.getRelays() をちゃんとテストして自分でリレーを管理出来るようにしておこう。
