Giter Club home page Giter Club logo

tcn's Introduction

Transactional Cryptocurrency Network

Transactional Cryptocurrency Network, TCN, is a simple blockchain and cryptocurrency implemented in Go. TCN supports wallets, block mining, transactions and a distributed network.

Motivation

I decided to start this project as a way to gain a better understanding for blockchain technology. It is a living research project that has loosely implements the bitcoin specification. Anyone interested in building anything stable upon TCN is encouraged to fork it first, since given the reseach project status, backwards breaking changes are likely.

Getting Started

These instructions will help you get TCN installed and gat the initial blockchain created and mine the Genesis block.

Installing

There are 2 methods to install TCN:

Install with go get

go get -u github.com/jplesperance/tcn

Clone the reop and install

cd $GOPATH/src/github.com/jplesperance
git clone https://github.com/jplesperance/tcn
cd tcn
go install -v

Usage

Create the blockchain

When creating the blockchain, you must specify an address, that address will recieve credit(coins) for the mining of the Genesis block

tcn createblockchain -address <wallet-address>

Getting the balance of a wallet

tcn getbalance -address <wallet-address>

Send coins to another wallet

tcn send -to <destination-wallet> -from <source-wallet> -amount <amount of coins to send>

Print all the blocks of the blockchain

tcn printchain

Slack Channel for TCH

TCN Platform Official Slack

Built With

  • BoltDB - BoltDB: embedded k/v database for Go

Contributing

Please read CONTRIBUTING.md

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

tcn's People

Contributors

jplesperance avatar

Stargazers

 avatar  avatar

Watchers

 avatar

tcn's Issues

Add a build config file to the repo for CI

Need to identify the CI system that will be used for the project and add the needed config file to the repo to enable builds. Should be able to handle different builds based on branch/tag

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.