Preface¶
DeepSeek Harness (DSH) splits capabilities into plugins, allowing the session interface, settings page, and tool cards to host extensions. If you are maintaining an open-source plugin or a forked derivative, the common practice is to paste Patreon, Afdian, or on-chain addresses separately—users have to search back and forth in READMEs, Issues, or outside the session, and it is difficult for you to display “who can be supported and where to support them” uniformly within the Harness.
dsh-tip-jar consolidates support channels into a sponsors.json file located in the workspace root directory. The plugin renders these in entry points such as the Sponsorship Center and Settings page. Funds flow via on-chain transfers or third-party platforms; the plugin does not collect funds on your behalf nor does it hold private keys. The following sections introduce its positioning, capabilities, and integration steps.
What is this¶
dsh-tip-jar is a client-side plugin for DeepSeek Harness, maintained by imtokenxinluo. Contributors declare USDC (Polygon) addresses, fiat platform links, subscription links, optional payment QR codes, and client-side sponsorship slots once in sponsors.json. Users can access these with one click via the “Support” Tab in the session view or the “Support Contributors” section in the settings page. The design emphasizes pure P2P and privacy by default (pseudonyms + unverified badges). The current npm package version is 0.2.6, licensed under MIT.
Core Features¶
Sponsorship Center & Entry Points¶
- The session view provides a “Support” Tab; the settings page provides a “Support Contributors” page.
- Entry points like the credits tool card can also access the same registry data.
Three Support Channels (Do Not Confuse)¶
| Channel | Nature | What tip-jar does |
|---|---|---|
| Tips (USDC / Platform QR Codes) | Voluntary, unconditional | Displays address and QR code; read-only on-chain stats for the “Thanks Wall” |
| Subscriptions (Patreon / Afdian / GitHub Sponsors, etc.) | Commercial delivery with explicit pricing on platforms | Only displays redirect links; does not participate in transactions |
| Sponsored Slots | Direct negotiation between author and client | Static display of “Sponsored by …” |
Technical Boundaries: The plugin does not collect payments, process payments, or store payment credentials; USDC is a direct on-chain connection. The plugin only reads public transfer records for “Thanks Wall” statistics and does not initiate transactions. For ethical and subscription boundaries, see ETHICS.md in the repository.
USDC (Polygon) & Local QR Codes¶
- Receiving address format is validated as
0xfollowed by 40 hex characters. - QR codes are generated locally by the host (
src/qr.js, lazy-loadingqrcodeand caching results); no third-party CDN requests are made. If generation fails, it degrades to “Address only + Copy button”.
Fiat, Subscriptions & Payment Codes¶
- Fiat / Subscriptions: Display external links via fields like
tips.fiatandsubscriptions(merged and deduplicated by URL in both locations). - Starting with 0.2.0, supports direct payment QR codes for platforms like WeChat / Alipay (
tips.qrCodes, optional).
On-chain Arrival Radar & Ethics Badges (Since 0.1.5)¶
- Monitors Polygon USDC
Transferevents (public RPC, 60s polling, 1 block confirmation, counted from installation time) to calculate the received amount, transaction count, and unique supporter count for each contributor for the Thanks Wall. - Registry
ethicsdrives badges: Voluntary Tip / Unconfirmed / Paid Wall. Validation is mandatory;voluntary: trueandpaidWall: falseare prerequisites for inclusion.
upstream & Embedding (Since 0.1.6)¶
- Plugin entries can declare
upstream(upstream repo, author, etc.); see repo docs for specifications. TipJarEmbedallows other plugins to integrate a tip entry with one line of code; seeEMBED.mdfor details.
Robustness¶
Displays empty states or error prompts if the registry is missing, corrupted, or contains invalid addresses, without crashing the Harness.
Installation & Activation¶
The plugin runs with the permissions of the current DSH process; please review the GitHub Source Code and the MIT license before installing. Node >= 20 is required (see engines in package.json).
Persistent installation example:
dsh plugin --profile <name> add dsh-tip-jar
You can also add "dsh-tip-jar" to the profile’s dsh.profile.bundles (automatically applying cordis.patch.yml). After restarting the Harness, the Sponsorship Center loads for each session; page refreshes will not cause data loss.
If developing from source, run npm install && npm run build in the plugin directory before adding it to the profile as described above.
Typical Usage: 30-Second Contributor Entry Integration¶
Open-source contributors maintain sponsors.json in the workspace root (copy from the package example and modify):
# 1. Install
dsh plugin --profile <name> add dsh-tip-jar
# 2. Copy example registry and change it to your own
copy node_modules/dsh-tip-jar/sponsors.example.json sponsors.json
# 3. Edit sponsors.json: Fill in USDC address / tip platform links, etc.
# 4. Restart Harness → Tip entry appears in the session "Support" Tab
copy is the command used in the original README; on Linux/macOS, you can use cp node_modules/dsh-tip-jar/sponsors.example.json sponsors.json to achieve the same effect.
Core registry structure (see QUICKSTART.md and dsh-sponsors/manifest-spec.md in the repo for field descriptions and full specifications):
{
"schemaVersion": 1,
"privacyNote": "Contributors may use pseudonyms only; marked as unverified until authenticated.",
"contributors": [{
"id": "ghost-trader",
"alias": "ghost_trader",
"verified": false,
"bio": "One sentence intro",
"ethics": {
"voluntary": true,
"paidWall": false
},
"tips": {
"usdc": "0x…(40 hex chars)",
"fiat": [{ "label": "Afdian", "url": "https://…" }],
"qrCodes": [{ "label": "WeChat", "image": "…" }]
},
"subscriptions": [{ "label": "Patreon", "url": "https://…" }]
}],
"plugins": [{
"pluginId": "dsh-tip-jar",
"name": "Tip Jar",
"contributorId": "ghost-trader",
"upstream": {
"repo": "https://github.com/…",
"author": "Upstream Author Name",
"license": "MIT"
},
"sponsors": [{ "name": "Client", "message": "Slogan", "url": "https://…" }]
}]
}
To validate the registry, use the following within the plugin package:
npm run validate
# Or binary: dsh-tip-jar-validate
If other plugins need to embed a tip bar, refer to ./embed exports according to EMBED.md.
Scenarios & Notes¶
Who is it for
- Published plugins or tools in the DSH ecosystem who want users to find support methods within the Harness, not just in external READMEs.
- Those who need to display on-chain USDC, domestic fiat payment QR codes, and subscription links (Patreon / Afdian, etc.) simultaneously, distinguishing between “Voluntary Tips” and “Commercial Subscriptions”.
- Those who want to display Polygon USDC public arrival statistics on a Thanks Wall (read-only, without passing through plugin wallets).
Notes
- The community directory SkillHub Plugin Page has no official affiliation with DeepSeek or High-Flyer. It is a community collection, not an official app store.
- The plugin does not verify the ownership of receiving addresses; when
verified: false, the interface marks it as unverified, and users must judge the links and addresses themselves. - The on-chain radar relies on public RPC and polling strategies. Statistics start counting from plugin installation and do not constitute a full historical on-chain audit.
Conclusion¶
Through the steps above, you can use a single sponsors.json to uniformly expose contributor support channels within DSH, while keeping the funding path on-chain or on the original platforms. dsh-tip-jar currently has 0 GitHub stars, but the documentation and examples are complete, making it suitable for integration as a “client-side display layer.”
- Directory Page: https://www.skillhub.cn/plugins/imtokenxinluo/dsh-tip-jar
- Repository: https://github.com/imtokenxinluo/dsh-tip-jar