GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - brackendev/Blockchain-Racket: Cryptocurrency implementation in Racket with peer to peer network and smart contracts support

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 

Repository files navigation

Blockchain-Racket

My walkthrough of the outstanding Introduction to Blockchain in Lisp book by Boro Sitnikovski with some changes (tests added, code comments added, threading macros added, code changes, etc.).

View the original project here.

  • Racket 8.5 reference platform.
  • Tests included.

Installation

  1. Download this project.
  2. Install Racket.
  3. Install the dependencies. In the project root directory, execute in a shell: make deps.

Example Usage

  1. Run the first peer. In the project root directory, execute in a shell:

    racket src/main-p2p.rkt test.data 7000 127.0.0.1:7001,127.0.0.1:7002
  2. You will see output like the following. When you do, press control-c to break execution.

    Making genesis transaction...
    Mining genesis block...
    #<thread:export-loop>
    Mined a block!
    Exported blockchain to 'test.data'...
  3. Run the second peer. In the project root directory, execute in a shell:

    racket src/main-p2p.rkt test2.data 7000 127.0.0.1:7001
  4. To sync the peers, run the first peer again while keeping the second peer active. In the project root directory, execute in a shell:

    racket src/main-p2p.rkt test.data 7000 127.0.0.1:7001,127.0.0.1:7002

To run the tests, in the project root directory, execute in a shell:

make test

Maintainer

Bracken Spencer

  • GitHub
  • LinkedIn
  • Twitter

License

Blockchain-Racket is released under the GNU General Public License. See the LICENSE file for more info.


Useful Links

  • /r/Racket [Reddit]
  • @racketlang [Twitter]
  • Boro Sitnikovski
  • Getting Started [racket-lang.org]
  • Introduction to Blockchain in Lisp
  • Racket [racket-lang.org]
  • Racket News

About

Cryptocurrency implementation in Racket with peer to peer network and smart contracts support

bracken.dev

Topics

blockchaincryptocurrencylispracketschemesmart-contracts

Resources

Readme
License
Activity

Stars

6 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.