logo
logo
x
바코드검색
BOOKPRICE.co.kr
책, 도서 가격비교 사이트
바코드검색

인기 검색어

실시간 검색어

검색가능 서점

도서목록 제공

Beginning Ethereum Smart Contracts Programming: With Examples in Python, Solidity, and JavaScript

Beginning Ethereum Smart Contracts Programming: With Examples in Python, Solidity, and JavaScript (Paperback)

Wei-meng Lee (지은이)
Apress
74,790원

일반도서

검색중
서점 할인가 할인률 배송비 혜택/추가 실질최저가 구매하기
61,320원 -18% 0원
3,070원
58,250원 >
yes24 로딩중
교보문고 로딩중
notice_icon 검색 결과 내에 다른 책이 포함되어 있을 수 있습니다.

중고도서

검색중
서점 유형 등록개수 최저가 구매하기
로딩중

eBook

검색중
서점 정가 할인가 마일리지 실질최저가 구매하기
로딩중

책 이미지

Beginning Ethereum Smart Contracts Programming: With Examples in Python, Solidity, and JavaScript
eBook 미리보기

책 정보

· 제목 : Beginning Ethereum Smart Contracts Programming: With Examples in Python, Solidity, and JavaScript (Paperback) 
· 분류 : 외국도서 > 컴퓨터 > 프로그래밍 > 마이크로소프트 프로그래밍
· ISBN : 9781484250853
· 쪽수 : 293쪽
· 출판일 : 2019-09-06

목차

Chapter 1. What is Blockchain?

We start with the motivations of Blockchain - the trust issues we face today and how we can solve that using decentralization. We will use a real-life example to bring about the discussion. Next, we will talk about Blockchain and how it fits into the decentralized model. By the end of this chapter readers would have a pretty solid understanding of the main Blockchain terminologies, such as mining, PoW, Merkele Tree/Root, etc.

 

    Trust Today

    Placement of Trusts

    Centralization  - Problems with Trust Today

    Solving Trust Issues with Decentralization

    Blockchain - A Huge Chain of Blocks

    Chaining usng Hashing Functions

    Assembling the Transactions

    Mining the Blocks using Proof of Work

    Structure of a Blockchain

    Blockheaders

    Merkle Tree and Root

    Types of Nodes

    Confirmations

    Consensus

    Rewards for Mining

   

Chapter 2. Implementing Your Own Blockchain        

This chapter basically reinforces the concept covered in Chapter 1. By implementing your own Blockchain, it makes it very useful to understand concepts like transactions, mining, consensus, etc. Here, we implement the blockchains using Python and C#.

 

    Implementing your own Blockchain using Python   

    Implementing your own Blockchain using C#

 

Chapter 3. Connecting to the Ethereum Blockchain

For this book, I will primarily use geth, an Ethereum client, to connect to the Ethereum blockchain. Readers will learn how to download and install geth, and use it to connect to the various Ethereum blockchains (mainnet, testnet, etc). Readers will learn about the various sync modes - fast, full, and light.

 

    Installing Geth   

    Getting Started with Geth

    Connecting to the various Ethereum Blockchains

    Syncing with the Ethereum Blockchain

 

Chapter 4. Creating Your Private Ethereum Test Network   

One feature of geth is that you can use it to create your own private test network, without connecting to the real blockchain. This makes development work much easier, and allow you to explore the Ethereum blockchain without needing to acquire ether.

 

    Creating the Genesis Block

    Creating a folder for storing Blockchain Data

    Initiating a Blockchain Node

    Starting Nodes

    Creating Accounts

    Checking the Balance of an Account

    Ethereum Units

    Pairing the Nodes

    Performing Mining

    Transferring Ethers between Nodes

 

Chapter 5. Using the Metamask Chrome Extension   

