Skip to content

Smart Contracts / Retrieve a list of games from an API using oraclise. (Angular 7 / typescript + web3 + truffle framework + solidity + oraclise)

License

Notifications You must be signed in to change notification settings

eusthace811/vwt-test

Repository files navigation

VWT - Oracle

Solidity and most other smart contract languages are deterministic. Sometimes they need data that is outside of the blockchain.

One of the ways Ethereum has dealt with this issue is by offering oracle services.

A popular one is Oraclize another is TinyOracle. Both will work well for this task.

You will need to use one of the oracle services to connect to the following JSON file.

The smart contract should store this list of games. Only the owner of the contract can call this function.

Architecture

Please draw up a basic diagram of how you might model a flow for a system where there is a wallet that also acts as a single sign on mechanism to multiple casinos. For example, like login with facebook.

How can this work with a user’s wallet on the blockchain instead of a standard centralised web app with database.

There are no right or wrong answers to this test and the purspose is to serve as a tool for discussion.

About

Smart Contracts / Retrieve a list of games from an API using oraclise. (Angular 7 / typescript + web3 + truffle framework + solidity + oraclise)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published