Blockchain across oracle understand the details and implications of the blockchain for oracle developers and customers
Learn what the Blockchain is, what the differences between available blockchain platforms are, how to work with Oracle's Blockchain Cloud Service, and how Blockchain can change the direction of your Oracle work and the focus of your customers. Key Features A professional orientation of the Bloc...
Other Authors: | |
---|---|
Format: | eBook |
Language: | Inglés |
Published: |
Birmingham, England ; Mumbai :
Packt Publishing
2018.
|
Edition: | 1st edition |
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630515206719 |
Table of Contents:
- Cover
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Table of Contents
- Preface
- Part I
- Chapter 1: An Introduction to the Blockchain
- What is a blockchain?
- How does a blockchain work?
- What is the architecture behind the blockchain?
- The data layer
- Data model, transactions, and chain structure
- Cryptographic protocol, hash functions, and digital signatures
- Merkle tree
- Participants
- The network layer
- Peer-to-peer network and broadcast of data
- Relay network
- Local validation
- The consensus layer
- Sophisticated consensus mechanisms
- Lightweight consensus mechanisms
- Permissioned consensus
- Sharding consensus
- The incentive layer
- Rewards distribution and transaction fees
- The application layer
- Digital ledger
- Smart contract
- RESTful and command-line APIs
- Decentralized applications
- Differences between public and private blockchains
- How secure and private are blockchains?
- What kind of applications can I run on blockchains?
- Other decentralized applications
- Summary
- Chapter 2: How Blockchain Will Disrupt Your Organization
- Why is blockchain a disruptive technology?
- What is Oracle's strategy?
- What is the blockchain cloud service?
- What are Oracle's competitors doing?
- What are the disruptive effects on individuals?
- Database administrator
- Application integration developer
- Frontend developer
- Summary
- Part II
- Chapter 3: Blockchain 101 - Assets, Transactions, and Hashes
- Assets
- Transactions
- Managed by a peer-to-peer network
- What does a transaction look like?
- How can you send a transaction?
- Hashes
- The types of hash functions used by blockchain
- Summary
- Chapter 4: Blockchain 101 - Blocks, Chains, and Consensus
- Blocks
- Breaking down blocks
- Hashing a block
- Chains
- Blockchain.
- Distributed and decentralized
- Forks
- Orphaned and stale blocks
- Soft fork versus hard fork
- Sidechains
- The underlying mechanism
- Consensus
- Methods of reaching consensus
- Proof-of-work
- Practical byzantine fault tolerance
- Proof-of-stake
- Delegated proof-of-stake
- Summary
- Chapter 5: Blockchain 101 - Security, Privacy, and Smart Contracts
- How secure is the blockchain?
- Public versus private blockchains
- Unexpected security risks
- Security starts at the network architecture level
- Importance of the consensus protocol
- Bugs in the blockchain code
- Manage asset security
- Difference between hot and cold wallets
- Software wallets (desktop and mobile)
- Online or web wallets
- Physical or paper wallets
- Hardware wallets
- Access control
- Reversibility of transactions
- Maintaining privacy on the blockchain
- Maintaining today's level of privacy
- Secure multi-party computation
- Zero-knowledge proofs
- Permissioned blockchain
- Making sense of smart contracts
- What is a smart contract?
- How smart contracts work
- Examples of smart contracts
- Code example of a smart contract
- Summary
- Chapter 6: Understanding the Blockchain Data Flow
- Overview of the blockchain flow
- Basic flow of a transaction
- Architecture layers
- Architectural thoughts and considerations
- Submitting transactions
- Knowing the data structure
- Broadcasting and verifying data
- Combining TXs in a block structure
- Validating and verifying a block
- Summary
- Chapter 7: Public Versus Permissioned Blockchains and their Providers
- What types of blockchain currently exist?
- Public blockchains
- Advantages
- Challenges
- Consortium blockchain
- Advantages
- Challenges
- Private blockchains
- Advantages
- Challenges
- Public blockchain providers
- Ethereum
- NEO
- IPFS
- Blockstack.
- Private/consortium blockchain providers
- Hyperledger Fabric
- Oracle blockchain cloud service
- R3/Corda
- MultiChain
- Summary
- Part III
- Chapter 8: Ethereum Versus Hyperledger
- Two leading platform frameworks
- Ethereum
- Hyperledger fabric
- Mode of operation and participation
- Ethereum
- Hyperledger fabric
- Consensus algorithm
- Ethereum
- Hyperledger fabric
- Built-in cryptocurrency
- Ethereum
- Hyperledger Fabric
- Smart contracts
- Ethereum
- Hyperledger Fabric
- How to develop a smart contract
- Ethereum
- Hyperledger fabric
- Where do your smart contracts run?
- Ethereum
- Hyperledger Fabric
- Summary
- Chapter 9: Building a Next-Generation Oracle B2B Platform
- Introducing the business case
- Traditional cross-organizational applications
- Introducing Oracle B2B
- Introducing Oracle SOA Suite
- Implementing the business case on a B2B network
- What is the common application architecture?
- How do partners interact with each other?
- In-depth look at interactions
- New accident report
- Insurance claim request
- Repair order request
- Five implementation challenges and/or pitfalls
- Reaching a consensus about the interactions
- Configuring CPAs can be a redundant activity
- Partners need to implement the same business rules
- Are all rules implemented?
- Room for interpretation
- Use of different programming languages
- Different approaches to processing and storing data
- Offline reconciliation after uncompleted transactions
- Blockchain can solve these challenges
- How does it solve the traditional B2B challenges?
- Taking out the middleman
- Messages are distributed to partners in the blockchain
- Configuring redundant CPAs is a thing of the past
- Solves offline reconciliation between partners
- The impact it has on the TTP.
- Defining interactions is easier and more democratic
- One smart contract to rule them all
- Data is stored in the same way on each network peer
- Implementing the business case on a blockchain
- What is the blockchain platform architecture?
- Smart contract interactions
- In-depth look into interactions
- New accident report
- Insurance claim request
- Repair order request
- Blockchain - the next-generation B2B platform
- Summary
- Chapter 10: Introducing the Oracle Blockchain Cloud Service
- Why did Oracle pick Hyperledger Fabric?
- What component roles does Fabric fulfil?
- Membership services
- Consensus services
- The peer and ordering service architecture
- The distributed ledger and world state
- Channels for limiting access and visibility
- Peer gossip data dissemination protocol
- Consensus protocol
- Endorsement
- Ordering
- Validation (commitment)
- Chaincode services
- Why did Oracle build a managed platform?
- What component roles does OBCS fulfill?
- Infrastructure and PaaS services
- Blockchain nodes and containers
- OBCS peer node
- OBCS orderer node
- OBCS MSP
- Data services
- OBCS world state and history databases
- OBCS - object store integration
- Administration services
- REST gateway (APIs)
- Summary
- Chapter 11: Setting Up Your Permissioned Blockchain
- Summarizing the problem
- Introducing the solution
- Provisioning the environments
- First look at the administrative console
- Blockchain Dashboard
- Blockchain Network
- Blockchain Nodes
- Blockchain Channels
- Blockchain Chaincodes
- Adding the member organizations
- Export member organization's certificates
- Export member organization's peer nodes
- Import certificates of member organizations
- Import peer nodes of member organizations
- Export orderer settings from founder.
- Import orderer settings at member organizations
- Setting up a private channel
- Create a new channel as the founder
- Adding member peers to the channel
- Summary
- Chapter 12: Designing and Developing Your First Smart Contract
- The proposed application
- Model-first design approach
- Designing the participants and base assets
- Designing the accident assets and transactions
- Designing the repair assets and transactions
- Designing the insurance assets and transactions
- Setting up the necessary development tools
- Installing cURL
- Installing Docker and Docker Compose
- Installing the Go programming language
- Step 1 - Installing Go
- Step 2 - Setting environment paths
- Step 3 - Setting up your Go workspace
- Downloading platform-specific binaries
- Installing Visual Studio Code (IDE)
- Programming the smart contract
- Setting up a workspace in VSCode
- Installing missing Go packages and commands
- Programming the actual chaincode
- Programming the initial chaincode skeleton
- Adding the data model objects
- Programming the ReportAccident transaction
- Summary
- Chapter 13: Deploying and Testing Your First Smart Contract
- Deploying your smart contract
- Installing chaincode on the founder's peers
- Activating the chaincode on a channel
- Installing a new version of our chaincode
- Installing chaincode on member organizations
- Exposing smart contracts using the REST proxy
- Exposing chaincode using the Advanced method
- Exposing chaincode using the Quick method
- Testing a smart contract using a REST client
- Installing a client to call the REST proxy's API
- Importing and testing chaincode API requests
- Available REST proxy APIs
- Getting the version of the OBCS API
- Overview of chaincode interactions
- Setting up all of the required demo assets
- Reading asset data to check the current values.
- Reporting a new accident.