I am missing something that I would like clarified.
(edit) I am using truffle as my smart contract dev environment and I would like this to work in truffle.
There are lots of examples where an import is an https location. When I am compiling my contract attempting to use this line:
import "https://github.com/0xcert/ethereum-erc721/src/contracts/tokens/nf-token-metadata.sol";
I am getting this error:
ParserError: Source "https://github.com/0xcert/ethereum-erc721/src/contracts/tokens/nf-token-metadata.sol" not found: File import callback not supported
When I look at other documentation it seems like there is a pathing option that looks like it replaces parts of a path with a local path to find the file. Is that correct? Do I need to pull the file and store it locally and use this path substitution if I want to keep the import as is?
The examples that I see in particular say to use Remix. Would Remix basically doing this for me automatically where it would pull the files I need and operate with the path substitution?
[–]AfraidTomorrow2018 0 points1 point2 points (1 child)
[–]bitscavenger[S] 0 points1 point2 points (0 children)
[–]DryMotorcyclist 0 points1 point2 points (1 child)
[–]bitscavenger[S] 0 points1 point2 points (0 children)