4 From smart contracts to Dapps

This chapter covers

  • Designing the directory structure and code elements of a Dapp

  • Developing Dapps using the Truffle suite

  • Connecting a Dapp front end to a smart contract

  • Managing accounts with the MetaMask-enabled browser

  • Deploying and testing an end-to-end Dapp

In the preceding chapters, you designed and developed the core component of a blockchain application: the smart contract. But the logic coded in a smart contract cannot act alone. You need user-facing applications that will trigger the smart contract functions and blockchain services. These applications invoke smart contract functions, which in turn verify, validate, and record the resulting transactions and data on the distributed ledger ...

Get Blockchain in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.