Add asset transaction fee support

Open
#101 12 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
22/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
blockchain

Research direction

Start by reading the full issue and its comment thread to understand the proposed fee model and any unresolved objections. There are no files, tests, or implementation entry points identified, so first establish the relevant protocol components and agree on the design. Done would require an accepted protocol specification covering fees, exemptions, adjustment, precision, and distribution.

Written by the indexing model from the issue text.

Description

CAP help wanted needs draft

Hi - We are interested in support for an adjustable internal transaction fee for assets that would look something like this:

  1. For every transaction, a percentage of the sent amount is redirected to a specified fee pool account separate from the issuing account. This can be in addition to the XLM transaction fee.
  2. The fee pool is distributed later, and transactions involving the issuing account and fee pool account are exempt from the fee.
  3. Working accounts can also be made exempt through an account whitelist.
  4. An initial fee rate is specified when the asset is issued, but can be adjusted by the issuing account. The rate can be set at least as precisely as '0.01%'.

Appreciate any thoughts or feedback about this. Thanks!

Dominant language
RPC
Stars
632
Forks
399
Avg merge
1d 23h
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stellar/stellar-protocol

All issues in stellar/stellar-protocol

Similar issues

More Blockchain issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.