Damus
Luke Childs ☂️ profile picture
Luke Childs ☂️
@lukechilds

Cofounder & CTO Umbrel.

Previously BitcoinJS, Browserify.

Relays (8)
  • ws://umbrel:4848 – read & write
  • wss://nos.lol – read & write
  • wss://relay.snort.social – read & write
  • wss://relay.damus.io – read & write
  • wss://nostr.oxtr.dev – read & write
  • wss://relay.primal.net – read & write
  • wss://nostr.mom – read & write
  • wss://offchain.pub – read & write

Recent Notes

Luke Childs ☂️ · 100w
musig leaks nothing about the contract on chain and is more block space efficient. Using the script path for unilateral exit leaks the fact you were most likely using a Spillman channel to any observ...
Luke Childs ☂️ profile picture
You could also do musig for payments and mint unilateral exit and only script path for user unilateral exit. Maybe that’s the best of both worlds.

Simple stateless backups and minimal onchain footprint in the optimistic best case. Worse privacy and more onchain use on the rare event that the mint disappears.
note13t8jz...
Luke Childs ☂️ profile picture
musig leaks nothing about the contract on chain and is more block space efficient.

Using the script path for unilateral exit leaks the fact you were most likely using a Spillman channel to any observers. It’s also much larger.

Maybe simpler backups are more important to people than privacy and block space. And if that’s the case my proposal also works with the script path variant.
1
Luke Childs ☂️ · 100w
You could also do musig for payments and mint unilateral exit and only script path for user unilateral exit. Maybe that’s the best of both worlds. Simple stateless backups and minimal onchain footprint in the optimistic best case. Worse privacy and more onchain use on the rare event that the mint...
note10zm5p...
Luke Childs ☂️ profile picture
There are a few different ways to do Spillman channels, the way I propose requires holding onto a presigned transaction for unilateral exit. This is only needed if the mint is uncooperative. This is non deterministic so you need to store it alongside your seed. However unlike lightning if you lose it the mint can’t cheat you out of any money by settling a bad state.

You can make the users unilateral exit path deterministic by implementing it as a timelocked script path instead of a timelocked presigned transaction. Then you only need your seed and nothing else to unilaterally exit.

However I like the presigned tx model better since it results in everything being a musig spend.
note1qpz0k...
Luke Childs ☂️ profile picture
GPT-4 is very capable, the resulting bash scripts work well about 95% of the time. However there are often subtle bugs or edge cases that aren’t handled unless you explicitly tell it to look out for them.

After a few iterations of adding extra details to handle edge cases you can get something very high quality.

Results are much worse on open source LLMs but they’re catching up quickly.
Luke Childs ☂️ profile picture
humanscript is an inferpreter. A script interpreter that infers commands from natural language using AI. There is no predefined syntax, humanscripts just say what they want to happen, and when you execute them, it happens.

https://github.com/lukechilds/humanscript

This is a humanscript called tidy-screenshots. It takes an unorganised directory of screenshots and organises them into directories based on the month the screenshot was taken.

It can be executed like any other script.



The LLM inferpreted the humanscript into the following bash script at runtime.



The code is streamed out of the LLM during inferpretation and executed line by line so execution is not blocked waiting for inference to finish. The generated code is cached on first run and will be executed instantly on subsequent runs, bypassing the need for reinferpretation.




The humanscript inferpreter supports a wide range of LLM backends. It can be used with cloud hosted LLMs like OpenAI's GTP-3.5 and GPT-4 or locally running open source LLMs like Llama 2.

You can run humanscript in a sandboxed Docker environment with a single command if you want to have a play.

https://github.com/lukechilds/humanscript#install-humanscript
3