Korok Ray (@KorokRay) header
Korok Ray (@KorokRay) profile picture

BS Math @UChicago, PhD Econ @ Stanford. Now professor @ Texas A&M, teaching and researching #Bitcoin.

Texas, USA
Joined February 2012
Photo by Korok Ray (@KorokRay)Photo by Korok Ray (@KorokRay)Photo by Korok Ray (@KorokRay)Photo by Korok Ray (@KorokRay)Photo by Korok Ray (@KorokRay)Photo by Korok Ray (@KorokRay)Photo by Korok Ray (@KorokRay)Photo by Korok Ray (@KorokRay)Photo by Korok Ray (@KorokRay)Photo by Korok Ray (@KorokRay)
My paper, "Optimal Thresholds in Bitcoin," co-authored with @btcsindura has been accepted at this year's IEEE International Conference on Blockchain Computing and Applications. Sindura presented it at Bitcoin MENA and the Bitcoin Conference in Las Vegas this year. Threshold signatures are a fantastic way to secure Bitcoin and a native security feature. An open question is how to choose the threshold, such as when to use a one-of-three versus a two-of-three setup. Most practices rely on rules of thumb, but we build a microeconomic model for this decision. We show that decaying multisig, where the threshold degrades over time, is an optimal structure and can be uniquely implemented in Taproot.
1
6
190
The academic journal Energy Economics has accepted my paper, "Expected Revenue, Risk, and Grid Impact of Bitcoin Mining: A Decision-Theoretic Perspective." We develop a microeconomic model of Bitcoin mining based on the hash lottery, and examine implications for how miners manage risk and affect the energy grid. This is a team effort from Texas A&M with my co-authors Chao Tian, Yuting Cai, and Ruthav Sadali. arxiv.org/abs/2512.20518
1
2
195
These are my heroes --- the thirty faculty from around the world who convened in DC for the first annual conference of the Bitcoin Education Institute (@BTCedu). They are doing the important work of teaching Bitcoin to the next generation!
Washington, D.C. brought together educators, researchers, industry leaders, and builders for the Bitcoin Education Institute’s latest gathering. The conversations reinforced why BEI exists: to help higher education engage seriously with Bitcoin through rigorous research, thoughtful dialogue, and stronger connections between academia and industry. Thank you to everyone who joined us on July 31 and contributed to the discussion. We’re just getting started.
2
7
511
I testified before the Business and Commerce committee of the Texas Senate on #bitcoin custody. Last year the Texas Senate established the Texas Bitcoin Strategic Reserve, a historic first step for our state. Gig em! youtube.com/watch?v=Mev54wqm…
2
10
1,474
Replying to @JeffreyJenkins0
@JeffreyJenkins0 is a junior Agriculture Business major at Texas A and M and head of the Aggie #Bitcoin student club. Impressive student who discovered the value of Bitcoin on his own. Feel free to contact him if you know of a Bitcoin internship this summer!
2
27
1,072
Two cheers for Bitcoin educators!
3
3
46
1,353
My young Aggie bitcoiners @bitcoinpark_ this week for Bitcoin Takeover 2026! Phenomenal event, flawless execution @bitkite
3
5
35
3,809
Universities have evolved as isolated fiefdoms of knowledge. Faculty specialize in a field, students concentrate in a major. This leads universities to overlook Bitcoin, which mixes ideas from multiple domains together. But Bitcoin can fix universities, too. The opportunity today is to bring Bitcoin into all the disciplines it touches. Imagine a week of Bitcoin in classes like corporate finance, energy/power systems, macroeconomics, game theory, human rights, philosophy, government, integrated circuits, cryptography, and computer networking. This will reveal the power of interdisciplinary innovation, expose Bitcoin's academic foundations, and reach students at scale. Learn more about the Bitcoin Education Institute (@btcedu) here: youtube.com/watch?v=3MwB99iA…
1
10
53
11,130
I am thrilled to announce the launch of the Bitcoin Education Institute (BEI), a new non-profit dedicated to advancing understanding of Bitcoin through education. Bitcoin is the most important and least understood technology of our time. Few know what Bitcoin really is, how it works, or why it has value.  The BEI wants to change this at scale. We plan to build out an army of Bitcoin educators, integrate Bitcoin throughout curriculum, and give Bitcoin a place on the podium of human knowledge, which it rightly deserves. Follow @BTCedu for updates!
34
39
4
379
20,235
Thanks to @GideonOPowell for speaking in my class about #bitcoin and energy!
9
6
91
6,702
Bought this used bike from a friend with #bitcoin. It was his first transaction. Peer to peer cash, the original use case!
1
2
12
910
Ross gave a great speech, best in show. But I'm not trying that trick with the towel and the wasps!
1
3
497
Our AI agent successfully created and broadcast a one-input two-output Bitcoin transaction onto the #bitcoin blockchain, using only some high-level prompts. We're calling our agent HAL, in honor of Hal Finney and the space movie. We gave HAL a Python library based on the excellent repo of Jimmy Song from his Programming Bitcoinbook. We commented heavily each function in each library so HAL would understand in natural language what each function did. This includes the definitions of finite fields, elliptic curves, hash functions, private keys, Bitcoin addresses, transaction inputs and outputs, etc. Then we gave HAL a series of prompts so that he would know what to do: fetch a UTXO of 15,000 sats, create a Bitcoin transaction that sends 5000 sats to my address, and 8000 sats back to himself, with the remainder as transaction fees. Then broadcast to mainnet. And it worked. Here is the TxID if you want to check it out on mempool.space: edf44e117bbb18d2ac09ae5c64b6dc75a0c1958c454bb0692a8727be26040637 We used Claude Sonnet to assist with the comments, OpenAI for function calling, and DoubleO.ai to orchestrate the whole process. Next, we are going to build more tools so we can write these transactions at a higher level of abstraction. Stay tuned!
8
15
2
81
8,778
To celebrate #bitcoin at $100k, I'd like to honor the person who orange-pilled me. @mflaxman patiently explained Bitcoin's core value proposition to me over the last decade. All great ideas arrive peer-to-peer, and that is a gift that has no price. Thanks Michael!
3
1
17
971
Successfully had our AI agent create a one-input, two-output transaction and push to #Bitcoin's testnet this week. The key is heavily commenting the functions so the agent understands how Bitcoin works. Kind of like teaching my class! Next up: pushing to mainnet.
4
7
42
4,927
My lab at Texas A&M is building tools for LLM agents to create their own Bitcoin transactions. We're starting with a simple one input, two output transaction first, but ultimately want complex multi-sig Taproot transactions. Anyone else working on this?
16
13
1
82
11,891
I'll be speaking to the Silicon Valley #Aggie Entrepreneurs tomorrow night about #Bitcoin + #AI. Wednesday, Oct 16 at Plug and Play in Sunnyvale. Come say hello!
4
1
15
919
To honor the halving, I'm scheduling all appointments with students for the rest of the month in block time.
14
719
The real benefit of using multi-sig and cold storage is that it makes transacting such a pain in the butt that you never end up selling your #bitcoin
8
4
2
72
3,634
Sindura Saraswati @btcsindura was my top Bitcoin research and teaching assistant at Texas A&M. She is now getting her PhD in Computer Science at UNC Charlotte to study Bitcoin and Lightning. Proud of her achievements!
20
21
4
358
18,158