Wulet.io
2 min readNov 12, 2018

Smart contracts on WULET. What is the hassle about?

Vladimir has recently started to work with WULET and is closely working on smart contracts implementation. We asked him a couple of questions on the integration and here is what we found out.

Hey Vladimir! We are very excited to have you as a part of WULET! Welcome on board!

Hi! I am very excited to work with WULET and help with the technical part. Together we will definitely do something big for the community.

True! So, as a smart contract guru, please, tell us what’s going on this side in the WULET platform in particular?

I probably won’t tell you anything new, but WULET needs some stable and smooth operation in order to function properly, so it is necessary for the smart contract to work as determined and independent as possible, not depending on the external blockchain world. It is needed for the consistency of the operations on the blockchain and also it significantly influences the speed of the block formation.

It is a tricky task for the smart contract to send direct request to any outside web course, this is where Oracles come into hand. They are so-called ‘connecters’ between a smart contract and the outside world for obtaining external information.

Such services track events from the certain blockchain contracts, and in the event of a special request, the information will be carefully sampled and transferred to the contract using a standard blockchain transaction.

The contract itself is ‘smart’ enough to determine the timing when the data is needed. This action is divided into two separate transactions: a transaction that initiates a data request (can be created both by the client and another contract), and a transaction that returns data to the contract (initiated by the oraclize service).

All external modules of the WULET platform work in the same way: they scan network blocks, detect events, react to them, execute logic outside the blockchain, and then enter data into the blockchain through the transaction (if required).

Thanks for the explanation, Vladimir! We hope to see you soon!

Wulet.io

https://wulet.io Wulet - Swap your loyalty points. Store all your bonuses in one app and exchange them whenever you need!