More examples from Oraclize: https://github.com/oraclize/ethereum-studio-examples
That's a sample application to demonstrate working with Oraclize in Ethereum Studio.
- Clone the project to your workspace.
- Select the project and start a sandbox. It will use Oraclize sandbox plugin with the following params (see ethereum.json):
"plugins": {
"oraclize": {
"networkID": 161,
"loadRealData": true
}
},
- Open a dialog of contract
Contract
and callupdate()
with value 100000000000000000 in advanced parameters.
You will see requests and response in Oraclize Panel and contract logs in Ethereum Console.