Crypto Zombies Lesson 2, Chapter 6, Import, Imports in Solidity

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=K8ixz-WQuxo



Duration: 2:35
169 views
3


In this lesson from the Loom Network's Crypto Zombies we learn how to use code from another file in a seperate file. Using code from another file is possible in Solidity using an import statement. Using an import statement allows us to require code from another file in the present file being worked on. We are able to import code from another file by first using the key word "import" then the path to the code we want to import placed withing quotation marks. If the path is entered correctly, we can then access that code in the present file.




Other Videos By We Will Code


2018-06-22Codecademy's Learn Express, Matching Longer Paths, ExpressJS
2018-06-21Codecademy's Learn Express, Setting Status Codes
2018-06-19Codecademy's Learn Express, Getting a Single Expression
2018-06-18Codecademy's Learn Express, Matching Route Paths, Understanding Express JS
2018-06-15Codecademy's Learn Express, Sending a Response, Nodejs Backend
2018-06-14Codecademy's Learn Express, Writing Your First Route
2018-06-13Codecademy's Learn Express, Starting a Server, Back-End Apps
2018-06-13Learn Express JS, Back-End Programming Tutorial, Codecademy
2018-06-09Crypto Zombies Lesson 2, Chapter 8, Zombie DNA, Solidity DApp
2018-06-03Crypto Zombies Lesson 2, Chapter 7, Storage vs Memory
2018-06-01Crypto Zombies Lesson 2, Chapter 6, Import, Imports in Solidity
2018-05-27An Intro to Coding, Codecademy's Welcome To Codecademy Tutorial, Codecademy Starter Kit
2018-05-13Crypto Zombies Lesson 2, Chapter 5, Inheritance, Solidity Walkthrough
2018-05-11Crypto Zombies Lesson 2, Chapter 4, Require, Solidity Require Statements
2018-05-10Crypto Zombies Lesson 2, Chapter 3 Msg.sender, Solidity Language
2018-05-06Crypto Zombies Lesson 2, Chapter 2 Mappings and Addresses
2018-05-06Codecademy Learn Java, Data Structures Generalizations
2018-05-02Crypto Zombies, Chapter 2 Overview,Solidity Programming
2018-05-02Codecademy Learn Java, HashMap Access, Accessing a HashMap
2018-04-28Crypto Zombies Lesson 1 ,Ch14 Web3.js, Solidity Events
2018-04-28Codecademy Learn Java, HashMap, 2018 Programming



Tags:
Solidity tutorial
importing in solidity
solidity require
cryptozombies
crypto zomibes tutorial