Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atong01/coinshuffle
Coin Shuffle implementation
https://github.com/atong01/coinshuffle
blockchain coinshuffle python
Last synced: 3 days ago
JSON representation
Coin Shuffle implementation
- Host: GitHub
- URL: https://github.com/atong01/coinshuffle
- Owner: atong01
- Created: 2017-12-05T15:47:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:45:36.000Z (about 2 years ago)
- Last Synced: 2024-12-10T23:26:18.710Z (12 days ago)
- Topics: blockchain, coinshuffle, python
- Language: Python
- Homepage:
- Size: 221 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
README
======Compiling
---------
mkvirtualenv [environment name]pip install -r requirements.txt
You may now run any tests or create scripts of your own.
Introduction
------------
This is a test project for the coinshuffle protocol.We build a library for a transaction based blockchain with a coinshuffle procedure.
Overview
--------
We implement a general blockchain on top of a rest API. Each client represents a blockchain node.Note that the anonblock proposal depicts the eventual idea of this project.
Client Interface
----------------
/chain -- [GET] returns a view of the full chain/block/ -- [GET] returns a view of a block for a specific hash
/block -- [POST] post a new block to the client
/nodes -- [GET] gets a list of all neighboring client nodes
/nodes -- [POST] add a list of nodes to the client
/transactions/new [POST] posts a new transaction to the client
/resolve -- [GET] calls resolve on a client which triggers it to find the longest chain among its peers
/mine -- [GET] immediately mines a block with the currently uncommited transactions on the node
/coinshuffle/new -- [POST] Create a new Coinshuffle instance (needs specified shuffle server
/coinshuffle/shuffle -- [GET] perform next step of the shuffle
/coinshuffle/initiate -- [GET] start a coinshuffle round with a specified list of peers
Future Work
-----------
Verification of transactions
Separate wallet and agents