How Hashflow works
Hashflow provides the speed, convenience, and liquidity features of traditional financial Exchanges and OTC Desks along with the non-custody, transparency, and solvency features associated with DEXs. Hashflow allows anyone to perform automated issuance, execution, custody, credit, clearance, and settlement functions as well as provides collateral management, transparency, audited market data, and cross-chain trading at nearly null cost using SPV Proofs and Proof of Solvency.
  • Overview

  • Multi-Centric Distributed Plasma

  • Credit-Lightning Channels

  • Non-Atomic Swaps

  • SPV Proofs

  • Timelocks

  • Forced Withdrawals

High-level overview
ETH
blockchain
Wallet Providers /
Watchtowers/
Price Oracles
BTC
blockchain
Users / PKIs
Traders /
Liquidity Providers
Hubs   
Exchange / OTC
ETH
blockchain
Hubs
Exchanges/ OTC
Hubs
Exchanges/ OTC
Hubs
Exchanges/ OTC
Hubs
Exchanges/ OTC
Users / PKIs
Traders /
Liquidity Providers
Users / PKIs
Traders /
Liquidity Providers
BTC
blockchain
Hubs
Exchanges/ OTC
Hubs
Exchanges/ OTC
Users / PKIs
Traders /
Liquidity Providers
ETH
blockchain
Watchtowers /
Price Oracles
Auditors / Data Providers
BTC
blockchain
Users / PKIs
Traders /
Liquidity Providers
Hubs
Exchanges/ OTC
ETH
blockchain
Users / PKIs
Traders /
Liquidity Providers
Hubs
Exchanges/ OTC
ETH
blockchain
Hubs
Exchanges/ OTC
ETH
blockchain
Users / PKIs
Traders / Liquidity Providers
Proof of Solvency
Financial Markets built on Hashflow are fully auditable, accountable, and transparent in their captial reserves and outstanding liabilities.
Use Hashflow Proof of Solvency to instantly validate the integrity of any Exchange or OTC Desk at any time.
Solvency Report
ASSET CHART 24H CHANGE TOTAL RESERVES TOTAL LIABILITIES
BTC   1.83% 899,567 135,000
ETH   4.27% 739,691 512,340
DAI   3.61% 293,160 132,225
Solvency Proof
VERIFY
Collateral
not required to operate an Exchange or OTC desk.
Credit-based trading
with custom rebalance and net-settlement times.
Counterparty optionality
act as a counterparty or enable p2p trading with zero risk.
No custom blockchains or sidechains
Hashflow APIs are fully open-sourced and 100% free to use. Whether you are an existing business or are starting a new one, our APIs seamlessly integrate with your platform without custom blockchains or sidechains.
1 2 3 4 5 6 7 8 9 10 11 12 13
const Hashflow = require('hashflow-api-demo1')

// Pass in a web3 instance. We use a null one in the demo.
const hashflow = new hashflow(null);

// Call the deposit function of user smart contract
const deposit = await hashflow.user.deposit({
tokenAddress: '0x004f3e7ffa2f06ea78e14ed2b13e87d710e8013f',
exchangeID: '0x35bf1d23',
walletProviderID: '0x442f1ab0',
depositAmount: 100
});
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
const Hashflow = require('hashflow-api-demo1')

// Pass in a web3 instance. We use a null one in the demo.
const hashflow = new hashflow(null);

// Call the withdraw function of user smart contract
const withdraw = await hashflow.user.withdraw({
tokenAddress: '0x004f3e7ffa2f06ea78e14ed2b13e87d710e8013f',
exchangeID: '0x35bf1d23',
walletProviderID: '0x442f1ab0',
withdrawAmount: 100,
merkleRootNumber: 15,
withdrawalProof: 0x7f92fb02e084e7f7fa9cd95e7e897cd8a5701985413bc90fef0098b30086d613',
salt: 'e1f53135e559c253',
merkleProof: '0x8d92fb02e084e7f7fa9cd95e7e897cd8a57e7e897cd8a590fef0098b30086d676'
});
1 2 3 4 5 6 7 8 9 10 11 12 13
const Hashflow = require('hashflow-api-demo1')

// Pass in a web3 instance. We use a null one in the demo.
const hashflow = new hashflow(null);

// As an exchange, call the rebalance function of exchange smart contract
const deposit = await hashflow.exchange.rebalance({
exchangeID: '0x35bf1d23',
merkleRootNumber: 15,
merkleRoot: '0x7f92fb02e084e7f7fa9cd95e7e897cd8a5701985413bc90fef0098b30086d613',
timestamp: 1565807055123
});
Deposit
Withdraw
Rebalance
API documentation coming soon.
API documentation coming soon.
Subscribe
Updates from the Hashflow Community
Email Address
Request early accessSubscribed!