Líf, a smart token for travel companies

Augusto Lemble
Winding Tree
Published in
2 min readJul 14, 2017

--

Ethereum tokens have become very popular in the past months, They allow companies to issue assets for their platform and create markets where users can easily transfer value between themselves.

Since we started working on Winding Tree we knew that we needed to create a token to make our decentralized platform a reality. Not only because we need to transfer value, you can do that with Ethereum, but also to transfer data and execute functions between trusted contracts on our platform. This is why we decided to not only use a common ERC20 token but to also add a few more methods that allow us (and future developers) to build their own booking solutions using our token, called Líf.

Right now you can only transfer value on ERC20 tokens, what Líf tokens also need is the possibility to transfer more than just value, information too.

This is how the interface of the ERC20 looks:

Líf tokens will have three additional methods, through which the token holder is be able to send value + data, log information, and/or execute a function on those transfers. This brings extra value and use cases to the token, allowing companies to design more complex and tailored applications on our platform.

Here is how the interface of our token would look:

This is what we are building on WT, a token that is ERC20 compatible with transfer, transferFrom and approve methods that will also receive a bytes parameter and execute a function in them, and not only execute functions, but also store data.

With the addition of these methods we allow for:

  • Execution of booking on payment transaction, pay and register the booking on the same transaction.
  • Send encrypted data between token holders.
  • Log information on the blockchain, proof of existence.
  • Distribute votes on our DAO every booking done.

We are currently working on these features and more, using zeppelin-solidity as a security framework. Security implementation is our highest priority when adding additional functions. Some of the functions include: approveData, transferData and transferDataFrom cannot have the token address as a receiver for example, because it would allow the access to internal function on it.

We believe that this is the next generation of token smart-contracts, and we intent to be the first to bring them to the Ethereum network.

--

--