YOUR passive INCOME with DIYHub

avatar

Hey there DIYers and people who are searching for a passive income!

Adobe_Post_20200218_1416140.6065466988369077.png

We want to update you about our project and remind you about the steem related uniqueness of our service:

We all dream of passive income right? - but how?! If you delegate to DIYHub you will earn 100% of the curation/author rewards of DIYHub! We will never ever hoard SP in our wallet like any other community and curation project. Our promise is that we are paying out 100% of all rewards forever!

Adobe_Post_20200218_1357140.1533648122861747.png

The payout of our service is done via python code so we can't make mistakes and we do not want to do it manually even. (this will work as long as the steem blockchain & API Nodes are working of course)

The following steps are done in the sourcecode - for ease I write them first in pseudocode for you:

  1. Checking the unclaimed rewards of @DIYHub
  2. Checking all incoming delegations
  3. Calculating the percentage of every delegation related to our total delegated SP
  4. SP+STEEM = PayoutSteem / SBD = PayoutSBD
  5. claiming the rewards of @DIYHub
  6. Paying out PayoutSteem / PayoutSBD to the delegators proportional to their delegation
  7. Distributing DIY Tokens to our delegators also proportional to their delegation

This process is a everyday process for our account. You can find all transactions as usual on the steem blockchain via https://steemworld.org/@diyhub or any other UI for this use case. Here is a little screenshot:

grafik.png

If you want to know more about the python code feel free to ask us. This is one little but the most important part of the code:

...
print("load all incoming delegations...")
ops = []
for op in acc.history(only_ops=["delegate_vesting_shares"]):
  ops.append(op)
acc_info = AccountSnapshot(acc, account_history=ops, steem_instance=stm)
acc_info.build()
data = acc_info.get_data()
delegated_vests_in = data["delegated_vests_in"]

delegated_sp_in = {}
fullDelegatedSP = 0.00
for d in delegated_vests_in:
  delegated_sp_in[d] = stm.vests_to_sp(delegated_vests_in[d])
  fullDelegatedSP = fullDelegatedSP + stm.vests_to_sp(delegated_vests_in[d])

# payout the delegators
for d in delegated_sp_in:
  percentOfTotal = Decimal(delegated_sp_in[d] / fullDelegatedSP * 100)
  if percentOfTotal > 0:
    supplyTokens = round((percentOfTotal/10)/2,2)
    rewardTokens_delegators(d,supplyTokens)
    if steemVal > 0 or SPVal > 0:
      valSteemToPayout = Decimal(steemVal / 100) * percentOfTotal
      valSPToPayout = Decimal(SPVal / 100) * percentOfTotal
      roundedUpSTEEM = round(valSteemToPayout + valSPToPayout,3)
      if roundedUpSTEEM == 0:
        roundedUpSTEEM = 0.001
      transferRewards(acc,d,"STEEM",roundedUpSTEEM)

    if sbdVal > 0:
      valSBDToPayout = Decimal(sbdVal / 100) * percentOfTotal
      roundedUpSBD = round(valSBDToPayout,3)
      if roundedUpSBD > 0:
        transferRewards(acc,d,"SBD",roundedUpSBD)
...

But how can we sustain a non-profit initiative?

You are right - Because we always pay out the STEEM Power in STEEM we will run out of steem at a specific time in future. But I (@tibfox) am giving away a part of my own aquired steem to pay this service. I believe in this project, in the diy/music/art scene on the steem blockchain and my visions totally cover the visions of @DIYHub. Of course we would love to see other steemians supporting us with a little donation in form of a steem transfer. Feel free to donate!

How can you become a part of our delegators?

Well that's the easiest thing in the world. Just follow those links:

25 SP | 50 SP | 100 SP | 250 SP | 500 SP | 1000 SP

Adobe_Post_20200218_1357140.1533648122861747.png

THANK YOU

We highly appreciate all every single of our previous and our upcoming delegators, the whole curation team and the creators who we are running this project for. This service would never exists without you and your help. It is a joy to work with all of you on this amazing blockchain. Here is the current list of our friends:

curators: @kaerpediem @blind-spot @emsonic @priyanarc @tibfox @old-guy-photos @hafizullah @roger.remix @steemer-sayu907 @rehan12 @carrieallen @medro-martin

delegators: @priyanarc @tibfox @blind-spot @alamin33 @hafizullah @hmetu @solominer @quochuy @steemer-sayu907 @mariannewest @notconvinced @lorenzopistolesi @vincy @knowhow92 @jschindler @cmplxty @ecoinstar @elizacheng @ph1102

We hope to help making the steem blockchain a place full of knowledge, creativity, useful tutorials and art!



0
0
0.000
1 comments
avatar

Congratulations @diyhub! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 300 comments. Your next target is to reach 400 comments.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @steemitboard:

Downvote challenge - Add up to 3 funny badges to your board
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
0
0
0.000