Skip to content

Lazark0x/BlockDXTravisTest

 
 

Repository files navigation

BlocknetDX repository

BlocknetDX is a Proof of Stake based wallet with built-in decentralized exchange. You can trade with any other chain provided it supports BIP65 (Non BIP65 chains will be supported in an upcoming release)

  • 1 Minute Block Time
  • 5k for servicenodes
  • Diff. adjustment per block
  • Supports Fast Transactions w/ SwiftTX
  • Supports Decentralized voting/funding

BlocknetDX

-- Decentralized Atomic Swap algo summary

Initiator creates secret X, and hashes it to create H(X). Initiator also creates public private key pair (pubkey i1,i2 / privkey i2,i2). Responder creates public private key pair (pubkey r1,r2 / privkey r1,r2).

Step 2.
Initiator shares H(X) and pubkey i2 with responder. Responder shares pubkey r1 with intiator.

Step 3.
Initiator creates TxAb. TxAb can be redeemed after time T2 with privkey i1. At any time TxAb can redeemed with signature from privkey r1 and reveal of secret X. Initiator broadcasts TxAb onto the network.

Step 4.
Responder confirms TxAb. Responder creates TxBb. TxBb can be redeemed after T1 time with privkey r2. At any time TxBb can be redeemed with signature fom privkey i2 and reveal of secret X. Responder broadcasts TxBb onto the network.

Step 5.
Initiator creates TxBp which spends TxBb using privkey i2 and secret X. With the revealed secret, responder can create TxAp which spends TxAb with privkey r1 and secret X.

Packages

No packages published

Languages

  • C++ 70.8%
  • C 17.9%
  • Python 3.7%
  • M4 2.4%
  • Makefile 1.4%
  • Shell 0.7%
  • Other 3.1%