Skip to content

Commit 35e92ce

Browse files
committed
docs: add token fee info to explanation
1 parent 496e5f3 commit 35e92ce

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/explanations/tokens.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Dash Platform’s token functionality provides a straightforward, account-based
1616
- **Access Control [Groups](#groups)**: Multi-party groups with user-defined thresholds support complex authorization schemes for token management
1717
- **Built-in [Distribution](#distribution-rules)**: Manual minting or scheduled release over time
1818
- **Seamless Integration**: Tokens live alongside documents in a single data contract, enabling additional use cases (e.g., ticketing, digital assets, stablecoins)
19+
- **Token-Based Document [Fees](#token-based-fees)**: Charge tokens for an application's document actions (e.g., create, transfer), with options to burn tokens or reward the contract owner
1920

2021
The following sections describe the features and configuration options available for token creators
2122
using Dash Platform.
@@ -430,6 +431,21 @@ For example, a group is defined with a required threshold of 10. The group membe
430431

431432
In this group, Member A and Member C have a combined power of 11 and can perform actions without approval from Member B. If Member B proposes an action, Member A and C must both approve to authorize the action.
432433

434+
### Token-Based Fees
435+
436+
Dash Platform allows developers to charge token fees for document-related actions (e.g., creating or transferring a document). This provides a way to monetize app usage or implement economic incentives using tokens. These fees are configured in the data contract under the `tokenCost` field.
437+
438+
Examples:
439+
440+
- Require 1000 tokens to create a document
441+
- Burn 200 tokens when a document is transferred
442+
443+
This allows for:
444+
445+
- Spam protection (pay-to-post)
446+
- Revenue generation for app creators
447+
- Deflationary models via token burning
448+
433449
## Token Creation
434450

435451
Creating a token on Dash Platform consists of creating a data contract, registering it on the network, and then creating tokens based on the schema defined in the data contract.

0 commit comments

Comments
 (0)