WFLY.AI
Sovereign Bitcoin Wallet

WALLET FLY BITCOIN

Create your wallet. Restore it on your own engine. Build with Bitcoin across applications and devices.

CREATE WALLET

Wallet creation requires acceptance of the terms. Design preview only.

Fee Address Routing and Protocol Revenue Integrity

permalink WFLY
#address#fee#protocol#revenue#routing

WAproxy deducts protocol fee from amount_sat
and routes it to a predefined fee address per coin.

Fee routing must be deterministic and explicit.

------------------------------------------------------------
FEE CALCULATION
------------------------------------------------------------

protocol_fee = amount_sat × FEE_BPS / 10000

receiver_gets = amount_sat - protocol_fee

------------------------------------------------------------
FEE DESTINATION MODEL
------------------------------------------------------------

Each supported coin defines:

COIN_FEE_ADDR_MAIN
COIN_FEE_ADDR_TEST

Fee routing must:

  • match selected network (main/test)
  • use configured fee address
  • be applied deterministically

------------------------------------------------------------
TRANSACTION STRUCTURE
------------------------------------------------------------

Outgoing transaction may contain:

  • Output 1: recipient address (receiver_gets)
  • Output 2: protocol fee address (protocol_fee)

Network fee remains separate and paid by wallet.

------------------------------------------------------------
INTEGRITY REQUIREMENTS
------------------------------------------------------------

Fee routing must:

  • not modify amount_sat definition
  • not depend on market conditions
  • not be dynamically altered per request
  • not be skipped under retry

------------------------------------------------------------
ATTACK PREVENTION
------------------------------------------------------------

Fee address must not:

  • be mutable via API
  • be influenced by idempotency replay

It is server-configured and static.

------------------------------------------------------------
ACCOUNTING DISCIPLINE
------------------------------------------------------------

For each wallet_send:

  • Store protocol_fee
  • Store fee_address
  • Store recipient_amount
  • Store txid

This enables:

  • deterministic auditing
  • revenue reconciliation
  • financial transparency

------------------------------------------------------------
ARCHITECTURAL STATEMENT
------------------------------------------------------------

Protocol revenue must be deterministic,
transparent, and non-negotiable.

WAproxy enforces fee routing
as part of execution integrity.