您的位置:首页 > 大数据 > 人工智能

Ripple(Glance)

2016-11-20 00:00 232 查看
摘要: A glance of Ripple

Ripple Solutions
Ripple Connect (real-time settlement of cross-border payments)
Ripple Network (ILP Validator)
Ripple Stream (FIX/NET/Json + websockets)

Ripple Network
基于区块链分布式账本技术的价值网络(IoV)
主要用于存储Ripple用户的账户和余额
(component:connect<restful/https + OAth2.0> + ILP validator<wss> + ILP ledger<wss> + FX Connector<wss> + Quoter<wss>/Ledger + FI RDBMS/Ledger Database)
Server
Ledger
Last-Closed Ledger
Open Ledger
Unique Node List(UNL)
Proposer

Ripple Connect
支持plug and play的硬件模块
专门处理支付清算请求/即时询价/建立汇款银行和收款银行通信
Pre-Transaction Communication
Fee Transparency
Funds Settlement with Unique Identifier
Liquidity Access
Configurable Fees and FX Rates
Secure Communication
End-to-End Transaction Visibility
Payment Delivery Confirmation

Ripple Stream
流动性提供商/银行外汇部门的的专有插件
允许其向Ripple提交卖出和买入价格

Ripple Trade
面向个人,已经废弃。现在主要面向企业。
ripple wallet => migrate to gatehub

Ripple GateHub
signup a account->verify the email->fill the profile->

Ripple Wallet
gatehub.net

Ripple Participates
银行(使用Ripple Connect)
做市场(使用Riplle Stream)
支付发起人
收款人

Ripple Security
Cryptographic (Ed25529-sha-512)
Separation betwen payment data and settlement data
Secure Communication (HTTPs/WebSockets connections/Oauth 2.0 )

Ripple Compliance
Ripple as a Technology Service Provider
KYC and AML Compliance Processes
Fee Pre-Disclosure

Ripple Benefits
Real-Time Payments with No Settlement Risk (single-step atomic transaction,降低风险)
Flexible Liquidity Provisioning(降低流动性成本)
Lower Operational Costs(降低运营成本)

Ripple Payment
current:inefficient/batch payment
low-volume high-value slow batch-payments
ripple:efficient/on-demand payment
high-volume low-value real-time individual-payments

Ripple Use Cases (mainly cross-currency settlement)
Remittance Service for Retail Customers
International Transaction Banking Service
International Corporate Payments
Cross-Border Intrabank Currency Transfers

SWIFT Protocol vs Ripple Protocol
Transparent?
Predictable?
Bidirectional?
Instant?
Information-rich?

Ripple Coin(XRP)
1000亿
Ripple Labs要求每个Ripple账户都至少有20个瑞波币,每进行一次交易,就会销毁十万分之一个瑞波币。

Ripple Coin(Distributes)
对社区用户的免费赠送/WCG挖矿/大户批发/对内部员工以工资形式发放/对合作机构的免费赠送

Ripple Coin(Exchange)
trade/exchange platform for bitcoin https://www.kraken.com/
Ripple Protocol
The Ripple Ledger Consensus Process<RLCP>
Ripple Transaction Protocol<RTXP>

Ripple Version
2.3
(3.0 is ongoing)

Ripple Consensus Ledger
RCL is a kind of blockchain
包含账单编号、账户信息<账户资产负债信息>、交易信息、时间戳等
3-6s<<<bitcoin 10mins

Ripple Ledger
ledger number + ledger info<account settings, trustlines, balances, etc> + transaction + timestamp + validated
5 ledger node type: AccountRoot/DirectoryNode/Offer/RippleState/SignerList
AccountRoot<describe a single account object>
DirectoryNode<provide a list of links to other nodes in the ledger's state tree, two kinds:OfferDirectory/OwnerDirectory>
Offer<describe an offer to exchange currencies, known as an order>
RippleState<connect two accounts in a single currency>
SignerList<represent a list of parties as a group, are authorized to sign a transaction in place of an individual account>

Rippled(Ripple Server)
written in c++ (open source in github)
core peer-to-peer server
provides json-rpc/wss apis of all ripple functionality
manage the RCP
connect to a network of peers
relay cryptographically signed transaction
maintain a local copy of the complete shared global ledger
3 running modes: stockserver/validator/standalone
Stock server - follows the network with a local copy of the ledger.
Validating server, or validator for short - participates in consensus.
rippled server in stand-alone mode - for testing. Does not communicate to other rippled servers

Ripple API
javascript<babel/ecmascript6> only
local(nodejs + npm + git)

Ripple Transaction
only way to modify the RCL
create/signing(authorizing)/submit/accept/share by rippled
7 kinds of transaction:
Payment - Send funds from one account to another
AccountSet - Set options on an account
SetRegularKey - Set an account's regular key
OfferCreate - Submit an order to exchange currency
OfferCancel - Withdraw a currency-exchange order
TrustSet - Add or modify a trust line
SignerListSet - Set multi-signing settings
2 pseudo transaction:
SetFee - Adjust the minimum transaction cost or account reserve
EnableAmendment - Apply a change to transaction processing

Ripple Data API https://data.ripple.com/ local historial database(hbase + nodejs + npm + git)

Ripple Address
address=>wallet
3 kinds of address
issuing address(cold wallet, highest security)
operational address(hot wallet, automated)
stand address(warm wallet, human-operated)

Ripple Account
The Payment transaction type is the only way to create new accounts
in the Ripple Consensus Ledger. To do so, send an amount of XRP
that is equal or greater than the account reserve to a mathematically-valid
account address that does not exist yet. When the Payment is processed,
a new AccountRoot node is added to the ledger

Ripple Funds Flow
Liquidity provider/parter/other customer -- redeem --> Issuing Address(highest security)
Issuing Address(highest security) -- issue --> Standby Address(human-operated)
Standby Address(human-operated) -- transfer(refill) --> Operational Address(automated)
Operational Address(automated) -- redeem --> Liquidity provider/parter/other customer

Ripple Test Net
wss://s.altnet.rippletest.net:51233 https://api.altnet.rippletest.net:5990 51234 (RPC port)

Ripple Gateway (financial Service/Business)
3 mainly kinds gateway:
Issuing Gateway
Private Exchange
Merchants

Ripple Concepts(other)
Ledger
Transaction
Payment
Exchange
Exchange Rate
Normalize
Capitalization
Issuer
Volume
Currency
Currency Pair
Topology
Topology Node
Topology Link
Validator
Validation
Report
Market
Value
Account
Balance
Offer/Order

Ripple Charts
provide a online service to view the data from Ripple network(https://charts.ripple.com/)
provide a chart js library to be integrated to the 3rd parties(https://github.com/ripple/ripplecharts-frontend)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息