SlideShare uma empresa Scribd logo
1 de 19
RIPPLE FROM SOFTWARE
ENGINEER POINT OF VIEW
Ripple introduction for
Software Developers and
Architects
RIPPLE
Ripple is a real-time fund settlement system, currency exchange, and remittan
https://developers.ripple.com/
Transaction processing
Fast consensus algorithm
Limited XPR coin supply
Secure with Ed25519
On-ledger decentralized exchange
PRE-BUILT FEATURES /1
Going beyond simple payments
https://developers.ripple.com/
Payment channels Escrow
{ "TransactionType" :
"DepositPreauth", "Account" :
"rsUiUMpnrgxQp24dJYZDhmV4bE
3aBtQyt8", "Authorize" :
"rEhxGqkqPPSxQ3P25J66ft5Twpz
V14k2de", "Fee" : "10", "Flags" :
2147483648, "Sequence" : 2 }
Deposit pre-authorization
PRE-BUILT FEATURES /2
Going beyond simple payments
https://ripple.com/
Decentralized Exchange Amendments Invariant Checking
{ "result":{ "error":"amendmentBlocked", "error_code":14,
"error_message":"Amendment blocked, need upgrade.",
"request":{ "command":"submit",
"tx_blob":"479H0KQ4LUUXIHL48WCVN0C9VD7HWSX0
MG1UPYNXK6PI9HLGBU2U10K3HPFJSROFEG5VD749
WDPHWSHXXO72BOSY2G8TWUDOJNLRTR9LTT8PS
OB9NNZ485EY2RD9D80FLDFRBVMP1RKMELILD7I922
D6TBCAZK30CSV6KDEDUMYABE0XB9EH8C4LE98LM
U91I9ZV2APETJD4AYFEN0VNMIT1XQ122Y2OOXO45G
J737HHM5XX88RY7CXHVWJ5JJ7NYW6T1EEBW9UE0
NLB2497YBP9V1XVAEK8JJYVRVW0L03ZDXFY8BBHP
6UBU7ZNR0JU9GJQPNHG0DK86S4LLYDN0BTCF4KW
V2J4DEB6DAX4BDLNPT87MM75G70DFE9W0R6HRNW
CH0X075WHAXPSH7S3CSNXPPA6PDO6UA1RCCZOV
Z99H7968Q37HACMD8EZ8SU81V4KNRXM46N520S4F
VZNSJHA" }, "status":"error" } }
RIPPLE LEDGER
https://developers.ripple.com/
HANDS-ON Accessing Ripple from
NodeJS
ALICE SENDS XPR TO BOB
https://developers.ripple.com/
0.01
PLAN
https://developers.ripple.com/
Start Linux Node
Install Software
Create Ripple Accounts
for Alice and Bob
Write code
Run!
GOOGLE CLOUD
https://console.cloud.google.com/compute/instances
START LINUX VM INSTANCE
(CENTOS 7)
https://console.cloud.google.com/compute/instances
START LINUX VM INSTANCE
(CENTOS 7)
https://console.cloud.google.com/compute/instances
OPEN SSH WINDOW AND INSTALL
SOFTWARE
Step 1. Install NodeJS
sudo yum install -y nodejs
Step 2. Install Yarn dependency manager
sudo npm install yarn -g
Step 3. Install Ripple library for JavaScript
yarn add ripple-lib
CREATE ACCOUNTS AND GET
SOME TEST XPR
https://developers.ripple.com/xrp-test-net-faucet.html
WRITE JS CODE (OR DOWNLOAD
IT)
'use strict';
const RippleAPI = require('ripple-lib').RippleAPI;
const addressFrom = 'rJpr9nKV7aikyFdUtPvuumAHYXvNJady1e’;
const secret = 'shiMavwRGuf2DhCbzVzaSKRSCMHkV';
const prodServer = 'wss://s1.ripple.com:443';const testServer = 'wss://s.altnet.rippletest.net:51233';
const addressTo = 'rDDFfub1aJaqsrztpHcoaJPBYg1eQZxKzs;
const api = new RippleAPI({server: testServer});
const instructions = {maxLedgerVersionOffset: 5};
…
https://github.com/Leybzon/Ripple-Baby-Steps
RUN
[leybzon]$ node payment.js
Connected...
Payment transaction prepared...Payment transaction signed...{ resultCode: 'tesSUCCESS',
resultMessage: 'The transaction was applied. Only final in a validated ledger.' }
CHECK THE LEDGER FOR ALICE
HTTPS://RIPPLERM.GITHUB.IO/RIPPLE-WALLET/
CHECK THE LEDGER FOR BOB
HTTPS://RIPPLERM.GITHUB.IO/RIPPLE-WALLET/
QUESTIONS
STAY IN TOUCH
Gene Leybzon https://www.linkedin.com/in/leybzon/
https://www.meetup.com/members/90744
20/
https://www.Leybzon.com

Mais conteúdo relacionado

Mais procurados

Ethereum Web3.js - Some tips for the developer
Ethereum Web3.js - Some  tips  for  the developer Ethereum Web3.js - Some  tips  for  the developer
Ethereum Web3.js - Some tips for the developer
炫成 林
 
Presentation_Topalidis_Giorgos
Presentation_Topalidis_GiorgosPresentation_Topalidis_Giorgos
Presentation_Topalidis_Giorgos
Giorgos Topalidis
 

Mais procurados (20)

Ethereum Web3.js - Some tips for the developer
Ethereum Web3.js - Some  tips  for  the developer Ethereum Web3.js - Some  tips  for  the developer
Ethereum Web3.js - Some tips for the developer
 
Ingredients for creating dapps
Ingredients for creating dappsIngredients for creating dapps
Ingredients for creating dapps
 
Solidity Simple Tutorial EN
Solidity Simple Tutorial ENSolidity Simple Tutorial EN
Solidity Simple Tutorial EN
 
Presentation_Topalidis_Giorgos
Presentation_Topalidis_GiorgosPresentation_Topalidis_Giorgos
Presentation_Topalidis_Giorgos
 
Smart contracts using web3.js
Smart contracts using web3.jsSmart contracts using web3.js
Smart contracts using web3.js
 
Learning Solidity
Learning SolidityLearning Solidity
Learning Solidity
 
Javascript toolset for Ethereum Smart Contract development
Javascript toolset for Ethereum Smart Contract developmentJavascript toolset for Ethereum Smart Contract development
Javascript toolset for Ethereum Smart Contract development
 
How to be a smart contract engineer
How to be a smart contract engineerHow to be a smart contract engineer
How to be a smart contract engineer
 
Cotap Tech Talks: Roderic Campbell, Minority Report UX with an Apple Watch
Cotap Tech Talks: Roderic Campbell, Minority Report UX with an Apple WatchCotap Tech Talks: Roderic Campbell, Minority Report UX with an Apple Watch
Cotap Tech Talks: Roderic Campbell, Minority Report UX with an Apple Watch
 
Ethereum Block Chain
Ethereum Block ChainEthereum Block Chain
Ethereum Block Chain
 
Blockchain Coding Dojo - BlockchainHub Graz
Blockchain Coding Dojo - BlockchainHub GrazBlockchain Coding Dojo - BlockchainHub Graz
Blockchain Coding Dojo - BlockchainHub Graz
 
Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015Ethereum Contracts - Coinfest 2015
Ethereum Contracts - Coinfest 2015
 
Introduction to Lightning Network
Introduction to Lightning NetworkIntroduction to Lightning Network
Introduction to Lightning Network
 
Ethereum bxl
Ethereum bxlEthereum bxl
Ethereum bxl
 
Build dapps 1:3 dev tools
Build dapps 1:3 dev toolsBuild dapps 1:3 dev tools
Build dapps 1:3 dev tools
 
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
Ethereum VM and DSLs for Smart Contracts (updated on May 12th 2015)
 
Libbitcoin slides
Libbitcoin slidesLibbitcoin slides
Libbitcoin slides
 
Meteor and Bitcoin (Lightning Talk)
Meteor and Bitcoin (Lightning Talk)Meteor and Bitcoin (Lightning Talk)
Meteor and Bitcoin (Lightning Talk)
 
Smart Contract programming 101 with Solidity #PizzaHackathon
Smart Contract programming 101 with Solidity #PizzaHackathonSmart Contract programming 101 with Solidity #PizzaHackathon
Smart Contract programming 101 with Solidity #PizzaHackathon
 
The Ethereum Geth Client
The Ethereum Geth ClientThe Ethereum Geth Client
The Ethereum Geth Client
 

Semelhante a Ripple

The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
confluent
 
Kakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming appKakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming app
Neil Avery
 
Kafka summit SF 2019 - the art of the event-streaming app
Kafka summit SF 2019 - the art of the event-streaming appKafka summit SF 2019 - the art of the event-streaming app
Kafka summit SF 2019 - the art of the event-streaming app
Neil Avery
 
The art of the event streaming application: streams, stream processors and sc...
The art of the event streaming application: streams, stream processors and sc...The art of the event streaming application: streams, stream processors and sc...
The art of the event streaming application: streams, stream processors and sc...
confluent
 

Semelhante a Ripple (20)

Ripple Developer Conference 2013 at Money2020
Ripple Developer Conference 2013 at Money2020Ripple Developer Conference 2013 at Money2020
Ripple Developer Conference 2013 at Money2020
 
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
 
Kakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming appKakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming app
 
Istio Service Mesh for Developers and Platform Engineers
Istio Service Mesh for Developers and Platform EngineersIstio Service Mesh for Developers and Platform Engineers
Istio Service Mesh for Developers and Platform Engineers
 
Docker In Bank Unrated
Docker In Bank UnratedDocker In Bank Unrated
Docker In Bank Unrated
 
DataArt Innovation Showcase Blockchain Billing
DataArt Innovation Showcase Blockchain BillingDataArt Innovation Showcase Blockchain Billing
DataArt Innovation Showcase Blockchain Billing
 
OpenCensus with Prometheus and Kubernetes
OpenCensus with Prometheus and KubernetesOpenCensus with Prometheus and Kubernetes
OpenCensus with Prometheus and Kubernetes
 
PM processing 03 2015(eng)
PM processing 03 2015(eng)PM processing 03 2015(eng)
PM processing 03 2015(eng)
 
High Availability OpenStack at PayPal - OpenStack Summit Fall Hong Kong 2013
High Availability OpenStack at PayPal - OpenStack Summit Fall Hong Kong 2013High Availability OpenStack at PayPal - OpenStack Summit Fall Hong Kong 2013
High Availability OpenStack at PayPal - OpenStack Summit Fall Hong Kong 2013
 
Kafka summit SF 2019 - the art of the event-streaming app
Kafka summit SF 2019 - the art of the event-streaming appKafka summit SF 2019 - the art of the event-streaming app
Kafka summit SF 2019 - the art of the event-streaming app
 
The art of the event streaming application: streams, stream processors and sc...
The art of the event streaming application: streams, stream processors and sc...The art of the event streaming application: streams, stream processors and sc...
The art of the event streaming application: streams, stream processors and sc...
 
"Fintech inside of a SaaS powered by 2000+ Microservices", Volodymyr Malyk
"Fintech inside of a SaaS powered by 2000+ Microservices", Volodymyr Malyk"Fintech inside of a SaaS powered by 2000+ Microservices", Volodymyr Malyk
"Fintech inside of a SaaS powered by 2000+ Microservices", Volodymyr Malyk
 
Ipso smart object seminar
Ipso smart object seminarIpso smart object seminar
Ipso smart object seminar
 
Forward Networks - Networking Field Day 13 presentation
Forward Networks - Networking Field Day 13 presentationForward Networks - Networking Field Day 13 presentation
Forward Networks - Networking Field Day 13 presentation
 
Forward Networks - Networking Field Day 13 presentation
Forward Networks - Networking Field Day 13 presentationForward Networks - Networking Field Day 13 presentation
Forward Networks - Networking Field Day 13 presentation
 
ERC20
ERC20ERC20
ERC20
 
[LDAPCon 2015] The OpenID Connect Protocol
[LDAPCon 2015] The OpenID Connect Protocol[LDAPCon 2015] The OpenID Connect Protocol
[LDAPCon 2015] The OpenID Connect Protocol
 
Stellar for payments, money transfer & remittances
Stellar for payments, money transfer & remittancesStellar for payments, money transfer & remittances
Stellar for payments, money transfer & remittances
 
What are the benefits of Cryptocurrency Exchange Script.pptx
What are the benefits of Cryptocurrency Exchange Script.pptxWhat are the benefits of Cryptocurrency Exchange Script.pptx
What are the benefits of Cryptocurrency Exchange Script.pptx
 
Consul First Steps
Consul First StepsConsul First Steps
Consul First Steps
 

Mais de Gene Leybzon

Non-fungible tokens (nfts)
Non-fungible tokens (nfts)Non-fungible tokens (nfts)
Non-fungible tokens (nfts)
Gene Leybzon
 

Mais de Gene Leybzon (20)

Generative AI Application Development using LangChain and LangFlow
Generative AI Application Development using LangChain and LangFlowGenerative AI Application Development using LangChain and LangFlow
Generative AI Application Development using LangChain and LangFlow
 
Chat GPTs
Chat GPTsChat GPTs
Chat GPTs
 
Generative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second SessionGenerative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second Session
 
Generative AI Use-cases for Enterprise - First Session
Generative AI Use-cases for Enterprise - First SessionGenerative AI Use-cases for Enterprise - First Session
Generative AI Use-cases for Enterprise - First Session
 
Non-fungible tokens (nfts)
Non-fungible tokens (nfts)Non-fungible tokens (nfts)
Non-fungible tokens (nfts)
 
Introduction to Solidity and Smart Contract Development (9).pptx
Introduction to Solidity and Smart Contract Development (9).pptxIntroduction to Solidity and Smart Contract Development (9).pptx
Introduction to Solidity and Smart Contract Development (9).pptx
 
Ethereum in Enterprise.pptx
Ethereum in Enterprise.pptxEthereum in Enterprise.pptx
Ethereum in Enterprise.pptx
 
ERC-4907 Rentable NFT Standard.pptx
ERC-4907 Rentable NFT Standard.pptxERC-4907 Rentable NFT Standard.pptx
ERC-4907 Rentable NFT Standard.pptx
 
Onchain Decentralized Governance 2.pptx
Onchain Decentralized Governance 2.pptxOnchain Decentralized Governance 2.pptx
Onchain Decentralized Governance 2.pptx
 
Onchain Decentralized Governance.pptx
Onchain Decentralized Governance.pptxOnchain Decentralized Governance.pptx
Onchain Decentralized Governance.pptx
 
Web3 File Storage Options
Web3 File Storage OptionsWeb3 File Storage Options
Web3 File Storage Options
 
Web3 Full Stack Development
Web3 Full Stack DevelopmentWeb3 Full Stack Development
Web3 Full Stack Development
 
Instantly tradeable NFT contracts based on ERC-1155 standard
Instantly tradeable NFT contracts based on ERC-1155 standardInstantly tradeable NFT contracts based on ERC-1155 standard
Instantly tradeable NFT contracts based on ERC-1155 standard
 
Non-fungible tokens. From smart contract code to marketplace
Non-fungible tokens. From smart contract code to marketplaceNon-fungible tokens. From smart contract code to marketplace
Non-fungible tokens. From smart contract code to marketplace
 
The Art of non-fungible tokens
The Art of non-fungible tokensThe Art of non-fungible tokens
The Art of non-fungible tokens
 
Graph protocol for accessing information about blockchains and d apps
Graph protocol for accessing information about blockchains and d appsGraph protocol for accessing information about blockchains and d apps
Graph protocol for accessing information about blockchains and d apps
 
Substrate Framework
Substrate FrameworkSubstrate Framework
Substrate Framework
 
Chainlink
ChainlinkChainlink
Chainlink
 
Chainlink, Cosmos, Kusama, Polkadot: Approaches to the Internet of Blockchains
Chainlink, Cosmos, Kusama, Polkadot:   Approaches to the Internet of BlockchainsChainlink, Cosmos, Kusama, Polkadot:   Approaches to the Internet of Blockchains
Chainlink, Cosmos, Kusama, Polkadot: Approaches to the Internet of Blockchains
 
Oracles
OraclesOracles
Oracles
 

Último

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 

Último (20)

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 

Ripple

  • 1. RIPPLE FROM SOFTWARE ENGINEER POINT OF VIEW Ripple introduction for Software Developers and Architects
  • 2. RIPPLE Ripple is a real-time fund settlement system, currency exchange, and remittan https://developers.ripple.com/ Transaction processing Fast consensus algorithm Limited XPR coin supply Secure with Ed25519 On-ledger decentralized exchange
  • 3. PRE-BUILT FEATURES /1 Going beyond simple payments https://developers.ripple.com/ Payment channels Escrow { "TransactionType" : "DepositPreauth", "Account" : "rsUiUMpnrgxQp24dJYZDhmV4bE 3aBtQyt8", "Authorize" : "rEhxGqkqPPSxQ3P25J66ft5Twpz V14k2de", "Fee" : "10", "Flags" : 2147483648, "Sequence" : 2 } Deposit pre-authorization
  • 4. PRE-BUILT FEATURES /2 Going beyond simple payments https://ripple.com/ Decentralized Exchange Amendments Invariant Checking { "result":{ "error":"amendmentBlocked", "error_code":14, "error_message":"Amendment blocked, need upgrade.", "request":{ "command":"submit", "tx_blob":"479H0KQ4LUUXIHL48WCVN0C9VD7HWSX0 MG1UPYNXK6PI9HLGBU2U10K3HPFJSROFEG5VD749 WDPHWSHXXO72BOSY2G8TWUDOJNLRTR9LTT8PS OB9NNZ485EY2RD9D80FLDFRBVMP1RKMELILD7I922 D6TBCAZK30CSV6KDEDUMYABE0XB9EH8C4LE98LM U91I9ZV2APETJD4AYFEN0VNMIT1XQ122Y2OOXO45G J737HHM5XX88RY7CXHVWJ5JJ7NYW6T1EEBW9UE0 NLB2497YBP9V1XVAEK8JJYVRVW0L03ZDXFY8BBHP 6UBU7ZNR0JU9GJQPNHG0DK86S4LLYDN0BTCF4KW V2J4DEB6DAX4BDLNPT87MM75G70DFE9W0R6HRNW CH0X075WHAXPSH7S3CSNXPPA6PDO6UA1RCCZOV Z99H7968Q37HACMD8EZ8SU81V4KNRXM46N520S4F VZNSJHA" }, "status":"error" } }
  • 7. ALICE SENDS XPR TO BOB https://developers.ripple.com/ 0.01
  • 8. PLAN https://developers.ripple.com/ Start Linux Node Install Software Create Ripple Accounts for Alice and Bob Write code Run!
  • 10. START LINUX VM INSTANCE (CENTOS 7) https://console.cloud.google.com/compute/instances
  • 11. START LINUX VM INSTANCE (CENTOS 7) https://console.cloud.google.com/compute/instances
  • 12. OPEN SSH WINDOW AND INSTALL SOFTWARE Step 1. Install NodeJS sudo yum install -y nodejs Step 2. Install Yarn dependency manager sudo npm install yarn -g Step 3. Install Ripple library for JavaScript yarn add ripple-lib
  • 13. CREATE ACCOUNTS AND GET SOME TEST XPR https://developers.ripple.com/xrp-test-net-faucet.html
  • 14. WRITE JS CODE (OR DOWNLOAD IT) 'use strict'; const RippleAPI = require('ripple-lib').RippleAPI; const addressFrom = 'rJpr9nKV7aikyFdUtPvuumAHYXvNJady1e’; const secret = 'shiMavwRGuf2DhCbzVzaSKRSCMHkV'; const prodServer = 'wss://s1.ripple.com:443';const testServer = 'wss://s.altnet.rippletest.net:51233'; const addressTo = 'rDDFfub1aJaqsrztpHcoaJPBYg1eQZxKzs; const api = new RippleAPI({server: testServer}); const instructions = {maxLedgerVersionOffset: 5}; … https://github.com/Leybzon/Ripple-Baby-Steps
  • 15. RUN [leybzon]$ node payment.js Connected... Payment transaction prepared...Payment transaction signed...{ resultCode: 'tesSUCCESS', resultMessage: 'The transaction was applied. Only final in a validated ledger.' }
  • 16. CHECK THE LEDGER FOR ALICE HTTPS://RIPPLERM.GITHUB.IO/RIPPLE-WALLET/
  • 17. CHECK THE LEDGER FOR BOB HTTPS://RIPPLERM.GITHUB.IO/RIPPLE-WALLET/
  • 19. STAY IN TOUCH Gene Leybzon https://www.linkedin.com/in/leybzon/ https://www.meetup.com/members/90744 20/ https://www.Leybzon.com