Core development report #10: full steam on recurrent transfers

in #hive3 years ago

image.png

Hi ! I've been quite busy in the last week polishing the recurrent transfer feature, he's a rundown of everything that happened:

Here's a sample output:

[{
    "id": 0,
    "trigger_date": "2020-12-08T02:16:51",
    "from_id": 5,
    "from": "initminer",
    "to_id": 3,
    "to": "hive.fund",
    "amount": {
      "amount": "50000",
      "precision": 3,
      "nai": "@@000000013"
    },
    "memo": "recurrent t",
    "recurrence": 48,
    "consecutive_failures": 0,
    "end_date": "2021-05-05T05:08:33"
  },{
    "id": 1,
    "trigger_date": "2020-12-08T02:16:54",
    "from_id": 5,
    "from": "initminer",
    "to_id": 2,
    "to": "steem.dao",
    "amount": {
      "amount": "50000",
      "precision": 3,
      "nai": "@@000000013"
    },
    "memo": "recurrent t",
    "recurrence": 48,
    "consecutive_failures": 0,
    "end_date": "2021-05-05T05:08:33"
  }
]

Next I plan on doing more of a research task figuring out if we can expand the rc plugin to charge RC as it goes, so that we charge RC for an user every time he triggers a recurrent payment. It's a better UX than making him pay upfront the whole cost of all his future recurrent transfers.

If you have questions on some implementation details feel free to ask them :)

@howo

Sort:  

Peakd is very excited about the work you are doing!!

You're also doing RC pool stuff as well? We are excited for that too.

The connection between subscription style automatic payments and the potential option of encrypted content is something we are particularly interested in has there been any more discussion about that? I would love to catch up on it

Thanks for always being there !

You're also doing RC pool stuff as well?

Yes ! Not actively working on it right now because I hit a wall and it's quite boring spending hours while making no visible progress so I figured I'd work on something else to get some "fresh air" until I go back to it But it's almost finished.

regarding encryption (pinging @theycallmedan so he gets a notification), we talked about it on the initial dev meeting about patreon use case:

I think it's around 20-25 minutes

Tl;dr: it's very challenging to do it layer one, and I don't think all front ends are ment to have the patreon use case enabled anyways, so I think the patreon hive front end should do the encryption in a centralized manner:

  • encrypt using a key that you store on a centralized database
  • push encrypted content to the chain
  • if the registered user has recorded a recurrent payment in the last, say, month and has given the right contribution to see the content, decrypt the post and show it to him in plain text, otherwise show a link to become a subscriber

The downside is if we have multiple front ends competing. Then you have to hop from one to another to see encrypted content. And then we can think of clever layer 2 solutions with a distributed database with the keys in it that's shared among patreon front ends so they all share the same keys.

But I don't think it's worth spending time on it until we actually see multiple front ends and that being a problem.

encrypted content? 👀

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

Your post got the highest payout of the day

You can view your badges on your board and compare yourself to others in the 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 @hivebuzz:

Saint-Nicolas challenge for well-behaved girls and boys
HiveFest⁵ badges available in the HiveBuzz shop
The new HiveFest⁵ Attendee badge is waiting for you

Congratulations @howo! You received a personal badge!

It's great to see you are attending HiveFest⁵ in Altspace VR.

Have fun!

You can view your badges on your board and compare yourself to others in the Ranking

Do not miss the last post from @hivebuzz:

It's today! Do not miss the opening of HiveFest⁵

Ho Ho Ho! @howo, one of your Hive friends wishes you a Merry Christmas and asked me to give you a new badge!

HiveBuzz wish you a Merry Christmas!
May you have good health, abundance and everlasting joy in your life.

To find out who wanted you to receive this special gift, click here!

You can view your badges on your board and compare yourself to others in the Ranking

Do not miss the last post from @hivebuzz:

Offer a gift to your friends for Christmas
HiveFest⁵ feedback and contest results