课程: Building an Ethereum Blockchain App: 8 Supply Chain Smart Contract dApp
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Token smart contract data, part 1 - Ethereum教程
课程: Building an Ethereum Blockchain App: 8 Supply Chain Smart Contract dApp
Token smart contract data, part 1
- All right, let's get going. We're going to write some smart contract code. The first thing we're going to do, is we're going to create a brand new project, which means create a new directory. We're going to use truffle to initialize the project, and then we're going to fire up visual studio code and crack open our first real smart contract. Let's do it. All right, the first thing we'll do is we'll open PowerShell and I'm going to cd down to my workspace directory, and I'm going to create a new folder, and that folder is going to be "SupplyChainApp" So I'm going to use mkdir SupplyChainApp. I'm going to cd down to SupplyChainApp, and I'm going to ask truffle to initialize it as a project. So I'll just type in truffle init. All right. That's all it takes. Once again, if I do a directory listing, we see that truffle creates a few things for us. Notice it gives me a new truffle-config.js. We've got to tweak that a little…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
Designing your supply chain app4 分钟 19 秒
-
(已锁定)
What are dApps?6 分钟 25 秒
-
Token smart contract details7 分钟 29 秒
-
Supply chain smart contract details6 分钟 19 秒
-
(已锁定)
Smart contract road map1 分钟 49 秒
-
(已锁定)
Token smart contract data, part 16 分钟 40 秒
-
(已锁定)
Token smart contract data, part 28 分钟 32 秒
-
(已锁定)
Supply chain smart contract data, part 14 分钟 37 秒
-
(已锁定)
Supply chain smart contract data, part 23 分钟 15 秒
-
(已锁定)
Token smart contract functions, part 15 分钟 1 秒
-
(已锁定)
Token smart contract functions, part 24 分钟 6 秒
-
(已锁定)
Supply chain smart contract functions, part 19 分钟 41 秒
-
(已锁定)
Supply chain smart contract functions, part 28 分钟 36 秒
-
(已锁定)
Using events6 分钟 30 秒
-
(已锁定)
Implementing events4 分钟 48 秒
-
(已锁定)
More on ownership8 分钟 23 秒
-
(已锁定)
Designing for security9 分钟 9 秒
-
(已锁定)
Implementing minimal functionality6 分钟 17 秒
-