In order to connect to the Ethereum blockchain to deploy and consume contracts, you need to hold Ether. An easy way would be to use the MetaMask Chrome extension. The MetaMask Chrome Extension is an Ethereum wallet. This chapter will show how you can use it to obtain Ethers for testing on the Ethereum testnet.

 

    What is MetaMask?

    Creating Accounts

    Recovering Accounts

    Getting Ethers

    Transferring Ethers

    Connecting MetaMask to Geth

 

Chapter 6. Introduction to Smart Contracts

Now that readers are familiar with the Ethereum blockchain, it is now time to explore the most exciting feature of it - Smart Contracts. Smart contracts are written using the Solidity programming language. This chapter goes through the syntax of the language and explores the most salient parts of the language.

 

    Solidity

    Hello, Solidity

    Comments

    Data Types

    Integer Literals

    Ether and Time Units

    Arrays

    Structures

    Enums   

    State Variables

    Control Structures

    Functions

    Fallback Functions

    Special Variable

    Cryptographic Functions

    Inheritance   

    Modifiers and Events

    Storage Layout

 

Chapter 7. Developing and Deploying Smart Contracts       

This chapter dives into the details of developing and deploying the Smart contract using the Remix IDE. It also discusses how Smart Contracts can be called and tested from the command line.

 

    Using the Remix IDE

    Application Binary Interface (ABI)

    Bytecode

    Deploying the Smart Contract onto an Ethereum Node using Geth

    Invoking the Contract from a Local Node

    Invoking the Contract from a Another Node

    Calling a Smart Contract from Another           

    Deploying a Contract Dynamically

 

Chapter 8. Testing Smart Contracts using ganache    

Another tool that is useful for Smart Contract developers is Ganache. Ganache simulates an Ethereum network, and it comes with 10 pre-created accounts each credited with 100 Ethers. Using Ganache, developers can deploy their smart contract without needing to connect to the real Ethereum network.

 

    What is ganache (formerly testrpc)?

    Installing ganache

    Deploying Smart Contracts to ganache

    Connecting MetaMask to ganache

    Importing the accounts in ganache into MetaMask

 

Chapter 9. Using the Web3.js API          

Once a Smart contract is deployed, how does the end user use it? In this chapter, readers will learn how to use the Web3.js APIs in their Web application to consume Smart contracts. Readers will learn how Web3.js works and the techniques for connecting to the different Ethereum in the background.

 

    What is Web3.js?

    Installing Web3.js

    Consuming a contract using Web3.js

    Loading the page using file:///

    Loading the page using http://

 

Chapter 10. Smart Contract Events         

When a Smart Contract has finished performing a task, how does it inform the user? This is achieved using events. In this chapter, readers will extend some of the contracts developed in the earlier chapters to use events to extend the usefulness of the application.

 

    What are events?

    Defining events in your contract

    Handling events in your web Application

 

Chapter 11. Project ? Online Lottery

Now that readers have learned all the fundamental building blocks of blockchain, it is now time to put them into a working example. This chapter implements an online betting system using Smart Contracts.

 

    How the Game Works

    Creating the contract

    Testing the Contract using the Remix IDE

    Creating the Web Frontend

    Testing the App

   

Chapter 12. Creating Your Own ERC20 Tokens         

ICOs are all the rage these days! This bonus chapter talks about tokens and how you can create tokens using Smart Contracts. Once readers have learned how to create tokens, I will show them how to use tokens to pay for services in Smart Contracts.


    What are Tokens?

    Tokens Standards - ERC20 and ERC223

    Creating Token Contracts

    Deploying the Token Contracts

    Adding Tokens to MetaMask

    Paying for Smart Contracts using Tokens


이 포스팅은 쿠팡 파트너스 활동의 일환으로,
이에 따른 일정액의 수수료를 제공받습니다.
이 포스팅은 제휴마케팅이 포함된 광고로 커미션을 지급 받습니다.
도서 DB 제공 : 알라딘 서점(www.aladin.co.kr)
최근 본 책