Simple AltCoin written in Python

In this day and age, nearly everyone has had some kind of exposure to cryptocurrencies.  Bitcoin has been massively popular over the past couple of years, and has sparked the creation of thousands of so called “Alt-Coins”.   Alt-Coins are essentially bitcoin clones that add new features, algorithms, etc to their codebase to allow for a broad spectrum of capabilities.

To the average coder though, the Bitcoin codebase is all but inaccessible.  The code behind Bitcoin is incredibly complex, and requires maintainers and contributors to be very familiar with the way that Bitcoin works and how the network operates.

This is where BasicCoin came in.  BasicCoin was created by Zack-bitcoin to simplify the code behind crypto-currencies.  BasicCoin uses a simple sha-256  hashing algorithm, and consists of just a few Python files.

From BasicCoin, I am developing MyCoin (the name is a work in progress.  I haven’t decided on a final name yet.).   The plan is to use the x11 mining algorithm for coin production, and the primary goal is just to keep the coin simple.  Progress can be tracked at the project github page.  Currently, only OSX is supported, due to syntax differences between OSX, Linux, and Windows.  For any suggestions, just submit an issue to the issue tracker, or submit a pull request!

Assembly development on a mac.

When I first got my mac, I had no idea how to continue working on my toy operating system.  After some research, I found a couple of effective ways to do assembly programming on the mac.

Option 1:

I recommend this method for learning basic assembly.  In combination with, dosbox provides a good safe environment for learning the basics.  A guy named Khoraski(on YouTube) has a really good series on how to do assembly programming in DEBUG.

Install dosbox.  Just use the .dmg file to install it to a default directory.

Next create a working directory to store all you dosbox programs and source files. Open up a terminal window, and type something along the lines of ‘mkdir ~/DOSPrograms’ to make a folder.

Now that you have a working directory, just download the file (try this site) and put it into the directory you created earlier(e.g. DOSPrograms).

The rest of this method is just  booting dosbox and using its built in commands.

Option 2:

This is another very safe way to practice Assembly, but provides a much broader toolset.

Download and install VirtualBox, and the latest Ubuntu .iso.

Install nasm via command line.

you should be good to go

Option 3:

Probably the most obvious option, you just install the tools directly into OSX and just program without the protection of a virtual machine.  Download Xcode, enable the command-line tools, and you should be ready to go.  Nasm, GCC, DD, VIM, and LD should be automatically installed and enabled.


I hope some of you found this helpful.  Options 2 and 3 are probably the two I would most recommend for serious Assembly development, seeing as Option 1 is severely limited in scope and utility.