Back to Browse

Learning Solidity (0.5) - Import

6.2K views
Mar 7, 2020
4:04

You can import other Solidity files into a contract by using the "import" keyword followed by the relative path to the Solidity file that you want to import. Furthermore, in Remix you can directly import contracts from GitHub. Code: https://solidity-by-example.org/import/ Open Zeppelin ERC 20 contract (sol 0.5) https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.5.0/contracts/token/ERC20/ERC20.sol Remix IDE: http://remix.ethereum.org Solidity: https://solidity.readthedocs.io Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart Join me on Discord: https://discord.gg/Ny8sPaj Website: https://smartcontractprogrammer.com

Download

0 formats

No download links available.

Learning Solidity (0.5) - Import | NatokHD