diff --git a/xmrbackers/config.py b/xmrbackers/config.py index ae79796..c4bf186 100644 --- a/xmrbackers/config.py +++ b/xmrbackers/config.py @@ -15,9 +15,9 @@ SERVER_NAME = getenv('SERVER_NAME', 'localhost:5000') PLATFORM_WALLET = getenv('PLATFORM_WALLET') # Constants - here for easy template references -CREATOR_SUBSCRIPTION_TERM = 60 # days term of how long creator subscriptions are valid for until content is hidden +CREATOR_SUBSCRIPTION_TERM = 30 # days term of how long creator subscriptions are valid for until content is hidden CREATOR_SUBSCRIPTION_GRACE = 21 # days grace period after expiration of creator subscriptions until content is archived -CREATOR_SUBSCRIPTION_FEE_XMR = .3 # XMR flat rate fee for creator subscriptions +CREATOR_SUBSCRIPTION_FEE_XMR = .15 # XMR flat rate fee for creator subscriptions # Crypto RPC XMR_WALLET_PASS = getenv('XMR_WALLET_PASS') diff --git a/xmrbackers/models.py b/xmrbackers/models.py index 2b2010b..62f8bf4 100644 --- a/xmrbackers/models.py +++ b/xmrbackers/models.py @@ -117,7 +117,7 @@ class Transaction(pw.Model): class CreatorSubscription(pw.Model): """ CreatorSubscription model is for tracking subscriptions of creators to the platform. - The first subscription is a flat fee, the following will be based on usage/consumption + Subscription is a flat fee with a modifier based on usage/consumption and will be re-negotiated every N days. """ id = pw.AutoField() diff --git a/xmrbackers/routes/creator.py b/xmrbackers/routes/creator.py index 95677f1..7b5f654 100644 --- a/xmrbackers/routes/creator.py +++ b/xmrbackers/routes/creator.py @@ -98,7 +98,6 @@ async def join(): return await render_template( 'creator/join.html', - new_fee_xmr=config.CREATOR_SUBSCRIPTION_FEE_XMR, form=form ) diff --git a/xmrbackers/templates/creator/join.html b/xmrbackers/templates/creator/join.html index 79c02f2..4f5cbe5 100644 --- a/xmrbackers/templates/creator/join.html +++ b/xmrbackers/templates/creator/join.html @@ -3,10 +3,14 @@ {% block content %}
- First time creators will pay a flat rate of {{ new_fee_xmr }} XMR.
- Please send fees to the platform wallet below and provide your tx_hash
and tx_key
in the form below to initiate your platform subscription.
+ Creator subscriptions have a flat rate of {{ config.CREATOR_SUBSCRIPTION_FEE_XMR }} XMR with a modifier for how much content is currently stored.
+ Subscriptions are a {{ config.CREATOR_SUBSCRIPTION_TERM }} day term.
+ Please send XMR to the platform wallet below and provide your tx_hash
and tx_key
in the form below to initiate your platform subscription.
+
+ Subscription Price: {{ config.CREATOR_SUBSCRIPTION_FEE_XMR }} XMR
+ Platform Wallet: {{ config.PLATFORM_WALLET }}
Platform Wallet: {{ config.PLATFORM_WALLET }}
{% include 'includes/form.html' %}