Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New BSIP: Free TRANSFERs with POS #212

Open
froooze opened this issue Sep 14, 2019 · 3 comments
Open

New BSIP: Free TRANSFERs with POS #212

froooze opened this issue Sep 14, 2019 · 3 comments
Labels
chain utility Make use of the blockchain profitability / fees

Comments

@froooze
Copy link

froooze commented Sep 14, 2019

BSIP: 
Title: Free TRANSFERs with POS
Author: [bench] <https://github.com/froooze>
Status: Draft
Type: Protocol
Created: 2019-09-15
Discussion: https://github.com/bitshares/bsips/issues/212

Abstract

Newer blockchains (EOS, IOTA, NANO ... ) want to improve adoption and offer new use cases with Free Transfers (FT). There are different concepts to prevent spam attacks, but PoS (Proof of Stake) looks like the most convenient one.

Specifications

  • Locking up a certain amount BTS in a smart contract, to allow a certain amount of free transfers during a certain time period.
  • One staking account can provide free transfers for other accounts with the Whitelist function.

FT_parameter

  • ft_rate (How many BTS are needed per FT and ft_period)
  • ft_period (How long is one period)

FT_object

  • user_id
  • ft_locked (amount of BTS, which are locked for FT)
  • ft_whitelist

FT_function

Transfer function needs to check if there is a FT available:

ft_sum = counting all FTs from last ft_period till now

if sum_ft < ft_locked/ft_rate
ft_bool = true
else
ft_bool = false

Copyright

This document is placed in the public domain.

See also

#191
cryptonomex/graphene#612
bitshares/bitshares-core#186

@froooze froooze changed the title New BSIP: Free TRANSFERs with POS New BSIP: Free TRANSFERs with coin-days Sep 26, 2019
@froooze
Copy link
Author

froooze commented Oct 3, 2019

Free transfer feature requested:
https://bitsharestalk.org/index.php?topic=22263.msg335931#msg335931

@pmconrad
Copy link
Contributor

pmconrad commented Oct 3, 2019

Do margin positions also count as locked BTS?

The BTS collateral in margin positions is not locked up - a variable part of it is backing the debt and can be taken out at any time due to margin calls and/or forced settlement and/or simply paying back the debt.

A margin position quote for free transfers ?

I see no justification for this.

Locking up x BTS allows x/BTS_per_FT during period_for_FT.

You need to specify what "Locking up" means.

Also, using explicit parameters has the downside that these parameters will need to be discussed and defined explicitly. I would prefer an automatic approach, similar to the rate-limited bandwidth model used by STEEM.

POS wit coin-days

There are other models. IMO simple coin-days is not good because it allows accumulating over long time followed by heavy spamming in a short time.

@froooze froooze changed the title New BSIP: Free TRANSFERs with coin-days New BSIP: Free TRANSFERs with POS Oct 3, 2019
@froooze
Copy link
Author

froooze commented Oct 4, 2019

@pmconrad
I agree on your answers and coin-days was the wrong wording for my concept.

I look for a concept which needs ft_period to reload balance from 0% to 100%

@abitmore abitmore added profitability / fees chain utility Make use of the blockchain labels Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chain utility Make use of the blockchain profitability / fees
Projects
None yet
Development

No branches or pull requests

3 participants