crystal_blockchain

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

Repository

crystal_blockchain

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 1
  • almost 2 years ago
  • September 11, 2023
License

MIT License

Links
Synced at

Mon, 30 Jun 2025 20:35:39 GMT

Languages