Skip to content

Instantly share code, notes, and snippets.

@koo5
Created May 22, 2013 02:13
Show Gist options
  • Save koo5/5624786 to your computer and use it in GitHub Desktop.
Save koo5/5624786 to your computer and use it in GitHub Desktop.
i7bitcoin
bitcoin by kook
"i need to get laid"
app is a kind of room
display is a kind of container
function is a kind of
bitcoin is an app
"bitcoin is an obscure app written in some old language. we may only guess what goes on below the surface. there are some displays and some buttons"
after looking in bitcoin:
look at status text
status text is a display
"[get bitcoin status text]"
overview is a display; it contains a wallet and a transaction log
overview is above status bar [rudemintary info for graphical displaying]
to describe transaction log:
[i will pretend here it is an i7 table]
going through transaction log table:
say [amount column] [address column] [i dunno whats actually here]
to describe wallet:
say balance: [balance]
say unconfirmed: [unconfirmed]
say transactions: [number of transactions]
understand "send" as sending coins
sending coins is an action applying to nothing [i7-speak for 0 args]
to send coins:
xxx
to send coins with a stupid text prompt:
ask "to who" [i dont know the i7 extensions for dialogues, so just imagining here atm]
let address be the answer
[repeat for note and amount]
bitcoin send amount coins to address with note note
to bitcoin send (amount - a number) coins to (address - indexed text) with note (note - indexed text):
to send coins graphically:
display new window with title "send coins"
display bla bla bla
set up actions
welcome to bitcoin
>look
bitcoin is an obscure app written in some old language. we may only guess what goes on below the surface. there are some displays and some buttons
the status reads: processing transaction blocks (222 remaining)
>send
to who?
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment