Ripple

How does Ripple Work?

The Ripple protocol builds upon – and in some ways improves on – other digital currencies. Like other digital currencies, the Ripple protocol enables peer-to-peer transaction settlement through a decentralized network of interconnected computers. This eliminates several of the fees and counterparty risk involved in interbank fund transfers.

 

About usEmpirica is a trading software company focused on developing the potential that cryptocurrencies bring to financial markets. Empirica is offering solutions such as Cryptocurrency Algorithmic Trading Software implemented by major institutional investors and crytpo market makerswealth management software framework, crypto trading bots and trading software development services for companies from capital and cryptocurrency markets.

 

However, in contrast to other digital currencies, the Ripple protocol is completely currency agnostic and users are not required to convert local currency into Ripple’s native currency (XRP or “ripples”). Additionally, rather than attempt to circumvent traditional financial institutions, Ripple relies on financial institutions to function as gateways into and out of the Ripple network, and market makers to provide liquidity for FX conversion by posting bids/asks for each currency pair. Ripple routes each transaction to the trader(s) with the best price in the network.

Thus, in the same transaction discussed above, the U.S. importer’s bank would directly plug into Ripple and initiate a USD to EUR transaction. Market makers will compete for the transaction by posting bid/ask for EUR/USD. Ripple will ensure the market maker posting the cheapest offer fulfills the transaction. This market maker will thus, buy USD from U.S. Bank and sell Euros to the EU Bank.

The illustrative example points to several potential advantages of using the Ripple Protocol for interbank transfers.

  • First, because, users are not required to convert to XRP in order to transact on the Protocol, the sender of the funds only needs to worry about one fee, which is the FX spread. This spread, moreover, is minimized given Ripple’s algorithm to route transactions to the lowest spread on the network.
  • Second, because Ripple is not intended to be directly customer interfacing, banks continue to control their customers’ experience. Thus, banks could ultimately decide how much of the cost savings to pass on to their customers.
  • Third, transactions on the Ripple network typically settle within a few seconds. This enables banks to grant their customers faster access to their funds, improving their overall customer experience, and improving working capital for businesses.
  • Fourth, since customers continue to interface directly with their bank to access Ripple, KYC/AML and compliance requirements around customer interaction are already in place and can largely remain the same

Key Features of the Protocol

Below are key features of Ripple protocol, which further highlight how it differs from other interbank transfer systems and digital currency protocols:

  1. Consensus: the Driver of Real-Time Settlement

The Ripple network is a shared public ledger administered collectively by a network of servers. This ledger tracks the accounts and balances of Ripple users. Within the Ripple Network, all transactions are authorized and settled through a process called consensus. This process entails a supermajority of Ripple servers mutually agreeing that a transaction within the network is valid before updating the ledger.

Ripple servers use public/private key cryptography to verify whether transactions are valid or not. Each transaction that gets submitted is signed with a unique digital signature, analogous to how people sign paper checks with a unique signature in traditional banking. Ripple servers mathematically verify that the correct signature appears – the signature of the owner of the funds – before including transactions in a new ledger.

Consensus must be reached among a supermajority of connected computers in order to make changes to the ledger. This is what is known as an atomic process – either a transaction is completely verified, or not.

This process is what enables the Ripple Network to offer users real-time settlement (typically between 3 to 6 seconds) and bypass the need of a central operator, which as explained above, circumvents layers of fees that financial institutions, business and/or consumer bear for traditional payments. In other words, the process of consensus is what enables fast, secure and decentralized settlement on the Ripple network. This distinguishes Ripple from other digital currency protocols, such as Bitcoin, which rely on a process called proof of work (i.e. mining) to validate transactions on the block chain. Unlike Bitcoin, Ripple does not rely on mining to reach consensus, so it does not consume the large amounts of energy that Bitcoin does, nor is the network’s security related to the amount of processing power devoted to it.

  1. Currency-Agnostic: a Key Differentiator from Other Digital Currencies

The Ripple protocol also has a native currency called XRP (sometimes pronounced “ripples”) that exists within the network. This is similar to other digital currency protocols, which enable the creation and distribution of a native digital currency. Like other currencies, XRP is known as a crypto currency, or a currency that is verifiable using mathematical properties. These crypto currencies are digital assets, which can be transferred within the network.

Unlike other digital currency protocols, however, Ripple provides users complete currency choice and does not require users to transact in XRP. Instead, XRP is there to provide two key functions: to prevent abuse of the system and to act as a bridge currency for market makers providing liquidity within the network (more on both of these features below). Thus, users can hold balances in one currency and transact in another currency without converting to XRPs in the process.

  1. FX In-Stream: Lowering the Cost of FX through Market Maker Competition

Cross currency payments have historically been an area with very healthy margins. The FX component of an international wire transfer can frequently bear a 2% – 4% fee to exchange even the most liquid G10 currencies. Retail remittance pricing is even higher, often at a 5% -10% spread to institutional foreign exchange market pricing.

Ripple has the potential to meaningfully bring down these costs by making payment FX rates competitive on a per transaction basis.

The Ripple network translates currencies by routing orders through market makers competing to earn bid/ask spread. These markets makers are important sources of liquidity within the network and are primarily financial institutions with a business in currency or securities market making (i.e. banks, hedge funds, quantitative trading shops). Market makers compete for business within the Ripple network, posting orders to buy and sell different currency pairs to facilitate payments.

The Ripple Protocol is designed to route every transaction to the cheapest price available in the market. Thus, the only way an order gets filled is if it is posting the best price for a specific currency pair at the particular time the transaction is executed. As a result, the protocol can lower one of the highest financial and operational costs for financial services companies moving funds across national boundaries.

  1. Pathfinding Ripple’s Pathfinding Algorithm further improves on market maker pricing by searching for the cheapest path for payments to move across the network.

In liquid currency crosses, the cheapest path will often be a direct “one hop” path through one market maker, for example directly from USD to EUR. However, the Ripple pathfinding feature will seek the cheapest path even if it is a more complex route through several intermediary currencies.

In the example below, the sender of a payment holds EUR, and the recipient wants to be paid in KRW. Since there may not be a tight market in EUR/KRW, the payment is routed through several order books to improve the price. Unlike in traditional markets, users are not exposed to legging risk. Ripple executes multi-hop paths as a single atomic transaction. The entire transaction either completes or it never happens – there is no way for a payment to get “stuck” en route. Since Ripple transactions are just updates to a distributed ledger, multiple legs can be executed at the same instant as they are all included in the same ledger update. There is no counterparty risk to intermediaries.

Ripple Currency (XRP): Overview

The Ripple protocol has a native currency called XRP (sometimes referred to as “ripples”), which performs several key functions within the network. XRP, like other digital currencies, is a math-based currency (also known as cryptocurrency), which is a digital asset with verifiable mathematical properties. As a digital asset, ownership of XRP can be directly transferred peer-to-peer.

Just like bitcoin exists natively on the blockchain, XRP exists natively on the Ripple network as a counterparty-free currency. Unlike the Bitcoin Protocol, however, Ripple users can opt not to use XRP as a medium of exchange. Instead, XRP performs two key functions within the network: protect the network from abuse and provide a bridge currency for market makers. More on these functions below.

XRP: Protecting Against Network Abuse

Since the Ripple network is based around a shared ledger of accounts, a malicious attacker could create large amounts of “ledger spam” (i.e. fake accounts) and transaction spam (i.e. fake transactions) in an attempt to overload the network. This is commonly known as a denial-of-service (DoS) attack. In a DoS attack, perpetrators attempt to overwhelm a server with so many communication requests that the server is unable to respond to legitimate requests.

XRP’s primary function is to provide a layer of security within the network to protect against these types of attacks.

To protect the network from abusive creation of excess ledger entries, each Ripple account is required to have a small reserve of XRP to create ledger entries. This reserve requirement is 20 XRP (or about $0.12 at the time of writing). This requirement is intended to be a negligible amount for normal users while preventing a potential attacker from amassing a large number of fraudulent accounts to “spam” the network.

As a second line of defense, with each transaction that is processed, 0.00001 XRP is destroyed (roughly $0.000000055 at the time of writing). This is not a fee that is collected by anyone – the XRP is destroyed and ceases to exist. This transaction fee is also designed to be negligible for users. But when the network is under heavy load, such as when it is attacked, this fee rapidly rises.

The goal of this design is to quickly bankrupt attackers and keep the network functioning smoothly. Attacking the Ripple network can get very expensive, very quickly, but for regular users, the cost effectively remains “free.” In this context, XRP can be thought of as a postage stamp for transactions. If the price of XRP were to appreciate significantly to the point where sending transactions becomes a nonnegligible cost for normal users, there is a mechanism in place to lower (or raise) transaction fees by a supermajority vote of server operators.

XRP: A Bridge

Currency for Liquidity XRP can also serve as an ideal bridge for illiquid currency pairs. In theory, users of the Ripple Network could exchange anything of value. This could include fiat currencies, digital currencies, gold and even items like loyalty points, airline miles, or securities.

On a protocol level, Ripple makes a distinction between both the balance type (USD, EUR, XAU) and the issuing counterparty (Bank A, Bank B, etc.). This is important because USD balances issued by two different banks are technically liabilities of different institutions and have different counterparty risk profiles. From the perspective of the protocol, they are different financial instruments. As the number of assets and the number of counterparties in the network grows, the number of currency pairs can quickly become unmanageable for a market maker.

Instead of quoting every possible currency/gateway combination, XRP can serve as a useful bridging tool for market makers. If every currency is liquid to XRP, it is also liquid to other currencies.

Thus, while Ripple users have complete currency choice – meaning they can hold balances in one currency (such as USD) but transact in any other (such as JPY) – the market makers facilitating those transactions may see holding XRP as an ideal bridge currency.

The role of a “bridge currency” or “vehicle currency” is traditionally played by USD in financial markets. Within the Ripple network, there is a functional reason to prefer XRP. Because XRP is a natively digital asset (as opposed to a balance/liability), it is the only instrument within Ripple that has no counterparty risk, so it can be universally exchanged between market makers with no friction. Also, because it has no counterparty, XRP never has third party fees attached to it.

Ripple Labs believes that an increase in the number of counterparties and asset types in the network adds to the utility of XRP and creates demand for XRP in the long run.

 

 

Schedule your appointment right now to learn more

A brief guide to Litecoin

What is Litecoin and how does this differ from Bitcoin?

Since Bitcoin was established in 2009, many other blockchain assets are released with modified versions of Bitcoin’s code, with varying levels of success. Litecoin is one such altered variant and was launched in 2011, with the most important aim of earning transactions faster. This is also one of the main differences versus Bitcoin. Litecoin is currently the seventh largest cryptocurrency in terms of market capitalization.

The motivation behind its formation was to improve upon Bitcoin connected to the volume and speed of transactions. While practically speaking, Litecoin and Bitcoin work in precisely the exact same style, Litecoin differs from Bitcoin in aspects such as quicker block generation rate and use of a different type of algorithm called scrypt. The block creation is four times as fast on Litecoin, which means faster transaction times, making Litecoin more appropriate to handling obligations. What’s more, Litecoin is significantly more efficient in terms of energy consumption in the mining process and ordinary consumer grade house computers may handle the mining.

As Litecoin retains the deflationary feature of Bitcoin by placing a limitation on the maximum amount of coins that will ever be generated (84 million), it’s often known as the ‘digital silver’ into Bitcoin’s ‘digital gold’.

Popularity, with the cost increasing fivefold in only three days into an intraday high of USD 48, as the early adopter crypto community started to look for alternatives to investing in Bitcoin. Favorable evaluation comparisons were printed with Litecoin before trading at approximately USD 3-4. The steep and surprising rally was followed by an equally steep.

Litecoin found new prominence when it became the biggest Blockchain advantage up to that point to implement a new technology that divides a number of their transaction data in the block and allows more transactions to be set on the same block. But Litecoin stole the march on Bitcoin as it proposed the implemention of this SegWit solution, and from March, it accumulated considerable support from the Litecoin community.

Because of this, Litecoin strongly outperformed Bitcoin involving when Bitcoin also progressed towards implementing the SegWit solution, the Litecoin rally stalled. Since Bitcoin continued to rally, Litecoin has lost about half of its value relative to Bitcoin at a month.

A much more directly related competitor in the kind of the recently created Bitcoin Cash. Both have features designed to make transactions quicker and easier, and to allow these cryptocurrencies to act as payment mechanisms and achieve wide adoption.
There are several reasons in favor of the two crypto assets. Though Bitcoin Cash has the benefit of a larger block size, entire, Litecoin appears to be farther advanced in implementing alternatives to improve transaction speed. Including testing the lightning network, an instantaneous and very affordable layer for processing trades including microtransactions off the blockchain.

There’s also a valuation argument in favor of Litecoin, as the market capitalization of this newly created Bitcoin Cash is roughly twice that of Litecoin, while Litecoin is currently accepted as payment and used by many companies.

On the other hand, the name recognition of ‘Bitcoin’ along with the Long history of the first code may signify that ultimately, more will embrace Bitcoin Cash.

About us

Empirica is a trading software company focused on developing the potential that cryptocurrencies bring to financial markets. Empirica is offering solutions such as Algo Trading Platform used by professional cryptocurrency investors, crypto market makersrobo advisory softwarecrypto trading bots and trading software development services for companies from capital and cryptocurrency markets.

 

 

Schedule your appointment right now to learn more

A brief guide to cryptocurrency exchanges

With a rapidly growing interest among technologist as well as trader towards cryptocurrencies, we have been writing a series of posts about them. In this post we will be covering cryptocurrency exchanges and point out their characteristics, and hopefully at the end of this post you may get an idea on which crypotocurrency exchange to do your trades.

Generally there are many doubts and question marks around how reliable cryptocurrency exchanges are. There has been a lot of rumors and news also around governments getting involved and closing down cryptocurrency exchanges, we heard that in South Korea  the governments is going to raid the cryptocurrency exchanges operating in the country and shut them down. If you are curious about that story, one of the officials from the government called that an “unrealistic move”. nevertheless in recent times we have heard numerous speculations about cryptocurrency world which never came to life.

The purpose of this post is to assess the most known and used cryptocurrency exchanges. We have chosen arguably the top rated exchanges, basing on fees applied, how safe the exchange is, if liquidity in the exchange is high or not, the possible pairs and currencies to trade with  USD, Euros or crypto with crypto and so on. The list we have gathered is narrowed with qualities indicated above.

Coinbase

Coinbase is one the most known and used exchange for Cryptocurrencies with up to 10 million users. Coinbase was founded in 2012 and is California based Crypto exchange for cryptocurrencies like Bitcoin, Ethereum, Litcoin, Ripple and etc. After introducing GDAX, Coinbase also aimed more sophisticated traders with a more powerful tool. Coinbase is also available for mobile users. Fees charged are around 0.25%.

Read here more on our coinbase market making bot and coinbase trading bot.

Bitfinex

Bitfinex is a Hong Kong based cryptocurrency exchange, specialized for trading Bitcoin and Altcoins. About fees, Bitfinex does have very low fees of 0.2% and for those who instead place trades in the order book will pay only 0.1%. Bitfinex is also available for traders to trade using mobile app. Bitfinex offers a variety of order types. For automating the trades Bitfinex also has provided an API feature for third-party softwares to integrate.

Coinmama

Coinmama is a well-known, Israeli based Bitcoin exchanges which traders could purchase Bitcoin using creadit/debit cards. The fees in Coinmama are about 6%, relatively high among other exchanges. Though Coinmama does not require traders to provide or upload their know your customer (KYC) documents.

Kraken

Kraken known as one of the largest Bitcoin exchanges. Kraken’s users can trade Bitcoin using Canadian dollars, US dollars, British Pounds and Japanese yen. Kraken is in Euro volume and liquidity. Kraken was founded in 211 by Jesse Powel, Kraken is also known for low transaction fees ranging from 0% to 0.26% depending on the account tier and the type of the transaction(buy/sell).

Gemini

Gemini is a US based exchange mainly focused on Bitcoin, US dollars and Ethereum. Gemini was founded in 2015 by Winklevoss twins (same brothers who claimed Mark Zuckerberg stole the idea of Facebook from them). Gemini’s users can deposit Bitcoin, Ether and make bank and wire transfer free of charge. In regard to trading fee, Gemini set to charge 0.25% for sellers and buyers. Gemini is referred to as the safest cryptocurrency exchange out there.

More on cryptocurrency exchanges:

Exchange

 

Estimated traffic

 

users

 

Fees

 

Tokens traded

 

Coinbase

 

109M

 

10.1M

 

0.25%

 

Bitcoin, Litecoin, Ethereum, Bitcoin Cash, Ethereum Classic

 

Bitterex

 

85M

 

5.6M

 

0.25%

 

Bitcon, Ubiq, Litecoin, Blackcoin, Dash, Ethereum, Gambit, Gridcoin

 

Bitfinex

 

 

36.5M

 

2.9M

 

0.20% Bitcoin, Ethereum, Ripple, Litecoin, Bitcoin Cash, EOS, NEO, Iota, Ethereum Classic, Monero, Dash, Zcash, OmiseGO and more
Kraken

 

22.6M

 

2.9M

 

0 to 0.26%

 

Bitcoin, Ethereum, Litecoin, Gnosis, EOS, Dogecoin, Tether, Melon, Zcash, Augur tokens, Iconomi, Stellar, Ethereum classic, Ripple, Monero, Dash

 

Okex

 

 

3.5M

 

350K

 

0.20% to 0.25% CommerceBlock, Revain, Bitcoin, Chatcoin, Gifto, Zipper, Ethereum, Zencash and more
Gdax

 

46M

 

4.5M

 

0.25%

 

Bitcoin, Bitcoin Cash, Litecoin, Ethereum
CEX

 

10.8M

 

1.6m

 

3.9%

 

Bitcoin, Ethereum, Bitcoin Cash, Litcoin
Gemini

 

3.4M

 

111K

 

0.25%

 

Bitcoin, Ethereum
Coinmama

 

999K

 

33.4K

 

6%

 

Bitcoin, Ethereum

About empirica

We are trading software company focused on developing the potential that cryptocurrencies bring to financial markets. Empirica is offering solutions such as Algorithmic Trading System used by professional investors, tools for cryptocurrency liquidity, robo advisory software, crypto trading bots and trading software development services for companies from capital and cryptocurrency markets.

 

 

Schedule your appointment right now to learn more