Skip to content
decentralized edge efficient mining
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
blockchain-client
blockchain
nkn-client
.gitignore
README.md
connect_miners.sh
create_panes.sh
keys
readme.org
resolve.sh
send_11.sh
send_12.sh
send_13.sh
send_14.sh
send_15.sh
start_browser.py
start_panes.sh
stop_panes.sh

README.md

This is a fork of adilmoujahid's wonderful blockchain demo

k-edge

  • decentralized edge efficient mining
  • additions were made to test out a different consensus algorithm

Dependencies

  • tmux

Running

  • start a tmux session: $ tmux
  • create a set of panels in tmux (use create_panes.sh)

| a | b | | d | c |

| 0 | 1  |
|   |    |
|---|----|
| 2 | 3  |
|   | -- |
|   | 4  |
  • cd k-edge
  • ./stop_panes.sh
  • 0: cd to blockchain
  • 1: cd to blockchain
  • 2: cd to blockchain
  • 3: cd to blockchain-client
  • 4: cd to k-edge
  • ./start_panes.sh
  • ./connect_miners.sh
  • ./start_browser.sh
  • in browser
    • go to client
    • generate wallet
    • make a transaction (reload for defaults)
    • go to miners
    • refresh each one of them to see the transaction
    • for each miner, click on mine
  • in cli, ./resolve.sh
  • in browser
    • for each miner, see the resolution
  • in cli, see the proof-of-work and show the metering
You can’t perform that action at this time.