Author Topic: [BitShares 2.0 Technologies] Recurring & Scheduled Payments (Discussion)  (Read 5673 times)

0 Members and 1 Guest are viewing this topic.

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.


Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
1) you setup a withdraw permission:

Code: [Select]
get_prototype_operation withdraw_permission_create_operation
[
  25,{
    "fee": {
      "amount": 0,
      "asset_id": "1.3.0"
    },
    "withdraw_from_account": "1.2.0",
    "authorized_account": "1.2.0",
    "withdrawal_limit": {
      "amount": 0,
      "asset_id": "1.3.0"
    },
    "withdrawal_period_sec": 0,
    "periods_until_expiration": 0,
    "period_start_time": "1970-01-01T00:00:00"
  }
]

All you need to define is

* The account from which to withdraw
* The account that is allowed to withdraw
* The asset and amount limit that is allowed to withdraw
* And the period in which the limit is reset (e.g. 1k$ monthly.)
* as well as the start time


2) The other party can withdraw funds from your account with the
withdraw operation:

Code: [Select]
get_prototype_operation withdraw_permission_claim_operation
[
  27,{
    "fee": {
      "amount": 0,
      "asset_id": "1.3.0"
    },
    "withdraw_permission": "1.12.0",
    "withdraw_from_account": "1.2.0",
    "withdraw_to_account": "1.2.0",
    "amount_to_withdraw": {
      "amount": 0,
      "asset_id": "1.3.0"
    }
  }
]
You need

* The actually object id of that withdrawal permission
* the account to withdraw from (imho redundant)
* the account to withdraw to
* and the amount

The biggest problem here is that the withdraw permissions are not
"searchable" and I don't think they are in the results of
get_full_account yet. @abit: maybe you can help add them there.

Once you have a withdraw permission object id (and the matching
account), you can create a withdrawal transaction!
If you have time please submit an issue to github if not already done.
BitShares committee member: abit
BitShares witness: in.abit

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
1) you setup a withdraw permission:

Code: [Select]
get_prototype_operation withdraw_permission_create_operation
[
  25,{
    "fee": {
      "amount": 0,
      "asset_id": "1.3.0"
    },
    "withdraw_from_account": "1.2.0",
    "authorized_account": "1.2.0",
    "withdrawal_limit": {
      "amount": 0,
      "asset_id": "1.3.0"
    },
    "withdrawal_period_sec": 0,
    "periods_until_expiration": 0,
    "period_start_time": "1970-01-01T00:00:00"
  }
]

All you need to define is

* The account from which to withdraw
* The account that is allowed to withdraw
* The asset and amount limit that is allowed to withdraw
* And the period in which the limit is reset (e.g. 1k$ monthly.)
* as well as the start time


2) The other party can withdraw funds from your account with the
withdraw operation:

Code: [Select]
get_prototype_operation withdraw_permission_claim_operation
[
  27,{
    "fee": {
      "amount": 0,
      "asset_id": "1.3.0"
    },
    "withdraw_permission": "1.12.0",
    "withdraw_from_account": "1.2.0",
    "withdraw_to_account": "1.2.0",
    "amount_to_withdraw": {
      "amount": 0,
      "asset_id": "1.3.0"
    }
  }
]
You need

* The actually object id of that withdrawal permission
* the account to withdraw from (imho redundant)
* the account to withdraw to
* and the amount

The biggest problem here is that the withdraw permissions are not
"searchable" and I don't think they are in the results of
get_full_account yet. @abit: maybe you can help add them there.

Once you have a withdraw permission object id (and the matching
account), you can create a withdrawal transaction!

Offline svk

Status?
Does that include a basic set of conditions to create transaction rules in the GUI?

We need some documentation of how this is implemented in the blockchain before we can add it to the GUI. At the moment I have no idea how it works.
Worker: dev.bitsharesblocks

Offline btswolf

Status?
Does that include a basic set of conditions to create transaction rules in the GUI?

Offline Samupaha

  • Sr. Member
  • ****
  • Posts: 479
    • View Profile
  • BitShares: samupaha
This was very positive surprise. I've heard that many merchants were not interested in bitcoin because it didn't work with subscription based business models.

Tuck Fheman

  • Guest

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
PayPal 2.0!
How about having a debit card that can withdraw $X monthly from your blockchain account?!

Tuck Fheman

  • Guest
BitShares 2.0 Technologies
Recurring & Scheduled Payments



Give direct debit authority or limited withdraw permissions to anyone
BitShares is the first smart contract platform with built in support for recurring payments and subscription payments. This feature allows users to authorize 3rd parties to make withdraws from their accounts within certain limits. This is convenient for anyone who likes to “set it and forget it” when it comes to their monthly bills and subscriptions.

full length

PayPal 2.0!

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
Who has figured out the magic in this already?

Looks like you've been busy lately.
The magnitude of changes is incredible.
Lets see how it will work out.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
BitShares 2.0 Technologies
Recurring & Scheduled Payments



Give direct debit authority or limited withdraw permissions to anyone
BitShares is the first smart contract platform with built in support for recurring payments and subscription payments. This feature allows users to authorize 3rd parties to make withdraws from their accounts within certain limits. This is convenient for anyone who likes to “set it and forget it” when it comes to their monthly bills and subscriptions.

full length
« Last Edit: June 08, 2015, 06:31:17 pm by xeroc ¯\_(ツ)_/¯ »