← Back to the demo

Radio Script — Light Protocol and Z K Compression

Welcome back to the show. Today we are talking about a blockchain problem that sounds boring and turns out to be a thriller. Storage rent.

番組へようこそ。今日のテーマは、退屈そうに聞こえて実はスリラーだった、ブロックチェーンのある問題です。ストレージの家賃。

Rent. On a blockchain. You are telling me my data has a landlord.

家賃。ブロックチェーンで。僕のデータに大家さんがいるってことですか。

It does. This is the story of Light Protocol, a small team that changed how the Solana network remembers things. And it starts with a number. Handing a token to one million people on Solana used to cost about three hundred thousand dollars in storage alone.

いるんです。これは ライト・プロトコルという小さなチームが、ソラナ・ネットワークの記憶の仕方を変えた話です。まずは数字から。ソラナで百万人にトークンを配ろうとすると、保管の費用だけで、かつては三十万ドルほどかかりました。

Three hundred thousand dollars. Before you build anything.

三十万ドル。まだ何も作っていないのに。

Before you ship a single feature. And here is the strange part. On Solana, computation is famously cheap. The expensive thing is not doing the work. It is remembering the result.

機能をひとつも出さないうちにです。そして奇妙なのはここから。ソラナは計算が安いことで有名です。高いのは、作業をすることではありません。その結果を覚えておくことなんです。

Okay, so why is remembering so expensive?

なるほど。ではどうして、覚えておくのがそんなに高いんですか。

Because the network has two very different places to store things. Think of a building. Upstairs is account space. Every validator, meaning every computer running the network, holds a full copy of that room in memory at all times. Programs read it instantly, and you pay rent just to keep your things there.

ネットワークに、性質のまったく違う保管場所が二つあるからです。建物を思い浮かべてください。上の階がアカウント空間。すべてのバリデータ、つまりネットワークを動かしているすべてのコンピュータが、その部屋の完全な複製を常にメモリに持っています。プログラムはそこを即座に読めます。そして、置いておくだけで家賃がかかります。

And downstairs?

では下の階は。

Downstairs is the ledger, the archive where every transaction ever made gets written down. Adding a line costs almost nothing. But programs on the chain cannot reach down and read it directly.

下の階が台帳です。これまでのすべての取引が書き込まれる、記録の倉庫。一行足す費用はほとんどゼロです。ただし、チェーン上のプログラムは、そこまで手を伸ばして直接読むことができません。

So the fast room is expensive, and the cheap room is unreadable.

速い部屋は高くて、安い部屋は読めない。

That is the whole tension. And the idea behind Z K Compression, short for zero knowledge compression, is to use both rooms on purpose. Move the actual data down into the cheap archive, and keep only a fingerprint upstairs. Thirty two bytes that stand in for everything you moved.

そこが緊張の中心です。そしてゼットケー・コンプレッション、これはゼロ知識圧縮の略ですが、その発想は、この二つの部屋を意図的に併用することにあります。データの本体は安い倉庫へ下ろし、上の階には指紋だけを残す。動かしたすべてを代表する、三十二バイトです。

Wait. If my balance is downstairs where programs cannot read it, how does anyone know it is real? I could just claim I have a million tokens.

待ってください。僕の残高が、プログラムから読めない下の階にあるなら、それが本物だと誰にわかるんですか。百万トークン持っていると言い張れてしまう。

That is the exact question the whole system is built to answer. The fingerprint upstairs is the root of something called a Merkle tree. Picture four accounts. Fingerprint each one. Then fingerprint the fingerprints, pair by pair, until one value is left. That value is the root.

それこそ、この仕組み全体が答えるために作られた問いです。上の階にある指紋は、マークル・ツリーと呼ばれるものの根っこ、ルートです。四つのアカウントを思い浮かべてください。それぞれの指紋を取る。次にその指紋たちの指紋を、二つずつ取っていく。値がひとつ残るまで。その最後の値がルートです。

A fingerprint of fingerprints of fingerprints.

指紋の指紋の、そのまた指紋。

Exactly. And it has a beautiful property. Change even one character anywhere in the tree and the root changes completely. On the website for this episode you can edit one digit and watch the color ripple upward. One keystroke, and sixty of the sixty four characters in the root change.

そのとおり。そしてこれには美しい性質があります。木のどこか一文字でも変えると、ルートは丸ごと変わる。この回に対応するウェブサイトでは、数字を一文字だけ書き換えて、色が上へ伝わっていくのを見られます。一回のキー入力で、ルートの六十四文字のうち六十文字が変わります。

