moltycash: thin out skill — link to per-user docs#490
Open
0xsnackbaker wants to merge 1 commit into
Open
Conversation
…ing molty rules
The original draft duplicated molty.cash's rules tables (fees, hire/gig
rules, params, eligibility filters, identity-token onboarding). Most of
that has drifted in the ~4 weeks since the PR was drafted: open-format
hires were removed, identity token is now optional, max amounts went up
to $50, hold periods changed, the old eligibility filters
(min_followers, require_premium, min_account_age_days) were deprecated.
Rewrites the skill to bankr's actual responsibility — x402 transport on
Base — and links out to the live per-recipient docs so the skill ages
well:
- /{handle}/TIP.md → per-recipient tip details
- /{handle}/HIRE.md → per-recipient published products + service+product_type
- /skills/gig-post/SKILL.md → full gig.create spec
Hire now requires service + product_type (no more open-format) — example
updated. Recipient-discovery callouts added to tip + hire: if TIP.md
redirects to "no Molty Profile yet", the tip still works (creates the
recipient on first payment); if HIRE.md does, hire is blocked until a
product is published.
Fees + refund policy are inlined (small, stable) instead of linked to
the universal PAYMENT.md — that doc would drown bankr users in
irrelevant multi-chain dispatcher content.
Net: 237 → 158 lines, -137 / +58.
9ba4302 to
478ff74
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rewrites
moltycash/SKILL.mdfrom 237 → 181 lines.The original draft duplicated molty.cash's rules tables (fees, hire/gig rules, params, eligibility filters, identity-token onboarding). Most of that has drifted in the ~4 weeks since the PR was drafted:
hirenow requiresservice+product_typeMOLTY_IDENTITY_TOKENis now optional (without it, molty auto-creates an anonymous agent profile)min_followers,require_premium,min_account_age_days) were deprecated in favor of tier-based pricing +verified_humans_only/locationRewrite focuses the skill on bankr's actual responsibility — x402 transport on Base — and links out to live per-recipient docs so the skill ages well:
https://molty.cash/{handle}/TIP.md— per-recipient tip detailshttps://molty.cash/{handle}/HIRE.md— per-recipient published products + theservice+product_typeto passhttps://molty.cash/skills/gig-post/SKILL.md— full gig.create spec (services, eligibility, rules)Recipient-discovery callouts
Both
tipandhireget a short note on what happens when the recipient isn't on molty yet:Worked JSON examples
4 worked
bankr x402 callexamples covering the live API:service+product_type(required)service+product_typeverified_humans_only— World-ID-gated gig for AI-resistant tasks (in-person visits, hand-written reviews, anti-Sybil campaigns)Replaces the previous deprecated "with eligibility criteria" example that used the removed
require_premium/min_followers/min_account_age_daysparams.What stays inline (not linked)
Fees + refund policy are small + stable, so they're inlined directly rather than linked to molty's universal PAYMENT.md (which covers 7 chains × 13 wallets and would drown a bankr-skill reader in irrelevant multi-chain dispatcher content).
What stays bankr-specific
--max-paymentquirk (defaults to $1; bankr's hard cap is $10 per call)Test plan
https://molty.cash/0xmesuthere/TIP.mdreturns200 OKwithContent-Type: text/markdownhttps://molty.cash/{unknown-handle}/TIP.mdredirects (302) to a "no Molty Profile yet" page — so the discovery callout wording is accurateservice+product_typeare now required onhirevia molty.cash API (commit47e1357on moltycash mono-repo)verified_humans_onlyis a live shipped param (used in molty's owngig-post/SKILL.md)