Dime.photo — OST KITα Phase III — Weekly Update #3

It’s Week 3 of the OST KIT Alpha 3 developer challenge, and I’ve completed the main objectives, so now it’s mostly optimizations and UI enhancements.

Aaron
2 min readAug 2, 2018

Ðime Wallet 2.0 ✨

Last week my stated goal was to make the wallet more user friendly and I think I’ve accomplished that. The wallet now shows usernames in the From/To fields instead of illegible hex addresses. It lists the transaction types, tying them to an action on the website, e.g. Promote Post or Contributor Reward. It better handles Pending transactions. It has the Pagination®.

The transaction handling overall has been improved. Previously I was just running cron every 30 seconds to query the OST KIT API and update any pending transactions. Now when an action is executed, the application queues an API update every 5 seconds until the transaction is completed and mined. This has the effect of updating transactions much faster on the site, and avoids the overhead of a constant running poll. Ideally it would be best if OST KIT were to add support for webhooks.

Ðime Wallet 2.0 — Now with Pagination®

Update All the Things 🆕

I must be a masochist, because I decided to take another detour (in the middle of a dev challenge) to update all the major components of the application, including the dreaded Python 2 to 3 conversion. Ðime.photo now runs on:

Python 2.7 ➡ ️3.5
Django 1.8 ➡ ️2.0
Ubuntu 14 ➡ ️16

Progress

The Wallet-Lite functionality is done and the wallet UX is improved. The transaction handling is optimized. The photon torpedos are armed.

Issues / Lessons

When querying for the Wallet Balance, it should be noted that the balance is immediately updated for outgoing transactions, but for incoming transfers you must wait until the block is mined.

Next Week

I would like to add a “Buy Ðimes” faucet. This will just airdrop some amount of tokens to the user for testing. I would also like to spiff up the design and branding a little bit. But I’ll probably mostly be working on the final submission video.

--

--