So the root is like a tamper seal on the whole collection.

つまりルートは、コレクション全体にかけた封印みたいなものですね。

Exactly. And the chain only holds that one seal. Tens of millions of accounts, folded into thirty two bytes.

そのとおり。そしてチェーンが持つのは、その封印ひとつだけ。数千万件のアカウントが、三十二バイトに畳まれます。

Fine, but that still does not let me prove that my account is inside the tree. Do I have to send the whole path of fingerprints every time?

わかりました。でもそれだけでは、僕のアカウントが木の中にあると証明できません。毎回、指紋の経路を全部送らないといけないんですか。

You could try, and it fails immediately. A Solana transaction is capped at one thousand two hundred thirty two bytes. Send full fingerprint paths the naive way and you blow past that at just two accounts.

やってみることはできますが、すぐに破綻します。ソラナの取引には、千二百三十二バイトという上限があります。素朴に指紋の経路を全部送ると、たった二件で、その上限を突き抜けます。

Two. Not two hundred. Two.

二件。二百件じゃなくて。二件。

Two. And this is where the zero knowledge part comes in. Instead of sending the path, an off chain helper called the Prover builds a mathematical proof that says, this account is genuinely inside the tree with this root. That proof has a fixed size. One hundred twenty eight bytes. And here is the magic. It stays one hundred twenty eight bytes no matter how many accounts you are proving.

二件です。そしてここでゼロ知識の出番になります。経路を送る代わりに、チェーンの外にいるプルーバーという助っ人が、数学的な証明を作ります。このアカウントは、このルートを持つ木の中に確かに入っている、と述べる証明です。その証明の大きさは固定で、百二十八バイト。そして魔法はここから。何件のアカウントを証明しても、百二十八バイトのままなんです。

One account, one hundred twenty eight bytes. Fifty accounts, still one hundred twenty eight bytes.

一件でも百二十八バイト。五十件でも、やっぱり百二十八バイト。

Still one hundred twenty eight. All the claims fit in one envelope. Remember that number, because there is a twist hiding inside it.

やっぱり百二十八です。すべての主張が、封筒一枚に収まる。この数字を覚えておいてください。この中に、ひとつどんでん返しが隠れているので。

A twist inside a number. Noted. So walk me through an actual payment. Say Alice sends five U S D C to Bob.

数字の中にどんでん返し。覚えておきます。では実際の支払いを、順を追って見せてください。アリスがボブに五ユーエスディーシーを送るとして。

Five moves. Move one, Alice asks a service called Photon, the indexer. It constantly reads the archive downstairs and reassembles that scattered data into something usable. It hands Alice her balance, and where that balance sits in the tree.

五手かかります。一手目、アリスは フォトンというサービスに問い合わせます。インデクサです。下の倉庫を絶えず読んで、散らばったデータを使える形に組み立て直しています。それがアリスに残高と、その残高が木のどこにあるかを渡します。

So Photon is the librarian who actually knows which shelf everything is on.

つまり フォトン は、どの棚に何があるかを実際に知っている司書ですね。

Lovely way to put it. Move two, the Prover builds that one hundred twenty eight byte proof. Move three, the proof and the data go into a transaction, and only now does the chain get touched.

いい言い方です。二手目、プルーバー があの百二十八バイトの証明を作ります。三手目、証明とデータを取引に載せて送信する。ここでようやくチェーンに触れます。

Three moves in, and the chain has not even heard about it yet.

三手進んで、チェーンはまだ何も聞かされていないんですね。

Right. Move four, an on chain program called the Light System Program checks the proof against the root upstairs. Move five, the old balance is marked as spent, a new leaf joins the tree, and the root changes. Done. Bob has his five U S D C.

そのとおり。四手目、チェーン上の ライト・システム・プログラムというプログラムが、上の階にあるルートと照らして証明を検証します。五手目、古い残高が使用済みとして記録され、新しい葉が木に加わり、ルートが変わる。完了です。ボブの手元に五ユーエスディーシー。

Five moves instead of one. That cannot be free. What is the catch?

一手のはずが五手。タダではないですよね。代償は何ですか。

Computation. A regular token transfer costs roughly four and a half thousand compute units. A compressed one costs about two hundred ninety two thousand. Roughly sixty five times more.

計算量です。普通のトークン送金はおよそ四千五百計算ユニット。圧縮した送金はおよそ二十九万二千。だいたい六十五倍です。

Sixty five times. Ouch.

六十五倍。それは痛い。

