Instantiate An Inherited Solidity Contract | Ep9

preview_player
Показать описание
When you inherit a contract in Solidity, you might want to customize the behavior of the inherited contract by calling its constructor with some values. Let's learn how to do this.

Like this channel? Subscribe here:

In this video tutorial we are going to:
- Instantiate a inherited contract by passing a static (i.e hard-coded) value to its contructor
- Instantiate an inherited contract by passing a dynamic value to its constructor, and see how the syntax of the dynamic value passing differs.
- Use Truffle and a local testrpc

Requirements:
- Node v6+
- Truffle (npm install -g truffle)

Links:
Рекомендации по теме