Skip to content

vanyavasylyshyn/crystal_blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoW Blockchain made on Crystal programming language

Small proof of work blockchain made by tutorial

Requirements

crystal installed

Usage

crystal run src/server.cr

Abilities

GET /chain - get current state of chain
GET /mine - mine block
GET /pending - get pending transactions
POST /transactions/new - create new transaction
POST /nodes/register - register node
GET /nodes/resolve - sync nodes

Contributing

  1. Fork it (https://github.com/your-github-user/crystal_blockchain/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published