Ouch, but look at what you bought. The rent went to zero. Remember the three hundred thousand dollar airdrop? With compression, the same million accounts cost about sixty dollars. You traded rent for compute. That is the deal, stated plainly. And a newer version of the system, called version two, cuts that compute cost by up to seventy percent.

痛いですね。でも何を買ったか見てください。家賃がゼロになったんです。さっきの三十万ドルのエアドロップを覚えていますか。圧縮を使うと、同じ百万件がおよそ六十ドルになります。家賃を計算量と引き換えにした。取引の中身は、はっきり言えばそれだけです。そしてバージョン・ツーと呼ばれる新しい版では、その計算量が最大で七十パーセント下がります。

Okay, so when is this trade actually worth it?

では、この交換が本当に割に合うのはどんなときですか。

The rule is surprisingly sharp. One tree absorbs about forty one writes per block, because of a compute ceiling of twelve million units. So the question is how often your accounts change. One million accounts, each updated once a day, fits in a single tree.

判断の線は驚くほど鋭いんです。木一本が吸収できるのは、一ブロックあたりおよそ四十一回の書き込み。千二百万ユニットという計算量の上限があるからです。だから問いは、アカウントがどれくらいの頻度で変わるか。百万件のアカウントを一日一回ずつ更新するなら、木は一本で足ります。

And if they update every minute?

一分ごとに更新するとしたら。

Then you need one hundred sixty three trees. Same number of accounts. Only the frequency changed.

百六十三本必要になります。アカウントの数は同じ。変えたのは頻度だけです。

So many accounts that mostly sit still, perfect. Busy accounts, terrible.

つまり、たくさんあってほとんど動かないものは最適。忙しいアカウントは最悪。

That is the shape of it. Airdrops, game inventories, loyalty points, name services. Millions of accounts, each written rarely. Those are the sweet spot. A hot shared counter that everyone hammers every second, keep that as a normal account.

そういう形です。エアドロップ、ゲームの持ち物、ポイント、ネームサービス。何百万件もあって、それぞれめったに書き換えない。そこが一番おいしい。みんなが毎秒叩きにくる共有カウンターのようなものは、普通のアカウントのままにしておくべきです。

You mentioned the librarian, Photon. What happens if the librarian calls in sick?

さっきの司書、フォトン の話ですが。司書が病欠したらどうなりますか。

The trade off nobody should skip. A normal account can be read through any regular endpoint. A compressed account needs an indexer. If the indexer goes down, your wallet cannot display your balance.

誰も飛ばしてはいけないトレードオフです。普通のアカウントは、どの一般的な接続先からでも読めます。圧縮アカウントにはインデクサが要る。インデクサが落ちると、ウォレットはあなたの残高を表示できなくなります。

That sounds terrifying. My money just vanishes?

それは怖いですね。お金が消えてしまうんですか。

No, and this matters more than anything else today. The funds are not lost. The data still sits in the ledger, permanently. You only lost the ability to read it conveniently. Stand up another indexer, let it rebuild from the archive, and everything comes back. An availability problem, not a solvency problem. And Photon is open source, so anyone can run one.

いいえ。そしてここが、今日のどの話よりも大事なところです。資金は失われていません。データは台帳に、永久に残ったままです。失われたのは、それを手軽に読む手段だけ。別のインデクサを立てて、倉庫から組み立て直させれば、すべて戻ってきます。可用性の問題であって、支払い能力の問題ではない。しかも フォトン はオープンソースなので、誰でも自分で動かせます。

Unreadable is not the same as gone.

読めないことと、無くなったことは違う。

The sentence most people get wrong. Now. Ready for the twist?

多くの人が取り違える一文です。さて。どんでん返しの準備はいいですか。

The one hiding inside one hundred twenty eight.

百二十八の中に隠れているというやつですね。

Here it is. Light Protocol did not start as a storage company. It was founded in twenty twenty one as a privacy company, working on private voting, then private transfers. Back then, the mathematics they needed did not exist inside Solana. So they wrote it themselves and got it merged into the core of the network.

これです。ライト・プロトコル は、保管の会社として始まったのではありません。二千二十一年に、プライバシーの会社として創業しました。手がけていたのは非公開の投票、それから非公開の送金。そして当時、彼らが必要とした数学はソラナの中に存在していませんでした。だから自分たちで書いて、ネットワークの中核に取り込ませたんです。

Hold on. They rebuilt the chain's own toolbox?

ちょっと待ってください。チェーン自身の道具箱を作り直したということですか。

