Inspiration
This is the second time I use ChainLink for Oracle. X-Space will take us to the Mars, we should now the weather or climate on it.
What it does
- the original data is from NASA, using ChainLink to get the pressure on Mars from https://api.nasa.gov/insight_weather/?api_key=eTitgeQIgcVYEqKbEfToPyG1r1GVVbaV4SKC7vwe&feedtype=json&ver=1.0 via a proxy http://mars.muzamint.com:3000 to avoid the issue #4118.
- deploy a ChainLink node with Job ID as follows;
/** * Network: Kovan * Oracle: Chainlink - 0x53912D3EE483Ac1549E1d47f154867aDf06DBa42 * Job ID: Chainlink - 3d3cd67120344fdda95c239bbf272e51 * Sample request Contract: 0x756387869AfDEeb868E82084CAa27847b0970B4B * Fee: 1 LINK */ - deploy a betting game DApp over the pressure on Mars on Vercel demo
How we built it
All source code are open on github repo: https://github.com/MarsWeatherReport
- we serve a ChainLink Oracle node on SSDNode cloud.
- we serve a Data Proxy from NASA on Scaleway cloud.
- we host our DApp on Vercel and using hardhat framework for developing and deployment.
Challenges we ran into
I took some times to figure out the ChainLink API URL parsing problem and writing golang code to find the root cause. Also report this issue to chainlink on github. We plain to use MARSW (Mars Weather) tokens for gambling, but finally use points instead. Free to get 100 points as bonus for demo and easy to start with.
Accomplishments that we're proud of
I support another team in Taiwan for the same hackathon. We share our experience of using ChainLink, hackathon news and Solidity knowledge in our "Solidity Taiwan" community with Telegram.
What we learned
More clear to know how to use ChainLink network and completely running a node again. Hope we can keep this ChainLink node running to serve all weathers news from Mars.
What's next for Bet on The Weather on Mars
To complete the MARSW tokens release for this service. Maybe we can provide more features on this DApp to provide a full range of weathers services of all planets.
Built With
- chainlink
- ethereum
- hardhat
- javascript
- kovan
- micro
- nasa
- remix
- scaleway
- solidity
- ssdnode
- vercel

Log in or sign up for Devpost to join the conversation.