App builders earn revenue: integrator fee recipients on FWSS rails
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- solidity
- Domain
- blockchain, payments
Research direction
Start with LibRails.createRails, which the issue identifies as the place where storage rails are created with commission 0 and FWSS as serviceFeeRecipient; read the related filecoin-pay issues #303 and #300 for the v2 rail context. The proposal leaves the recipient interface and cap to be designed. Done means integrators can receive a capped share of validated settlements, payers can see the total rate, and recipients cannot affect proving, termination, or the payer's escape hatch.
Written by the indexing model from the issue text.
Description
user story: as an app builder who brings users to FWSS, i want rails created through my app to pay a capped share of settlement to my address, so i only earn while my users' data is actually stored and proven.
why it doesn't work today
only the rail creator sets commission, and FWSS creates every storage rail itself with commission 0 and itself as serviceFeeRecipient (LibRails.createRails). an app can take a cut of deposits, but can't earn on ongoing storage.
why v2 is the moment
with FilOzone/filecoin-pay-v2#6 (and rail logic moving into FWSS), who gets paid on settlement is FWSS code. so this is mostly a question of whether FWSS's rails accept extra recipients at creation.
rough proposal
- data set creation accepts optional
{recipient, bps}[], with a total cap enforced on-chain (e.g. 5%, just as an example) - recipients are paid from validated settlement only, same as the SP
- payer sees the total rate (SP + recipients) before approving
- recipients are readable from the rail / data set, for attribution and explorers
acceptance
- a data set created through an integrator pays that integrator on every validated settlement
- the cap can't be exceeded
- recipients can't affect proving, termination, or the payer's escape hatch
related: FilOzone/filecoin-pay-v2#6, FilOzone/filecoin-pay-v2#5, "app builders earn revenue" row on the v2 use-case page
- Dominant language
- Solidity
- Stars
- 8
- Forks
- 27
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 12
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FilOzone/filecoin-services
-
release
Difficulty 5/5 Over a week Newbie friendliness 15/100
FilOzone/filecoin-services#679 · 10 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
FilOzone/filecoin-services#675 · 2 comments ·
Maintainers usually reply within 1 day
-
Gather docs for IPNI regarding ACLsPossibly taken @snadrus claimed this 15 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
FilOzone/filecoin-services#671 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
enhancement fwss
Difficulty 5/5 Over a week Newbie friendliness 35/100
FilOzone/filecoin-services#666 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
FilOzone/filecoin-services#663 ·
Maintainers usually reply within 1 day
All issues in FilOzone/filecoin-services
Similar issues
-
agent-ready good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Soneso/stellar-agent-wallet#994 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Trac-Systems/main_settlement_bus#1057 ·
Maintainers usually reply within 1 day
-
utxo_ledger (reference): failed apply_transaction leaks already-created outputs (supply inflation)Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 10 days
-
test(verify): cover invalid bits, the mainnet and testnet limits, and the strong thresholdPossibly taken @omarelshamy25x claimed this 1 day ago. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
devdavidejesus/btc-toolkit#99 · 1 comment ·
Maintainers usually reply within 1 day
-
tezosx: alias materialization sends the EVM public key in the caller's spellingPossibly taken @dvkam claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day