课程: Building an Ethereum Blockchain App: 8 Supply Chain Smart Contract dApp

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Implementing minimal functionality

Implementing minimal functionality

- So we've been through quite a bit of solidity code. There's a lot more to learn about the language and the environment. But you've seen a lot so far. Keep in mind that these example smart contracts were developed for instruction. They're not real world ready for the big bad world, to run on a real blockchain. They will run and it will have some functionality, but it's very minimal functionality. Just basic functionality is what we have implemented so far. The reason behind that is twofold. Number one, if we made this fully featured, of course, it would be really complex and very hard to use as a basic teaching tool. And secondly, I actually like to develop this way and my philosophy has always been, make it work, then make it work well. The idea behind that is if you, for your own smart contracts, design everything that you need, go ahead and put in the function headers for all the functions that you're going to…

内容