BitShares Forum

Main => General Discussion => Topic started by: puppies on November 19, 2015, 07:29:19 am

Title: recurring payments
Post by: puppies on November 19, 2015, 07:29:19 am
What is the deal regarding recurring payments? 

This hasn't.been added while I wasn't watching has it?

I ask because I recently had to stop my recurring PayPal payment to freedominradio and was kinda hoping I could offer a recurring payment in bts rather than PayPal.

If this hasn't been done then there are probably much greater priorities.  Is this change intended as an included change, or will we need to pay through a worker proposal?

I'd like to be able to promote through fdr, but need to wait till that's ready. 

Title: Re: recurring payments
Post by: xeroc on November 19, 2015, 08:19:28 am
The blockchain supports it already .. However neither the GUI nor the CLI wallet expose a "nice" API .. you would need to build your transactions manually with the tx_builder at this stage ..
Title: Re: recurring payments
Post by: cube on November 19, 2015, 08:27:06 am
The blockchain supports it already .. However neither the GUI nor the CLI wallet expose a "nice" API .. you would need to build your transactions manually with the tx_builder at this stage ..

Can you show an example?
Title: Re: recurring payments
Post by: xeroc on November 19, 2015, 08:56:49 am
These are the operation types:
https://github.com/cryptonomex/graphene-ui/blob/master/dl/src/chain/chain_types.coffee#L76-L79

and this is how the operations look like:
https://github.com/cryptonomex/graphene-ui/blob/master/dl/src/chain/serializer_operation_types.coffee#L713-L752

and this is how I used the builder in the price feed script (feed update is type 19)
https://github.com/xeroc/python-graphenelib/blob/master/scripts/pricefeeds/pricefeeds.py#L371-L385
Title: Re: recurring payments
Post by: puppies on November 19, 2015, 09:54:54 pm
Thanks Xeroc.  I'll start digging in and see if I can wrap my head around it.