Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Security Tokens and Stablecoins Quick Start Guide

You're reading from  Security Tokens and Stablecoins Quick Start Guide

Product type Book
Published in Apr 2019
Publisher Packt
ISBN-13 9781838551063
Pages 234 pages
Edition 1st Edition
Languages
Concepts
Authors (3):
Weimin Sun Weimin Sun
Profile icon Weimin Sun
Xun (Brian) Wu Xun (Brian) Wu
Profile icon Xun (Brian) Wu
Angela Kwok Angela Kwok
Profile icon Angela Kwok
View More author details

Introduction to smart contracts

Nick Szabo introduced the smart contract concept in 1994. A smart contract is specific executable computer logic and code built within a peer-to-peer blockchain network. When a certain condition is met, the smart contract will automatically execute a contract instruction and update the ledger in the blockchain. Each smart contract is assigned a unique address in the blockchain. When the smart contract executes, it is run by each node as part of block creation.

In the Ethereum blockchain, the programming language for the smart contract is Solidity. It was developed by Gavin Wood, Christian Reitwiessner, and several Ethereum core contributors. Solidity is a statically-typed language, similar to JavaScript and C. When Solidity is compiled, it checks the variable type and turns it into Ethereum virtual machine byte code; once it deploys to the Ethereum...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}