Trying to reference mortal.sol in standard ethereum library

by Phil Rutovitz   Last Updated January 20, 2018 16:28 PM

I am trying to reference mortal.sol in the standard ethereum library. I have deployed mortal.sol under my main test account. However I get the error source not found. What I tried was:

import "https://github.com/ethereum/solidity/blob/develop/std/mortal.sol"

Then when I have a contract:

contract foo is mortal {

somestuff; }

what do I need to do to reference mt Mortal contract that is deployed already on the chain?

I have looked at some posts but cannot seem to figure out. Any ideas?

Thanks!



Related Questions


Inherited constructors execution order

Updated October 31, 2017 16:28 PM


Solidity and multiple inheritance

Updated April 12, 2018 16:28 PM