Skip to content

xdv-legacy/divvyd

Repository files navigation

Divvy

Sharing the Global Economy

What is Divvy?

Divvy is the open-source, distributed payment protocol that enables instant payments with low fees, no chargebacks, and currency flexibility (for example dollars, yen, euros, bitcoins, or even loyalty points). It is the worlds fastest and most secure payment system. Businesses of any size can easily build payment solutions such as banking or remittance apps, and accelerate the movement of money. Divvy enables the world to move value the way it moves information on the Internet.

Divvy Network

What is a Pathway?

Divvy works with pathways: independent businesses which hold customer deposits in various currencies such as U.S. dollars (USD) or Euros (EUR), in exchange for providing cryptographically-signed issuances that users can send and trade with one another in seconds on the Divvy network. Within the protocol, exchanges between multiple currencies can occur atomically without any central authority to monitor them. Later, customers can withdraw their Divvy balances from the pathways that created those issuances.

How do Divvy payments work?

A sender specifies the amount and currency the recipient should receive and Divvy automatically converts the sender’s available currencies using the distributed order books integrated into the Divvy protocol. Independent third parties acting as market makers provide liquidity in these order books.

Divvy uses a pathfinding algorithm that considers currency pairs when converting from the source to the destination currency. This algorithm searches for a series of currency swaps that gives the user the lowest cost. Since anyone can participate as a market maker, market forces drive fees to the lowest practical level.

What can you do with Divvy?

The protocol is entirely open-source and the network’s shared ledger is public information, so no central authority prevents anyone from participating. Anyone can become a market maker, create a wallet or a pathway, or monitor network behavior. Competition drives down spreads and fees, making the network useful to everyone.

Key Protocol Features

  1. XDV is Divvy’s native [cryptocurrency] (http://en.wikipedia.org/wiki/Cryptocurrency) with a fixed supply that decreases slowly over time, with no mining. XDV acts as a bridge currency, and pays for transaction fees that protect the network against spam. XDV as a bridge currency

  2. Pathfinding discovers cheap and efficient payment paths through multiple order books allowing anyone to trade anything. When two accounts aren’t linked by relationships of trust, the Divvy pathfinding engine considers intermediate links and order books to produce a set of possible paths the transaction can take. When the payment is processed, the liquidity along these paths is iteratively consumed in best-first order. Pathfinding from Dollars to Euro

  3. Consensus confirms transactions in an atomic fashion, without mining, ensuring efficient use of resources.

Join The Divvy Community

Transact Build Contribute
Transact on the fastest payment infrastructure Build Imaginative Apps Contribute to the Divvy Protocol Implementation

divvyd - Divvy P2P server

Build Status

This is the repository for Divvy's divvyd, reference P2P server.

Build instructions:

Setup instructions:

Issues

Repository Contents

./bin

Scripts and data files for Divvy integrators.

./build

Intermediate and final build outputs.

./Builds

Platform or IDE-specific project files.

./doc

Documentation and example configuration files.

./src

Source code directory. Some of the directories contained here are external repositories inlined via git-subtree, see the corresponding README for more details.

./test

Javascript / Mocha tests.

License

Divvy is open source and permissively licensed under the ISC license. See the LICENSE file for more details.

For more information:

Divvy Genesis Ledger

{
   "result" : {
      "ledger" : {
         "accepted" : true,
         "account_hash" : "A21ED30C04C88046FC61DB9DC19375EEDBD365FD8C17286F27127DF804E9CAA6",
         "close_time" : 487287840,
         "close_time_human" : "2015-Jun-10 21:44:00",
         "close_time_resolution" : 30,
         "closed" : true,
         "hash" : "8C416580CE16A06D291666FD423F12AA2C6BD0E9440ED6BEF59889906CD9A7E9",
         "ledger_hash" : "8C416580CE16A06D291666FD423F12AA2C6BD0E9440ED6BEF59889906CD9A7E9",
         "ledger_index" : "1",
         "parent_hash" : "0000000000000000000000000000000000000000000000000000000000000000",
         "seqNum" : "1",
         "totalCoins" : "100000000000000000",
         "total_coins" : "100000000000000000",
         "transaction_hash" : "0000000000000000000000000000000000000000000000000000000000000000"
      },
      "ledger_hash" : "8C416580CE16A06D291666FD423F12AA2C6BD0E9440ED6BEF59889906CD9A7E9",
      "ledger_index" : 1,
      "status" : "success",
      "validated" : true
   }
}