Code Monkey home page Code Monkey logo

bitcorn's Introduction

Bitcorn

Having fun with blockchain/cryptocurrency technology

Examples

$ ./bitcorn createwallet
Your new address: <ADDRESS 1>
$ ./bitcorn createwallet
Your new address: <ADDRESS 2>
$ ./bitcorn createwallet
Your new address: <ADDRESS 3>
$ ./bitcorn createblockchain -address <ADDRESS 1>
00004f6bbfc0d363aed361e6aad809d785bc9341255ca4ddd6c7ae7e55e32b5b

Done!
$ ./bitcorn getbalance -address <ADDRESS 1>
Balance of '<ADDRESS 1>': 10
$ ./bitcorn send -from <ADDRESS 2> -to <ADDRESS 1> -amount 5
2017/09/27 13:08:56 ERROR: Not enough funds
$ ./bitcorn send -from <ADDRESS 1> -to <ADDRESS 2> -amount 6
0000426391a6f880c05e40a7190e3c9912c5f857cf9fda2956569ad9eac714ff

Success!
$ ./bitcorn getbalance -address <ADDRESS 1>
Balance of '<ADDRESS 1>': 4
$ ./bitcorn getbalance -address <ADDRESS 2>
Balance of '<ADDRESS 2>': 6
$ ./bitcorn getbalance -address <ADDRESS 3>
Balance of '<ADDRESS 3>': 0

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.