Bitcoin Forum

Bitcoin => Project Development => Topic started by: Steve132 on March 10, 2014, 07:18:36 PM



Title: CoinRelay: A Scripting Language to control cryptocurrency payment events
Post by: Steve132 on March 10, 2014, 07:18:36 PM
I needed something like coinkite's auto-funds forwarding feature, that splits incoming payments into percentages, but their pricing model scared me away (and I like having control over my own coins).

I started to realize that a surprising number of bitcoin-related startups and services really just provide some simple behavior that responds to transactions on the blockchain. For example, satoshidice listens to the blockchain, runs some code, and reflects the profits back. I realized it would be cool to let ANYONE in the world make these kinds of services (like splitting or budgeting) for themselves easily.

What I wanted really was a /scriptable/ wallet. Wallets that would do whatever complex stuff I wanted, like custom budgets or taxes or donations to charity. Stuff like inheritances or escrow services.

And I didn't want to code those things in python or another language...it would be too complex. Too many un-needed details. I started thinking about what kind of programming language I WOULD want to program my wallet in...

So a few days ago I decided to make it:) CoinRelay is a daemon and scripting language for coding up custom wallets that respond to incoming transactions.

You can use it to set up auto-forwards, gambling games, inheritance contracts, dead-man's switches, and all kinds of other stuff.

Let me know what you think!

Link: https://github.com/Steve132/CoinRelay