SlideShare ist ein Scribd-Unternehmen logo
1 von 103
Cryptocurrency
&&
Ruby
Dilum Navanjana
dilumn dilumn_
October 2017
Day 2
Python Data Analysis Library
Writing their own by Ruby
Why always Python for
Data Analysis??
Fastest??
Third Party Support??
Community Support??
Why we use Rails??
Fastest??
Third Party Support??
Community Support??
github.com/dilumn/elchapo
I am the creator of
define Cryptocurrency
define Bitcoin
Blockchain
Linked List
Bitcoin
👨💻
Data structure
All cryptocurrencies
I checked
Have
APIs exposed
Bitcoin
Remote Procedure Calls (RPC)
Bitcoin RPC API
Ethereum
Inter-process Communication
(IPC)
Remote Procedure Calls (RPC)
Ethereum RPC API
https://github.com/ethereum/wiki/wiki/JSON-RPC
Ethereum Management API
https://github.com/ethereum/go-ethereum/wiki/Management-
APIs
personal_unlockAccount
params: [
'0x407d73d8a49eeb85d32cf465507dd71d507100c1',
'passphrase',
‘30’
]
Ruby Wrapper
A
Node up & running
For testing
I preferred Docker
Bitcoin
https://github.com/dilumn/bitcoin-rb
Ethereum
https://github.com/dilumn/ethereum-rb
OR
Run your own daemon
Bitcoin transactions to
SQL
Bitcoin Node
Internet
Ruby Script
mySQL
Block 1 to 500,000+
Bitcoin block
Transaction raw details
maximum 5 days
Bitcoin Node
Internet
Script
mySQL
Bitcoin Node
Internet Script
mySQL
Bitcoin Node
236,915,620 transactions
76.63 GB
Initial plan was to
Highest
Value
Transferred
within Bitcoin
&&
few more researches
● Within 2009 - 6000 BTC on Jul 21, 2009
● Within 2010 - 90,000 BTC on Nov 09, 2010
● Within 2011 - 499,720.7 BTC on Nov 16, 2011
● Within 2012 - 125,000 BTC on Sep 02, 2012
● Within 2013 - 194,993 BTC on Nov 23, 2013
● Within 2014 - 212,517 BTC on Dec 10, 2014
● Within 2015 - 94,772 BTC on Jan 09, 2015
● Within 2016 - 50,490 BTC on Mar 27, 2016
● Within 2017 - 50,000 BTC on Aug 02, 2017
So
Highest # of Bitcoins
transferred
of all the time
award goes to
Happened on 2011-11-16
On 153,527 Block
499,720.7 BTC
But
Highest transaction value
in USD
award goes to
Within 2017 - 50,000 BTC
on Aug 02, 2017
On that day
1 BTC = 2700 USD
$135,000,000
The End
👩🏻💼👩🏻💼🙍🏻♂️🙍🏻♂️👨🏻💼👨🏻💼🙍🏻
♂️🙎🏻🙎🏻🙍🏻♂️👨🏻💻 🙍🏻♂️🙍🏻♂️🙍🏻♂️
🙍🏻♂️👨🏻💼🙎🏻🙎🏻♂️🙍🏻♂️🙍🏻♂️🙎🏻👨
🏻💻🙍🏻♂️🙍🏻♂️👨🏻💻🙍🏻♂️🙎🏻🙍🏻♂️
🙍🏻♂️🙎🏻♂️🙍🏻♂️🙎🏻🙍🏻♂️🙎🏻♂️👩🏻💼
🙍🏻♂️🙎🏻👨🏻💼🙎🏻♂️🙍🏻♂️🙍🏻🙎🏻♂️🙎
🏻🙍🏻♂️👨🏻💻
🙍🏻♂️🙎🏻♂️🙍🏻♂️🙎🏻🙎🏻♂️👨🏻💼👨🏻💻
🙍🏻♂️👩🏻💼👩🏻💼🙎🏻🙎🏻♂️🙎🏻♂️🙍🏻🙍
🏻♂️🙍🏻♂️👨🏻💻
🙍🏻♂️🙎🏻♂️👩🏻💼🙎🏻🙍🏻♂️🙎🏻♂️🙍🏻🙍
Thank you!

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (7)

Consuming API description languages - Refract & Minim
Consuming API description languages - Refract & MinimConsuming API description languages - Refract & Minim
Consuming API description languages - Refract & Minim
 
Concurrecy in Ruby
Concurrecy in RubyConcurrecy in Ruby
Concurrecy in Ruby
 
Migrating our monolith to Python 3
Migrating our monolith to Python 3Migrating our monolith to Python 3
Migrating our monolith to Python 3
 
Briefly Rust - Daniele Esposti - Codemotion Rome 2017
Briefly Rust - Daniele Esposti - Codemotion Rome 2017Briefly Rust - Daniele Esposti - Codemotion Rome 2017
Briefly Rust - Daniele Esposti - Codemotion Rome 2017
 
OpenStack: A python based IaaS provider
OpenStack: A python based IaaS providerOpenStack: A python based IaaS provider
OpenStack: A python based IaaS provider
 
What's new in Perl 5.12?
What's new in Perl 5.12?What's new in Perl 5.12?
What's new in Perl 5.12?
 
What's new In Perl?
What's new In Perl?What's new In Perl?
What's new In Perl?
 

Ähnlich wie Cryptocurrency && Ruby

I can haz HTTP - Consuming and producing HTTP APIs in the Ruby ecosystem
I can haz HTTP - Consuming and producing HTTP APIs in the Ruby ecosystemI can haz HTTP - Consuming and producing HTTP APIs in the Ruby ecosystem
I can haz HTTP - Consuming and producing HTTP APIs in the Ruby ecosystem
Sidu Ponnappa
 

