Laboratory B Burlington's Community HackerSpace

29Mar/140

Life Giving Bazooka – An Ethereum Contract

tldr? "Life giving bazooka" is an example of an Ethereum contract that represents a pyramid scheme. Check out the scheme @ github. It's called "life giving bazooka" as a knock on multi-level-marketing schemes.

We've been having a lot of fun having some nights where we're chatting up Crytpocurrency, and recently we got together and had a working session taking a look at Ethereum. We got the client up and running, and moments later gdot had a little "banking contract" running, from an LLL (lisp-like-language) tutorial.

Which is awesome... But, I really wanted to write in the "c-like-language" (CLL) -- that's what I tend to get. So, I found Vitalik's got a CLL compiler, but it's pretty alpha. Also, it's made progress to work with PoC4, which isn't released yet. All the main releases of the clients (which you can download), are PoC3 based. So, I went ahead and fixed a few things in his compiler, and I'm maintaining my own branch @ https://github.com/dougbtv/compiler/tree/poc3-compat.

But, to make it easier, I've been maintaining my own pre-processor (inspired by the C pre-processor) that makes a few things a little easier to work with. You can download my cll-preprocessor at github, and it includes submodules that fix the things that I needed to get Vitalik's compiler working properly, especially with PoC3.

So... Where's this pyramid scheme!?! It's also on github! There's quite a bit more information there for you to read about how it works, and instructions to run it if you so please.

Quick Links

Posted by Doug Smith

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.