cosmo-project / meteor-dapp-cosmo

Meteor dapp for building and vetting solidity contracts.
http://cosmo.to/
MIT License
61 stars 19 forks source link

import - how to? #16

Open drandreaskrueger opened 8 years ago

drandreaskrueger commented 8 years ago

How can I use 'import' in cosmo?

This is the error:

:1:1: Parser error: Source not found. import "...

regardless what I do. I have tried

import github.com/Arachnid/solidity-stringutils/strings.sol
import https://github.com/Arachnid/solidity-stringutils/blob/master/strings.sol
import https://raw.githubusercontent.com/Arachnid/solidity-stringutils/master/strings.sol
import strings.sol

and all of them result in the same error.

Would it work with the file locally available perhaps? In which folder?

I want to be able to compile this example, and use that library.

drandreaskrueger commented 8 years ago

https://github.com/Arachnid/solidity-stringutils#basic-usage