Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CFDay: Blockchain applications

Aletheia
November 09, 2019

CFDay: Blockchain applications

Introduction to Blockchain and applications in real use cases.

Aletheia

November 09, 2019
Tweet

More Decks by Aletheia

Other Decks in Technology

Transcript

  1. Luca Bianchi Who am I? Chief Technology Officer @ Neosperience

    github.com/aletheia @bianchiluca https://it.linkedin.com/in/lucabianchipavia https://speakerdeck.com/aletheia Chief Technology Officer @ WizKey Serverless Meetup Italy manager ServerlessDays co-organizer
  2. ✓ Something fancy to earn money ✓ A Buzzword ✓

    A technology to ensure trusted transactions between untrusted actors without intermediaries
  3. What is the Bitcoin? Keep it simple, the way you

    would explain it to my mother
  4. First, it’s not a currency What is Bitcoin (BTC)? It’s

    an exchange medium, subject to high volatility, perfectly defined by demand/offer mechanism Second, it’s not a FIAT money It has some important differences: • decentralized - no Federal Reserve or BCE to control BTC value • no inflaction - the overall number of BTC is fixed (21M) • no reversal - transactions cannot be reversed because become part of the trust • no real economy - BTC value is not constrained to any state economics Third, it does not require a bank Money transfers can be achieved between two peers
  5. You can buy them — trade $ for BTC How

    to obtain Bitcoins (BTC)? Cryptocurrencies can be traded on markets: websites that handle conversions, deposits and retrieval of cryptocurrencies. To be purchased a crypto currency needs to be listed on a given markets. 
 Remember blockchain has never been hacked, but markets can be hacked (and have been).
  6. A BTC account What do you need to trade BTCs?

    Every transaction has a source and a destination which are numeric equivalents to traditional bank account numbers. An user can have one or more addresses (since their creation is as easy as clicking a button) A private/public key pair Each account is paired to a couple of keys. The BTC account is the hash of a public key. To recover and claim ownership of an account, you need the private key counterpart. Remember your keys are the only way an account can be recovered. There is no bank in the middle to guarantee your identity. A Wallet Many addresses can receive/send cryptocurrencies, to safely store key pairs, some tools, named “wallets” have been created. There are many wallets around, some of them are online but not reliable while others are physical and more safe top hold significant amounts of money (hardware wallets, paper wallets)
  7. • BTC value ranged to hundreds of $ to tens

    of thousands $ in just few months • Volatility is still a pain in the ass of investors • Consider investing carefully and a small amount before having understood how it works • Be prepared to risk Will I be rich trading Bitcoins? Probably the answer is no
  8. You can buy them — trade $ for BTC How

    to obtain Bitcoins (BTC)? Cryptocurrencies can be traded on markets: websites that handle conversions, deposits and retrieval of cryptocurrencies. To be purchased a crypto currency needs to be listed on a given markets. 
 Remember blockchain has never been hacked, but markets can be hacked (and have been). You can mine them… mining... WTF is Bitcoin mining? wait... we have to talk about the Blockchain!
  9. Partial (wrong) definition A definition of Blockchain the blockchain is

    the technology running bitcoin A better definition A blockchain is a distributed database that maintains a continuously-growing list of records called blocks secured from tampering and revision An even better definition The blockchain is a secured protocol enabling peer-to-peer exchanges on a distributed network in a secured, public and non repudiable way.
  10. An extension to Common Law Trust mechanism Trust Born as

    a fiduciary relation between two parties with a supervisor, it has been extended to almost every transaction that has to bee guaranteed by a third party. It borrows from Common Law the terminology: Settlor - is the part that wants to contribute something to a beneficiary 
 Beneficiary - is the part receiving something from a Settlor Protector - is an optional actor, that guarantees the trusted relation. If there is not a protector, the transaction is untrusted Transactions can be trusted or untrusted • Trusted transactions can be verified • Trusted transactions cannot be reversed once registered • Trusted transactions require a place where are stored, called general ledger • The Protector is a key actor in a trusted transaction (cannot occur without) Duty of a Protector A Protector maintains and guarantees the consistency of the ledger, that is the source of truth. The trust must be within the Protector: a malicious or faulty protector can break the trust. 

  11. Trust is needed (almost) everywhere Bank transfers Sending or receiving

    money to people without direct reach requires an intermediary Real Estate Each ownership transaction between a seller and a buyer of a real estate is executed by a third party that acts on government behalf to record and execute transfers Quality assurance When a certification is required to establish a statement of quality for a given product or service, an external organization (a certification company) is required to validate quality and provide trust information Democracy When a proposal or a candidate is voted, a third party (a teller at a pool) is required to count and validate votes, then crediting scores to the corresponding competitor.
  12. Issues with Protector Trustiness A protector must be certified itself

    as trustworthy, because it represents the source of truth of the transaction Scalability A protector is required for each transaction that must occur, moreover some additional effort is needed to guarantee ledger consistency across multiple Cost Since Protector is a key role within a transaction and brings a lot of responsibility (and often bureaucracy) its work has to be payed a considerable amount of money, often proportional to the value of exchanged good Censorship A protector can decide whether a transaction can occur or not
  13. Proof-of-work Trustiness Introducing the hash function, which is a mathematical

    function f(x) —> y that: 1. for any length of x it produces always an y of a given length
 2. function cannot be inverted (i.e. does not exist a g(y) —> x function)
 3. a slightly change of x values produces a significant change of y 4. there is no an x’ ≠ x that has the same y value consider having an x made of a fixed number (obtained to previous block) and a variable number (called nonce), so x = fixed + nonce nonce is a random value, we define a valid POW when nonce value produces a given y that has a value smaller than a given number. Miners try different nonces ‘till they match the required output, once this is done, it represents the POW of the block. Once a POW has been found, the corresponding block is added to the chain. The blockchain adjust the required maximum value of the output y and this is called difficulty. Difficulty is needed to guarantee blockchain reliability and fixed mining throughput.
  14. Ethereum • Forked from main BTC blockchain in 2014 by

    Vitalik Buterin. Eveolves Blockchain introducing Smart Contracts 
 • Contracts are deployed to Ethereum nodes and become part of the blockchain (every contract has an address) 
 • Contracts run are payed with gas (representing computational power) 
 • The unit of coin is called ether 
 • Once a transaction is added to the blockchain, the corresponding contract is executed 
 • Contracts can change ownership, ensure certification, etc.
  15. a decentralised way to express consensus on management topics Decentralized

    Autonomous Organisations •Ethereum Foundation •MakerDAO •voting political proposals in Illinois
  16. Ethereum Plasma Chain • Allow additional layer over Ethereum •

    Planned for performances • Select PoW, PoS or other • Domain specific chains • High throughput
  17. The financial crisis in the last decade has strong connections

    with a lack of transparency this translates into low data portability, asset illiquidity, poor settlement this means lower transfer prices and higher risks
  18. Evolving structured finance ✓ data portability ✓ automation of processes

    ✓ trust ✓ disintermediation HIGHER TRANSFER PRICE + LOWER RISKS
  19. Roadmap ✓ Product design ✓ Product MVP release ✓ Beta

    & Testing ✓ Product v1 Release Q2 2018 Q2 2019 ✓ Strategic Partnerships ✓ MoU with major Italian banks ✓ Selected customers on-boarding Q3 2019 Public launch Q1 2020