Skip to content

Discontinued 🛑 Easily create your own cryptocoin in Go. Fork is kept for attribution reasons. Totally different codebase.

License

Notifications You must be signed in to change notification settings

toqueteos/altcoin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

altcoin

[GoDoc] (https://godoc.org/github.com/toqueteos/altcoin)[![codebeat](https://codebeat.co/badges/a7b74900-1bbc-439b-a523-24215742994d)](https://codebeat.co/projects/github-com-toqueteos-altcoin)

The simplest crypto-currency ported from Python to Go for readability and type-safety, also for the fun and learn new things.

DISCLAIMER: Identifier names (variables and funcs) don't strictly follow Go styleguide, for example, you may find var foo_bar instead of var fooBar. This would be fixed gradually.

Installation

Tested on: go version go1.3 windows/amd64, it may work on older versions.

It should work on all other Go supported OSes.

You can easily install a full node by:

go get github.com/toqueteos/altcoin/cmd/altcoind

Organization

Everything lives in its own independent sub-package.

Exceptions to this rule are packages:

  • config.
  • types.
  • tools.
  • templates, not an actual Go package; holds the HTML files requires for webgui.

Comparisons to basiccoin

I've only worried about understanding how this thing worked and making it readable, basiccoin's Python codebase was heavily compressed so its very hard to read (even though its Python).

It may contain critical bugs due to some missunderstanding while porting it.

Feel free to criticise, send issues or pull requests at any time.

I'll try to read all those as soon as possible.

Creating a derived coin

altcoin allows to easily create derived custom coins easily, just as basiccoin's.

Files you may want to check out:

About

Discontinued 🛑 Easily create your own cryptocoin in Go. Fork is kept for attribution reasons. Totally different codebase.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages

  • Go 97.0%
  • HTML 3.0%