https://github.com/bhazel/altcoinsamples
Samples to demonstrate some of the fundamental techniques involved in cryptocurrencies.
https://github.com/bhazel/altcoinsamples
Last synced: about 1 year ago
JSON representation
Samples to demonstrate some of the fundamental techniques involved in cryptocurrencies.
- Host: GitHub
- URL: https://github.com/bhazel/altcoinsamples
- Owner: BHazel
- Created: 2014-08-09T19:31:32.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-08T01:15:47.000Z (over 11 years ago)
- Last Synced: 2024-12-06T21:16:57.759Z (over 1 year ago)
- Language: C#
- Size: 469 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AltCoinSamples
==============
AltCoinSamples is a collection of sample programs to demonstrate some of the concepts behind cryptocurrencies.
Two implementations are available:
* **C#/WPF**: A Visual Studio solution is in the AltCoinSamples directory.
* **Ruby:** Scripts are in the Ruby directory.
Both include help files in Markdown format.
Programs
--------
**Hashing**: Demonstrates the concept of hashing. It will calculate the SHA-2 hashes of two input strings and compare them for data and hash equality.
**Mining**: Simulates the mining process. It solves a set number of blocks conforming to a set target using the MD5 hashing algorithm.
Building & Dependencies
-----------------------
An MSBuild script is provided to automate the build process. It has been optimised for creating the installer but can be used for any component
including (MSBuild target shown in brackets):
* Building the C#/WPF apps _(WpfApps)_.
* Checking the Ruby scripts for syntax errors _(RubyScripts)_. **Requires Ruby and Rake.**
* Creating the HTML help files from Markdown _(HelpFiles)_. **Requires Node.js and NPM.**
* Building the installer _(Installer)_. **Requires Inno Setup.**
To run the whole build process run the following at a Visual Studio command prompt:
msbuild build.proj /t:All
To clean the build files, replace `/t:All` with `/t:Clean`. To clean a build step, add `Clean` to the start of its target name.
CI Build Status
---------------
All code is built on check-in to the `master` branch.
[](https://ci.appveyor.com/project/BHazel/altcoinsamples)
**AppVeyor** builds the C# implementation.
[](https://travis-ci.org/BHazel/AltCoinSamples)
**Travis-CI** builds the Ruby implementation.