Giter Club home page Giter Club logo

pathjoin's Introduction

PathJoin

PathJoin: Enabling Atomic Transactions in Ripple

###Disclaimer This implementation is insecure! Do not use it with your credit! This implementation has been written purely to evaluate the feasibility of PathJoin.

A careful, full implementation is required before PathJoin can be used in practice. In particular, we require:

  • A full implementation of the distributed signature scheme (i.e., management of the shared wallets) in a distributed manner. Current implementation requires to reveal the shares for the shared wallets.
  • A full implementation of the DiceMix protocol to use PathJoin for credit mixing. Current implementation requires to reveal the owner of each output wallet.
  • An implementation of mixing XRP. Current implementation assumes that wallets used in PathJoin have already enough XRP.

Still, you can download our prototype if you are interested in testing the PathJoin functionality.

##Setup instructions

The prototype code is included in the test-pathjoin.js file. Follow these instructions to test PathJoin:

  1. Install NodeJS and the Node Package Manager (npm). Most Linux distros have a package for NodeJS, but make sure you have version 0.12.0 or higher.
  2. Use npm to install Babel globally: npm install -g babel
  3. Use npm to install RippleAPI: npm install ripple-lib
  4. Use npm to install all other dependencies required in the test-pathjoin.js script (see lines 27-34 in the code)
  5. Copy the index.js file into node_modules/elliptic/lib/elliptic/eddsa/ (it contains the prototype implementation of the distributed signature algorithm)
  6. Fill the fields in the script test-pathjoin.js with the wallets in your experiment.
  7. You can run the example with: babel-node test-pathjoin.js

pathjoin's People

Contributors

pedrorechez avatar

Watchers

James Cloos avatar Rene avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.