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

Fee schedules #13

Open
kensauruss opened this issue Apr 17, 2022 · 0 comments
Open

Fee schedules #13

kensauruss opened this issue Apr 17, 2022 · 0 comments

Comments

@kensauruss
Copy link

kensauruss commented Apr 17, 2022

Currently AbcPay does not have fee schedule. This is an issue with multi-signature feature since they allow bad persons to spam the BWS with unsigned transactions, causing DOS attack. This is due to the reason that BWS serve as the bridge to facilitate multi-signature transaction signing process. To prevent this issue, as well as covering for the BWS hosting cost for better UX and faster performance, a new fee schedule is proposed as follows:

  • Users are free to store in P2PKH addresses and send P2PKH transactions (Single signature)
  • Users are free to store multi-sig addresses (P2SH)
  • Users are free to send up to 1 transactions / day for 1 wallet
  • Users can choose to pay for subscriptions in order to send more than 5 transactions / day for P2SH addresses:
24 hours subscription: 10,000 sats. Max 10 transactions/day (excluding transaction fees)
30 days subscription: 200,000 sats. Max 100 transactions / day
1 year subscription: 0.02 BCHA (1M sats), max 1000 transactions/days

This applies for 1 wallet only. Multiple wallets require multiple subscriptions. When the user changes to other wallets, the subscription will refresh again.
Should be able to show the numbers in USD for better reference.
There are two options for subscriptions:

  1. Local wallet only. That means only transactions sent from the local wallet's addresses are covered by the subscription
  2. Cross-app wallet: When this option is selected, the subscription will be associated with the addresses on BWS server. There will be a warning to the user that the subscription information will be stored on AbcBWS server if they wish to process.

Note: Due to the nature of multi-sig payment, it is impossible to apply transaction fee per transaction, since they can be rejected and still create spams to BWS.
There should be a notice that the Fee schedules may changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant