I am trying to compile below mentioned code (taken from Oraclize documents) using TRUFFLE but am getting compilation error saying :
'Cannot parse one.sol: Unexpected token p in JSON at position 0'.
Our Smart Contract developer has provided our smart contract repo via GitHub
The GitHub repo has the following folders:
And these files:
I am using a smart contract that imports and uses the Oraclize contract at https://github.com/oraclize/ethereum-api/blob/master/oraclizeAPI_0.4.sol, if in the remix editor this can be done as follows:
I am trying to do a simple Truffle Compile on window 10 using git bash but i keep getting
"Could not find a suitable configuration file"
I have tried "Truffle Compile" after running truffle init.