Welcome to daily updates from @sagarkothari88 - a Hive Witness & mobile-app-developer. I daily invest my time with my skillset in #Hive & I daily hive-power-up.
Project - Distriator
Show only Invoice based revenue
@starkerz reported that how a business can have a sudden spike in revenue
After thorough investigation, I found that it was not related to business revenue.
I added extra filters to only consider v4v-invoice and keychain-invoice
With that, we only populate revenue related values.
These changes are deployed on production.
Here is the updated graph after filtering out invoice-based-payments.
Rewarding the onboarders
Idea was to reward onboarders.
To achieve this, best thing is to look at the account-meta-data
In account meta data, there is a property called recovery_account
With this, it is easy to identify, who onboarded the hive-user
I had to comment out the code which generates reward the onboarder
Based on discussion with @starkerz, idea was to reward the distriator based onboarders.
I implemented very generic solution but requirement here is to implement onboarding & reward those who onboard businesses & hive-users via those businesses.
I also commented out the code which transfers the reward to onboarder
As soon as distriator based sign-up is in place, we'll re-enable this.
Updated Memo for Rewarding Trusted Guides
Based on discussion with @starkerz, I've updated the memo
Now memo includes very little but subtle details to give guides idea about what is the incoming reward is for.
These changes are deployed.
A Test Payment for testing changes
Of course, after pushing the changes I had to test.
So, I used my test account with a test-business-account
I generated an invoice via #v4v app & made the payment.
After that, I claimed using distriator.
Here is how it looks. Following indicates the changes in memo but note that the memo is for onboarder, which is also same as trusted-guide.
Who claimed today?
With Following screenshots, you'll get the idea who claimed how much today.
It will also help you read the reviews they've posted.
My contributions on projects on Hive Blockchain
Distriator App (on-going & in-developement) (also known as Hive Freedom Dollar)