Brenton Gunning
Run on Bitcoin
#1about 4 minutes
Introducing Run, a platform for interactive tokens on Bitcoin
The Run platform consists of jigs (interactive tokens), a JavaScript library for interacting with them, and optional scaling services.
#2about 3 minutes
Live coding a simple interactive dragon jig
A new jig is created by defining a JavaScript class, instantiating it, and calling methods which generate new Bitcoin transactions for each state update.
#3about 3 minutes
Understanding the core concepts of jigs and the Run library
Jigs are permissionless, tokenized software objects that support object-oriented principles, and the Run library uses a flexible plugin architecture for different environments.
#4about 6 minutes
Building a scalable idle-style game with Run
A demo game shows how players can truly own their in-game assets as jigs, enabling them to trade items outside the application's original scope.
#5about 4 minutes
Defining game rules and logic using jig classes
Game logic, such as requiring payment to create an item or restricting actions to specific caller types, is enforced directly within the jig's JavaScript class definition.
#6about 6 minutes
Solving the layer 2 scaling challenge with state caching
Run avoids the performance bottleneck of replaying transaction histories by caching a jig's final state, which is secured by a state hash in the user-signed transaction.
#7about 3 minutes
Implementing a custom client-side state cache
A custom cache implementation prioritizes loading jig state from local memory and browser storage before falling back to fetching it from a game server.
#8about 3 minutes
Exploring Run's optional services and development roadmap
Run plans to offer optional services like a global state cache, pay server, and query server, with a public beta for version 0.6 coming soon.
#9about 6 minutes
Q&A on class uniqueness and layer 2 protocol design
Copying a jig's code creates a new, distinct object with a unique origin, and Run operates as a hybrid layer 1 and layer 2 protocol for flexibility.
#10about 3 minutes
Q&A on fungible tokens and advanced script interactions
Run provides a base class for fungible tokens that can be extended with custom logic, and it's possible to restrict jig functions using Bitcoin locking scripts.
#11about 6 minutes
Q&A on atomic swaps and database analogies
Jigs can contain partially signed transactions to enable atomic swaps, and the platform functions more like a NoSQL database than a relational one.
Related jobs
Jobs that call for the skills explored in this talk.
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
ROSEN Technology and Research Center GmbH
Osnabrück, Germany
Senior
TypeScript
React
+3
Matching moments
01:15 MIN
Crypto crime, EU regulation, and working while you sleep
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
09:38 MIN
Technical challenges of shipping a cross-platform browser
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
04:17 MIN
Playing a game of real or fake tech headlines
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
01:03 MIN
Evaluating tech startup funding and supply chain news
Fake or News: Coding on a Phone, Emotional Support Toasters, ChatGPT Weddings and more - Anselm Hannemann
03:17 MIN
Selecting strategic partners and essential event tools
Cat Herding with Lions and Tigers - Christian Heilmann
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:34 MIN
The business case for sustainable high performance
Sustainable High Performance: Build It or Pay the Price
Featured Partners
Related Videos
Business sensibilities when developing for Bitcoin
Joshua Henslee
Bitcoin transactions- embedding and using data for applications built on Bitcoin SV
Jack Davies & Alessio Pagani
Bitcoin SV: The Massively Scaled Blockchain to Meet Developer Needs
Jimmy Nguyen & Steve Shadders
Connect API for Bitcoin SV applications
Rafa Jiménez
Bitcoin- Ledger vs Blockchain
Evan Freeman
Intermediate Bitcoin Script
Steve Shadders
Economic incentives and the Bitcoin network
Brendan Lee
Build Your Blockchain Application in JavaScript
Nazar Hussain
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

Code Healers LLC
Hinesville, United States of America
Remote
€30-40K
Intermediate
Senior
.NET
React
JavaScript
+2




United Kingdom - 2 minutes ago
Intermediate
API
GIT
Azure
React
Python
+6

Client Server
Burnham, United Kingdom
Remote
£100K
Java
Ruby
REST
+7

Live Wire
Python
Unreal Engine