Ähnlich wie Cryptocurrency && Ruby (20)

Connect to Bitcoin & Ethereum networks (RPC APIs)
Connect to Bitcoin & Ethereum networks (RPC APIs)Connect to Bitcoin & Ethereum networks (RPC APIs)
Connect to Bitcoin & Ethereum networks (RPC APIs)
 
I can haz HTTP - Consuming and producing HTTP APIs in the Ruby ecosystem
I can haz HTTP - Consuming and producing HTTP APIs in the Ruby ecosystemI can haz HTTP - Consuming and producing HTTP APIs in the Ruby ecosystem
I can haz HTTP - Consuming and producing HTTP APIs in the Ruby ecosystem
 
HOW TO DEAL WITH BLOCKING CODE WITHIN ASYNCIO EVENT LOOP
HOW TO DEAL WITH BLOCKING CODE WITHIN ASYNCIO EVENT LOOPHOW TO DEAL WITH BLOCKING CODE WITHIN ASYNCIO EVENT LOOP
HOW TO DEAL WITH BLOCKING CODE WITHIN ASYNCIO EVENT LOOP
 
Intrigue Core: Scaling Assessment Automation
Intrigue Core: Scaling Assessment AutomationIntrigue Core: Scaling Assessment Automation
Intrigue Core: Scaling Assessment Automation
 
Motion Django Meetup
Motion Django MeetupMotion Django Meetup
Motion Django Meetup
 
Ethereum introduction
Ethereum introductionEthereum introduction
Ethereum introduction
 
Rancher 2.x first step before deep dive
Rancher 2.x  first step before deep diveRancher 2.x  first step before deep dive
Rancher 2.x first step before deep dive
 
Elixir Berlin 2019: Dominic Letz on Doing Blockchain with Elixir
Elixir Berlin 2019: Dominic Letz on Doing Blockchain with ElixirElixir Berlin 2019: Dominic Letz on Doing Blockchain with Elixir
Elixir Berlin 2019: Dominic Letz on Doing Blockchain with Elixir
 
WebRTC Reborn - Full Stack Toronto
WebRTC Reborn -  Full Stack TorontoWebRTC Reborn -  Full Stack Toronto
WebRTC Reborn - Full Stack Toronto
 
Oleg Natalushko. Drupal server anatomy. DrupalCamp Kyiv 2011
Oleg Natalushko. Drupal server anatomy. DrupalCamp Kyiv 2011Oleg Natalushko. Drupal server anatomy. DrupalCamp Kyiv 2011
Oleg Natalushko. Drupal server anatomy. DrupalCamp Kyiv 2011
 
WebRTC Reborn - Cloud Expo / WebRTC Summit
WebRTC Reborn - Cloud Expo / WebRTC SummitWebRTC Reborn - Cloud Expo / WebRTC Summit
WebRTC Reborn - Cloud Expo / WebRTC Summit
 
Monitoring at scale: Migrating to Prometheus at Fastly
Monitoring at scale: Migrating to Prometheus at FastlyMonitoring at scale: Migrating to Prometheus at Fastly
Monitoring at scale: Migrating to Prometheus at Fastly
 
WebRTC Reborn Hackference
WebRTC Reborn HackferenceWebRTC Reborn Hackference
WebRTC Reborn Hackference
 
api-driven-development.pdf
api-driven-development.pdfapi-driven-development.pdf
api-driven-development.pdf
 
XML-RPC and SOAP (April 2003)
XML-RPC and SOAP (April 2003)XML-RPC and SOAP (April 2003)
XML-RPC and SOAP (April 2003)
 
Pycon - Python for ethical hackers
Pycon - Python for ethical hackers Pycon - Python for ethical hackers
Pycon - Python for ethical hackers
 
Learn python
Learn pythonLearn python
Learn python
 
TIAD - DYI: A simple orchestrator built step by step
TIAD - DYI: A simple orchestrator built step by stepTIAD - DYI: A simple orchestrator built step by step
TIAD - DYI: A simple orchestrator built step by step
 
Stateless Microservice Security via JWT and MicroProfile - Mexico
Stateless Microservice Security via JWT and MicroProfile - MexicoStateless Microservice Security via JWT and MicroProfile - Mexico
Stateless Microservice Security via JWT and MicroProfile - Mexico
 
Stateless Microservice Security via JWT and MicroProfile - ES
Stateless Microservice Security via JWT and MicroProfile - ES Stateless Microservice Security via JWT and MicroProfile - ES
Stateless Microservice Security via JWT and MicroProfile - ES
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Effective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeConEffective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeCon
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdfStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
 
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
 
Auto Affiliate AI Earns First Commission in 3 Hours..pdf
Auto Affiliate  AI Earns First Commission in 3 Hours..pdfAuto Affiliate  AI Earns First Commission in 3 Hours..pdf
Auto Affiliate AI Earns First Commission in 3 Hours..pdf
 
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdfThe Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
The Evolution of Web App Testing_ An Ultimate Guide to Future Trends.pdf
 
Weeding your micro service landscape.pdf
Weeding your micro service landscape.pdfWeeding your micro service landscape.pdf
Weeding your micro service landscape.pdf
 
Software Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements EngineeringSoftware Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements Engineering
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
 
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdf
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdf
 
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
 
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
 
Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdf
 
The Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationThe Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test Automation
 
What is a Recruitment Management Software?
What is a Recruitment Management Software?What is a Recruitment Management Software?
What is a Recruitment Management Software?
 
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-CloudAlluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
 

Cryptocurrency && Ruby