OST Loyalty 2.0 — Week 4: The Stage

TechupBusiness
3 min readAug 3, 2018
Photo by Samuel Fyfe on Unsplash (partner of OST Simple Token)

OST Loyalty is an add-on for the e-commerce software cs-cart (online stores and marketplaces) that creates a customer loyalty program based on OST Simple Token, an easy-to-use side-blockchain for the crypto-currency Ethereum (ETH). It is the result of our participation in the first “hackathon” OST KIT Phase 2. This series will discover our progress for OST KIT Phase 3 to integrate the user wallet into OST Loyalty.

One of the enhancements we made, were adding (optional) links to OST View, the blockchain explorer for the OST side-chain. They are constructed by the following logic (we just used transactions and accounts):

# Generic template
view.ost.com/chain-id/1409/[OBJECTNAME]/[0xHASH]
# This means for us:
## Transactions
view.ost.com/chain-id/1409/transaction/[0xHASH]
## Accounts / addresses
view.ost.com/chain-id/1409/address/[0xADDRESS]

The chain-id appears to be static, but will probably change later on. We will need to extend OST Loyalty with a dynamic side-chain id as soon as OST switches to production side-chains.

OST View, blockchain-explorer for OST Simple Token side-chain

Even though we wanted to publish the live demo this week, we had some bugs to fix and some enhancements to make (like adding the logging properly), which took quite some time. That’s why this will be one of our tasks for the next week — the final.

UPDATE: We finalized the public demo in the meantime. You can check it out at https://ost-demo2.techupbusiness.com/ and play around. Username is ost and password kit . You need to create an user account (you can use any email address) before you can start testing. Please notice:

  • The system will still get some updates (you may see weird output on the website or something is not working properly)
  • You will get branded tokens for your registration
  • Even though you will see >100 tokens on checkout as reward, we needed to adjust the API to max. 100 branded tokens because OST KIT does not except higher numbers than 100. Therefore you will receive max. 100 tokens in your wallet as a reward
  • The system will not send out any emails
  • You will get credited 1% of your sales volume as branded tokens in return (but max. 100 tokens, see above).
  • On checkout simply use “Other payment option” → “Phone ordering”
  • There is a coupon code to try on checkout: ost

Unfortunately we found out, that the amount of tokens for transfers is limited to a maximum of 100, which does not really makes sense for us. So we updated our PHP wrapper to limit all amounts to a maximum of 100 (if the wrapper is used in “test” mode) and hope that this restriction will be removed.

We finished the first version of the OST Loyalty documentation and use markdown syntax. It will be included in the downloadable OST Loyalty add-on package for cs-cart.

Next week we will make, besides the already mentioned live demo, the newest version of OST Loyalty, which is available for download, performs some code cleaning, prepare the video, ensures that we reach all hackathon goals and polish all edges that will pop-up.

Adoption notes

Recently Coinbase published a WooCommerce extension to allow 50 million WooCommerce store owners to accept crypto payments. This is exactly what we think (see also our OST Loyalty 2.0 — The halfway look-back) is needed for OST to grow immediately: extensions for major e-commerce applications as a points based customer loyalty program. Later on we would like to see these BT economy tokens also getting accepted by third-party payment providers.

--

--