Three tools, called syscalls, which is short for system calls. One is a special hash function that suits zero knowledge circuits. That is what builds the fingerprints in the tree.

三つの道具です。シスコール、システム・コールの略と呼ばれます。ひとつはゼロ知識回路と相性のよい特別なハッシュ関数。木の中の指紋を作っているのが、これです。

The tree from earlier. Their own hash.

さっきの木。彼ら自身のハッシュだったんですね。

The very one. Another tool does the elliptic curve math that verifies proofs. And the third compresses a proof to half its size. A raw proof in the scheme they use, called Groth sixteen, is two hundred fifty six bytes. Run it through that compression tool and it folds to exactly one hundred twenty eight.

まさにそれです。もうひとつの道具は、証明を検証する楕円曲線の計算をします。そして三つめが、証明を半分の大きさに圧縮する。彼らが使うグロス・シックスティーンという方式の証明は、そのままだと二百五十六バイトです。その圧縮の道具を通すと、ちょうど百二十八に畳まれます。

Oh. That is why the proof is one hundred twenty eight bytes. The number we have been saying all episode is their own tool at work.

ああ。だから証明は百二十八バイトなんですね。この回でずっと言ってきた数字は、彼ら自身の道具が働いた結果だった。

Every chapter of this story ran on tools a privacy company built years earlier, chasing a different goal. And recently the story came full circle. First, Solana's token program gained Confidential Balances, which hides transfer amounts using encryption, though sender and receiver stay visible. Confidential, not anonymous.

この物語のどの章も、あるプライバシー企業が何年も前に、まったく違う目的を追って作った道具の上で静かに動いていた。そして最近、話は一周して戻ってきます。まず、ソラナのトークン・プログラムに コンフィデンシャル・バランシズという機能が加わりました。暗号を使って送金の金額を隠しますが、送り手と受け手は見えたままです。秘匿ではあるが、匿名ではない。

So people can see that I paid you, just not how much.

僕があなたに払ったことは見えるけれど、いくらかは見えない、と。

Right. Then in June twenty twenty six, a company called Helius acquired Light Protocol, aiming to build a full privacy layer for Solana. Sender, receiver, asset, and amount, all hidden. And you can grant an auditor the right to view your transactions, then revoke it later.

そうです。そして二千二十六年六月、ヘリウスという会社が ライト・プロトコル を買収しました。ソラナのための完全なプライバシー層を作るという目的です。送り手、受け手、資産、金額、そのすべてを隠す。しかも、監査人に取引を閲覧する権利を与えて、あとから取り消すこともできます。

So privacy with a receipts drawer you control. Is that live today?

自分で管理できる領収書の引き出し付きのプライバシー。それは今日もう動いているんですか。

Perfect question to end on, because the honest answer is no. As of July twenty twenty six it is announced, not shipped. And that distinction is the best tool this story can teach. Announced and shipped are different events. Z K Compression went from announcement to mainnet in eighty nine days. Version two took about three hundred days. The privacy protocol is still pending.

締めくくりにふさわしい質問ですね。正直に答えると、まだです。二千二十六年七月の時点で、発表はされたが、稼働はしていない。そしてこの区別こそ、この物語が教えられる一番の道具です。発表されたことと、動き出したことは、別の出来事なんです。ゼットケー・コンプレッションは、発表からメインネット稼働まで八十九日でした。バージョン・ツーはおよそ三百日。プライバシーの仕組みのほうは、まだ待っている状態です。

Sometimes three months, sometimes ten, sometimes still waiting.

三か月のときも、十か月のときも、まだ待っているときもある。

So whenever you read a headline in this industry, ask one question. Is this running, or is it a promise? The website for this episode has a timeline you can filter by exactly that. It is free, it works in five languages, and every number I said today is on it, with sources.

だからこの業界で見出しを読むときは、ひとつだけ問いかけてください。これは動いているのか、それとも約束なのか。この回のウェブサイトには、まさにその軸で歴史を絞り込める年表があります。無料で、五つの言語に対応していて、今日わたしが言った数字はすべて、出典つきでそこに載っています。

Including the landlord.

大家さんの話も含めて。

Including the landlord. Link is in the show notes. Thanks for listening, and remember. Computation is cheap. Memory is what costs. And unreadable is not the same as gone.

大家さんの話も含めて。リンクは番組の概要に置いておきます。聴いてくれてありがとう。そして覚えておいてください。計算は安い。高いのは記憶。そして、読めないことと、無くなったことは違う。

See you next time.

それではまた次回。