Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
routstrについて
Search
Hakkadaikon
November 26, 2025
Technology
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
routstrについて
AI関連プロトコル勉強会 No.1 で発表した内容
https://428lab.connpass.com/event/374766/
Hakkadaikon
November 26, 2025
More Decks by Hakkadaikon
See All by Hakkadaikon
Just do it ! で 走り抜けてきたけど ちょっと立ち止まってみた
hakkadaikon
0
890
自作WebSocket (RFC6455)
hakkadaikon
0
150
Nostr x BTC
hakkadaikon
0
69
Blueskyのプラグインを作ってみた
hakkadaikon
1
850
PHP x Nostr
hakkadaikon
0
180
Emacs x Nostr
hakkadaikon
2
420
My Introduction To Nostr
hakkadaikon
0
260
Nostr × C#
hakkadaikon
0
260
思考の速さで使うクライアント ~vimクライアント作ってみた~
hakkadaikon
0
520
Other Decks in Technology
See All in Technology
発表と総括 / Presentations and Summary
ks91
PRO
0
190
インシデント事例と パッケージの全量解析に学ぶ ソフトウェアサプライチェーンの守り方 / supply-chain-attack-defense
flatt_security
0
890
ファミコンでPHPを動かす / PHP on the Famicom
tomzoh
2
600
Amazon Quick 入門!
ysuzuki
2
130
SoccerMaster: A Vision Foundation Model for Soccer Understanding
kzykmyzw
0
160
伝票作成AIエージェントを支える、LLMOpsとインフラの選択肢 / AICon2026_takeda
rakus_dev
0
260
【公開用】AI_Dev_Ex2026_AI_登壇資料
matsuritechnologies
PRO
1
470
[Droidcon Orlando '26] The Android Lens: Applying Mobile Forensics to AI Performance
amanda_hinchman
1
110
プロダクト開発組織の現在地(Ver.2026/07) / product-organization
kaonavi
0
390
AICoEでAIネイティブ組織への進化
yukiogawa
0
210
Network Firewallやっていき!
news_it_enj
0
260
『モデル + ハーネス』で読み解く AIエージェント入門
oracle4engineer
PRO
2
160
Featured
See All Featured
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.4k
Designing for humans not robots
tammielis
254
26k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
240
Testing 201, or: Great Expectations
jmmastey
46
8.2k
How to make the Groovebox
asonas
2
2.3k
Building Applications with DynamoDB
mza
96
7.1k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
230
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
How to build a perfect <img>
jonoalderson
1
5.8k
Product Roadmaps are Hard
iamctodd
55
12k
The Spectacular Lies of Maps
axbom
PRO
1
870
Transcript
None
自己紹介
名前 : 発火大根 職業 : SRE 趣味 : SNSで穀潰し Nostrというプロトコルが好き。Do
Nostr 自己紹介
・ちょっとだけNostr知ってる人 ・ちょっとだけBitcoin知ってる人 ・AIの分散プロトコルに興味ある人 このスライドの対象
超ざっくりした Nostrのおさらい
Nostrについて① EVENTをブロードキャストする分散プロトコル
Nostrについて② パスワードではなく 楕円曲線暗号による 公開鍵認証 公開鍵 秘密鍵
Nostrについて③ BitcoinのL2 (LightningNetwork) による投げ銭 (Zap)
今日紹介するやつ Routstr
その前に…
OpenRouterについて 軽く説明
①LLMのルーティングをしてくれる APIもあるよ
②決済手段が多い/暗号資産決済できる
直接暗号資産決済出来るメリット ・個人情報を渡さなくてよい ・分散してて基本的に潰れない
Routstr OpenRouterの 分散アーキテクチャ版
RoutstrとOpenRouterの主な違い 1. オープンソース 2. 分散アーキテクチャ 3. 決済方法 (Lightning決済、Cashu)
Cashuって何?
Cashu ・BTCの決済プロトコルの1つ ・ユーザはmintサーバで BTC <-> ecashトークンを交換 ・mintサーバ同士は Lightning でやりとり ・ブラインド署名で
誰が誰に送金したか mint サーバーは分からない
オープンソース ・Routstrのノード実装 ・クライアント ・プロトコル(RIP) が公開
Routstrの しくみ
登場人物 Routstr node LLMプロキシ LLM mint BTC<->ecashトークン を交換するサーバ User AIエージェント
的なアレ Nostr relay みんな知ってるアレ
Routstr node User Bitcoin (Lightning決済) or Cachu で送金してデポジット
Routstr node User mint Cachuプロトコルで mintサーバにデポジット
Routstr node User OpenAI互換のAPI発行
Routstr node User DB 使った分をDBに記録して 覚えておく
Routstr node User LLM LLMにリクエストを投げつけ、 応答を返す
Routstr node User LLM デポジット・ LLMのリクエスト/ レスポンス mint LLMの リクエスト・
レスポンス Cachuで デポジット まとめ
ん? ここまでNostr つかってなくね?
まあ まってください
Routstr node Nostr Relay Routstrは Nostrリレーに定期的に 状態送信している Nostr Relay Nostr
Relay
Nostr Relay Nostr Relay Nostr Relay Routstrノードの ディスカバリー/ 応答
ディスカバリーできるEVENTは2種類ある ・Kind: 38421 プロバイダ情報 ・Kind: 38000: 誰かが推薦したプロバイダ
ディスカバリーできるEVENTは2種類ある Kind: 38421: プロバイダ情報
ディスカバリーできるEVENTは2種類ある Kind: 38000: 誰かが推薦したプロバイダ
ユーザーはプロバイダ(Routstrノード)を… ・プロバイダ情報を見て自分で決める ・誰かのレコメンド情報を見て決める の二つを選べる!
Routstr node User LLM デポジット・ LLMのリクエスト/レスポンス mint LLMのリクエスト・レスポンス Cachuでデポジット まとめ
Nostr Relay Nostr Relay Nostr Relay Routstrノードの ディスカバリー 状態更新
Thank you for your attention ! Nostrで遊んでみよう!