{
  "$schema": "https://ui.shadcn.com/schema/registry.json",
  "name": "domino",
  "homepage": "https://github.com/GetDomino/relay",
  "items": [
    {
      "name": "photo-quest",
      "type": "registry:item",
      "title": "Photo verification quest",
      "description": "Verify a submitted photo, send uncertain results to staff, and award points.",
      "categories": ["quests", "photo"],
      "docs": "Requires an existing Domino project with @domino-sdk/relay. Customize the quest key, photo criteria, and point ledger. Live verification requires Workers AI. See docs/snippets/photo-quest.md.",
      "files": [
        {
          "path": "snippets/photo-quest/photo.quest.ts",
          "type": "registry:file",
          "target": "~/quests/photo.quest.ts"
        },
        {
          "path": "snippets/photo-quest/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/photo-quest.md"
        }
      ]
    },
    {
      "name": "x-profile-picture",
      "type": "registry:item",
      "title": "X profile picture quest",
      "description": "Verify that a participant's X avatar uses your campaign picture, accept close matches without AI, review customized versions, and award points.",
      "categories": ["quests", "x", "images"],
      "docs": "Requires an existing Domino project with @domino-sdk/relay and X account linking. Add your campaign picture to images in relay.json and customize the quest key, criteria, similarity threshold and point ledger. Live verification requires X provider access, reference-image storage and Workers AI. See docs/snippets/x-profile-picture.md.",
      "files": [
        {
          "path": "snippets/x-profile-picture/x-profile-picture.quest.ts",
          "type": "registry:file",
          "target": "~/quests/x-profile-picture.quest.ts"
        },
        {
          "path": "snippets/x-profile-picture/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/x-profile-picture.md"
        }
      ]
    },
    {
      "name": "unique-photo",
      "type": "registry:item",
      "title": "Unique photo quest",
      "description": "Send photos another participant already submitted to staff, review the rest with AI, and award points.",
      "categories": ["quests", "photo", "images"],
      "docs": "Requires an existing Domino project with @domino-sdk/relay. Customize the quest key, photo criteria, similarity threshold and point ledger. Live verification requires Workers AI. See docs/snippets/unique-photo.md.",
      "files": [
        {
          "path": "snippets/unique-photo/unique-photo.quest.ts",
          "type": "registry:file",
          "target": "~/quests/unique-photo.quest.ts"
        },
        {
          "path": "snippets/unique-photo/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/unique-photo.md"
        }
      ]
    },
    {
      "name": "community-screenshot",
      "type": "registry:item",
      "title": "X Community screenshot quest",
      "description": "Read a Community screenshot with AI, match the username to the participant's linked X account, and award points.",
      "categories": ["quests", "x", "images", "photo"],
      "docs": "Requires an existing Domino project with @domino-sdk/relay and X account linking. Customize the quest key, Community name and point ledger. Live verification requires Workers AI and X provider access. See docs/snippets/community-screenshot.md.",
      "files": [
        {
          "path": "snippets/community-screenshot/community-screenshot.quest.ts",
          "type": "registry:file",
          "target": "~/quests/community-screenshot.quest.ts"
        },
        {
          "path": "snippets/community-screenshot/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/community-screenshot.md"
        }
      ]
    },
    {
      "name": "quiz",
      "type": "registry:item",
      "title": "Quiz quest",
      "description": "Check every quiz answer on the server and award points for a correct submission.",
      "categories": ["quests", "quiz"],
      "docs": "Requires an existing Domino project with @domino-sdk/relay. Replace the sample question and customize the quest key and point ledger. See docs/snippets/quiz.md.",
      "files": [
        {
          "path": "snippets/quiz/quiz.quest.ts",
          "type": "registry:file",
          "target": "~/quests/quiz.quest.ts"
        },
        {
          "path": "snippets/quiz/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/quiz.md"
        }
      ]
    },
    {
      "name": "staff-confirmation",
      "type": "registry:item",
      "title": "Staff confirmation quest",
      "description": "Let authorized staff confirm an activity and award the member points once.",
      "categories": ["quests", "staff"],
      "docs": "Requires an existing Domino project with @domino-sdk/relay. Customize the quest key, instructions, and point ledger. Confirmation requires a staff session. See docs/snippets/staff-confirmation.md.",
      "files": [
        {
          "path": "snippets/staff-confirmation/staff-confirmation.quest.ts",
          "type": "registry:file",
          "target": "~/quests/staff-confirmation.quest.ts"
        },
        {
          "path": "snippets/staff-confirmation/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/staff-confirmation.md"
        }
      ]
    },
    {
      "name": "discord-membership",
      "type": "registry:item",
      "title": "Discord account verification",
      "description": "Read the participant\u2019s verified Discord membership and apply custom membership or role rules.",
      "categories": ["quests", "discord", "connected-accounts"],
      "docs": "Requires Relay project integrations support and a Discord server connected in Console. See docs/snippets/discord-membership.md.",
      "files": [
        {
          "path": "snippets/discord-membership/discord-membership.quest.ts",
          "type": "registry:file",
          "target": "~/quests/discord-membership.quest.ts"
        },
        {
          "path": "snippets/discord-membership/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/discord-membership.md"
        }
      ]
    },
    {
      "name": "telegram-membership",
      "type": "registry:item",
      "title": "Telegram chat membership",
      "description": "Reward a participant whose linked Telegram account is in a chat the project connected.",
      "categories": ["quests", "telegram", "connected-accounts"],
      "docs": "Requires Relay Telegram chat support and a Telegram chat connected in Console. See docs/snippets/telegram-membership.md.",
      "files": [
        {
          "path": "snippets/telegram-membership/telegram-membership.quest.ts",
          "type": "registry:file",
          "target": "~/quests/telegram-membership.quest.ts"
        },
        {
          "path": "snippets/telegram-membership/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/telegram-membership.md"
        }
      ]
    },
    {
      "name": "telegram-contribution",
      "type": "registry:item",
      "title": "Telegram contribution",
      "description": "Reward group participation once per day. Messages are deduplicated, and no message text is stored.",
      "categories": ["quests", "telegram", "automatic"],
      "docs": "Connect a Telegram group in Console Integrations, add trackers/telegram-contribution-messages.ts to trackers in relay.json, and configure the quest settings. See docs/snippets/telegram-contribution.md.",
      "files": [
        {
          "path": "snippets/telegram-contribution/telegram-contribution.quest.ts",
          "type": "registry:file",
          "target": "~/quests/telegram-contribution.quest.ts"
        },
        {
          "path": "snippets/telegram-contribution/telegram-contribution-messages.ts",
          "type": "registry:file",
          "target": "~/trackers/telegram-contribution-messages.ts"
        },
        {
          "path": "snippets/telegram-contribution/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/telegram-contribution.md"
        }
      ]
    },
    {
      "name": "discord-announcements",
      "type": "registry:item",
      "title": "Automatic announcement reactions",
      "description": "Reward a linked participant once per Discord announcement, with a shared daily budget.",
      "categories": ["quests", "discord", "automatic"],
      "docs": "Requires the Discord integration and Gateway receiver. Add trackers/discord-announcement-reactions.ts to trackers in relay.json, then configure the announcement channel and publication cutoff. See docs/snippets/discord-announcements.md.",
      "files": [
        {
          "path": "snippets/discord-announcements/discord-announcements.quest.ts",
          "type": "registry:file",
          "target": "~/quests/discord-announcements.quest.ts"
        },
        {
          "path": "snippets/discord-announcements/discord-announcement-reactions.ts",
          "type": "registry:file",
          "target": "~/trackers/discord-announcement-reactions.ts"
        },
        {
          "path": "snippets/discord-announcements/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/discord-announcements.md"
        }
      ]
    },
    {
      "name": "discord-contribution",
      "type": "registry:item",
      "title": "Discord contribution",
      "description": "Reward channel participation once per day. Messages are deduplicated; content verification is optional authored logic.",
      "categories": ["quests", "discord"],
      "docs": "Connect Discord in Console Integrations, add trackers/discord-contribution-messages.ts to trackers in relay.json, and configure the quest settings. See docs/snippets/discord-contribution.md.",
      "files": [
        {
          "path": "snippets/discord-contribution/discord-contribution.quest.ts",
          "type": "registry:file",
          "target": "~/quests/discord-contribution.quest.ts"
        },
        {
          "path": "snippets/discord-contribution/discord-contribution-messages.ts",
          "type": "registry:file",
          "target": "~/trackers/discord-contribution-messages.ts"
        },
        {
          "path": "snippets/discord-contribution/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/discord-contribution.md"
        }
      ]
    },
    {
      "name": "discord-moderator-recognition",
      "type": "registry:item",
      "title": "Discord moderator recognition",
      "description": "Reward the message author when an authorized moderator reacts, once per message.",
      "categories": ["quests", "discord"],
      "docs": "Connect Discord in Console Integrations, add trackers/discord-recognition-reactions.ts to trackers in relay.json, and configure the quest settings. See docs/snippets/discord-moderator-recognition.md.",
      "files": [
        {
          "path": "snippets/discord-moderator-recognition/discord-moderator-recognition.quest.ts",
          "type": "registry:file",
          "target": "~/quests/discord-moderator-recognition.quest.ts"
        },
        {
          "path": "snippets/discord-moderator-recognition/discord-recognition-reactions.ts",
          "type": "registry:file",
          "target": "~/trackers/discord-recognition-reactions.ts"
        },
        {
          "path": "snippets/discord-moderator-recognition/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/discord-moderator-recognition.md"
        }
      ]
    },
    {
      "name": "discord-role-reward",
      "type": "registry:item",
      "title": "Discord role reward",
      "description": "Unlock a Discord role after a prerequisite quest with durable reward delivery.",
      "categories": ["quests", "discord"],
      "docs": "Connect Discord in Console Integrations. Installs a community-onboarding quest whose typed handle gates the role quest; adapt it or replace the import with an existing onboarding quest. Configure the reward role in Console. See docs/snippets/discord-role-reward.md.",
      "files": [
        {
          "path": "snippets/discord-role-reward/community-onboarding.quest.ts",
          "type": "registry:file",
          "target": "~/quests/community-onboarding.quest.ts"
        },
        {
          "path": "snippets/discord-role-reward/discord-role-reward.quest.ts",
          "type": "registry:file",
          "target": "~/quests/discord-role-reward.quest.ts"
        },
        {
          "path": "snippets/discord-role-reward/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/discord-role-reward.md"
        }
      ]
    },
    {
      "name": "token-holder",
      "type": "registry:item",
      "title": "Token holder quest",
      "description": "Check that a participant's linked wallets hold at least a minimum of a token or native coin, on Solana or an EVM chain, at verification time.",
      "categories": ["quests", "wallets"],
      "docs": "Requires wallet linking in your app and Relay with ctx.wallet.balance(). Configure the chain, token address and minimum. EVM chains need the platform's dRPC key. Checks the balance at verification time only; it does not prove the participant keeps holding it. See docs/snippets/token-holder.md.",
      "files": [
        {
          "path": "snippets/token-holder/token-holder.quest.ts",
          "type": "registry:file",
          "target": "~/quests/token-holder.quest.ts"
        },
        {
          "path": "snippets/token-holder/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/token-holder.md"
        }
      ]
    },
    {
      "name": "token-hold-streak",
      "type": "registry:item",
      "title": "Token hold streak",
      "description": "Reward members whose linked wallet holds at least a minimum of a token for 7 days in a row, from balances Domino samples once a day.",
      "categories": ["quests", "wallets", "automatic"],
      "docs": "Requires wallet linking in your app. Set the chain and token in trackers/token-hold-streak-balances.ts before the first deploy, add it to trackers in relay.json, and configure the minimum and the reward. A day with no successful sample breaks the streak. See docs/snippets/token-hold-streak.md.",
      "files": [
        {
          "path": "snippets/token-hold-streak/token-hold-streak.quest.ts",
          "type": "registry:file",
          "target": "~/quests/token-hold-streak.quest.ts"
        },
        {
          "path": "snippets/token-hold-streak/token-hold-streak-balances.ts",
          "type": "registry:file",
          "target": "~/trackers/token-hold-streak-balances.ts"
        },
        {
          "path": "snippets/token-hold-streak/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/token-hold-streak.md"
        }
      ]
    },
    {
      "name": "program-activity",
      "type": "registry:item",
      "title": "Program activity leaderboard and streak",
      "description": "Rank members by how often they call your Solana program each week and reward 5 days of use in a row, from transactions Domino reads from their linked wallets.",
      "categories": ["quests", "wallets", "automatic", "leaderboards"],
      "docs": "Requires Solana wallet linking in your app. Set the program in trackers/program-activity-calls.ts before the first deploy, and register the tracker, the leaderboard and its programPoints ledger in relay.json. Only transactions the member's wallet signed count, from when it was linked. See docs/snippets/program-activity.md.",
      "files": [
        {
          "path": "snippets/program-activity/program-activity-calls.ts",
          "type": "registry:file",
          "target": "~/trackers/program-activity-calls.ts"
        },
        {
          "path": "snippets/program-activity/program-activity-leaderboard.ts",
          "type": "registry:file",
          "target": "~/leaderboards/program-activity-weekly.ts"
        },
        {
          "path": "snippets/program-activity/program-activity-use.quest.ts",
          "type": "registry:file",
          "target": "~/quests/program-activity-use.quest.ts"
        },
        {
          "path": "snippets/program-activity/program-activity-streak.quest.ts",
          "type": "registry:file",
          "target": "~/quests/program-activity-streak.quest.ts"
        },
        {
          "path": "snippets/program-activity/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/program-activity.md"
        }
      ]
    },
    {
      "name": "nft-hold-streak",
      "type": "registry:item",
      "title": "NFT hold streak",
      "description": "Reward members whose linked wallet holds at least one NFT of your collection for 30 days in a row, from holdings Domino samples once a day.",
      "categories": ["quests", "wallets", "automatic"],
      "docs": "Requires wallet linking in your app. Set the collection in trackers/nft-hold-streak-holdings.ts before the first deploy, add it to trackers in relay.json, and configure the minimum and the reward. A day with no successful sample breaks the streak. See docs/snippets/nft-hold-streak.md.",
      "files": [
        {
          "path": "snippets/nft-hold-streak/nft-hold-streak.quest.ts",
          "type": "registry:file",
          "target": "~/quests/nft-hold-streak.quest.ts"
        },
        {
          "path": "snippets/nft-hold-streak/nft-hold-streak-holdings.ts",
          "type": "registry:file",
          "target": "~/trackers/nft-hold-streak-holdings.ts"
        },
        {
          "path": "snippets/nft-hold-streak/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/nft-hold-streak.md"
        }
      ]
    },
    {
      "name": "nft-holder",
      "type": "registry:item",
      "title": "NFT holder quest",
      "description": "Check that a participant's linked wallets hold at least one NFT from an ERC-721 collection, one ERC-1155 token ID, or a Metaplex collection or Token-2022 token group on Solana, at verification time.",
      "categories": ["quests", "wallets"],
      "docs": "Requires wallet linking in your app and Relay with ctx.wallet.nfts(). Configure the collection with settings.nft(); publication checks an EVM contract's standard through ERC-165, or that a Solana address is a Metaplex collection or a Token-2022 token group. EVM collections need the platform's dRPC key. Checks holdings at verification time only; it does not prove the participant keeps holding them. See docs/snippets/nft-holder.md.",
      "files": [
        {
          "path": "snippets/nft-holder/nft-holder.quest.ts",
          "type": "registry:file",
          "target": "~/quests/nft-holder.quest.ts"
        },
        {
          "path": "snippets/nft-holder/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/nft-holder.md"
        }
      ]
    },
    {
      "name": "seeker-holder",
      "type": "registry:item",
      "title": "Seeker holder quest",
      "description": "Check that a participant's linked Solana wallets hold a Seeker Genesis Token, the token every Solana Mobile Seeker comes with, or a token from another Token-2022 token group, at verification time.",
      "categories": ["quests", "wallets"],
      "docs": "Requires wallet linking in your app (Mobile Wallet Adapter on the Seeker) and Relay with ctx.wallet.nfts(). The collection setting defaults to the Seeker Genesis Token group on Solana mainnet; publication checks that a Solana address is a token group, a Core collection or a Metaplex collection NFT. Checks holdings at verification time only. See docs/snippets/seeker-holder.md.",
      "files": [
        {
          "path": "snippets/seeker-holder/seeker-holder.quest.ts",
          "type": "registry:file",
          "target": "~/quests/seeker-holder.quest.ts"
        },
        {
          "path": "snippets/seeker-holder/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/seeker-holder.md"
        }
      ]
    },
    {
      "name": "contract-state",
      "type": "registry:item",
      "title": "Contract state quest",
      "description": "Check that a view function on an EVM contract, such as stakedOf(address) or getVotes(address), returns at least a minimum for a participant's linked wallets, at verification time.",
      "categories": ["quests", "wallets"],
      "docs": "Requires wallet linking in your app and Relay with ctx.wallet.call(). Configure the contract and function with settings.contractCall(); publication refuses functions that are not view or pure or do not return one uint, int, bool or address, and chains the platform does not read. Needs the platform's dRPC key. For staking that mints a receipt token, use token-holder instead. Checks state at verification time only. See docs/snippets/contract-state.md.",
      "files": [
        {
          "path": "snippets/contract-state/contract-state.quest.ts",
          "type": "registry:file",
          "target": "~/quests/contract-state.quest.ts"
        },
        {
          "path": "snippets/contract-state/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/contract-state.md"
        }
      ]
    },
    {
      "name": "cosmos-staker",
      "type": "registry:item",
      "title": "Cosmos staker quest",
      "description": "Check that a participant's wallets linked on a Cosmos SDK chain delegate at least a minimum, to any validator or to a configured one, at verification time.",
      "categories": ["quests", "wallets"],
      "docs": "Requires Cosmos wallet linking in your app and Relay with ctx.wallet.delegations(). The chain must be one the platform lists for balance reads. Counts bonded native staking delegations only, not unbonding ones or liquid-staking tokens. Checks delegations at verification time only. See docs/snippets/cosmos-staker.md.",
      "files": [
        {
          "path": "snippets/cosmos-staker/cosmos-staker.quest.ts",
          "type": "registry:file",
          "target": "~/quests/cosmos-staker.quest.ts"
        },
        {
          "path": "snippets/cosmos-staker/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/cosmos-staker.md"
        }
      ]
    },
    {
      "name": "onchain-action",
      "type": "registry:item",
      "title": "On-chain action quest",
      "description": "Reward participants once per swap, mint, deposit, bridge transfer or vote: an event of your EVM contract that names one of their linked wallets, read from finalized blocks without an indexer.",
      "categories": ["quests", "wallets"],
      "docs": "Requires wallet linking in your app, Relay with ctx.wallet.events() and the platform's dRPC key. Configure the event with settings.contractEvent(): the contract and its Solidity event signature, with the participant in an indexed address argument; publication checks the chain and the contract. Reads at most 30 days back, up to the chain's finalized block. See docs/snippets/onchain-action.md.",
      "files": [
        {
          "path": "snippets/onchain-action/onchain-action.quest.ts",
          "type": "registry:file",
          "target": "~/quests/onchain-action.quest.ts"
        },
        {
          "path": "snippets/onchain-action/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/onchain-action.md"
        }
      ]
    },
    {
      "name": "solana-badge",
      "type": "registry:item",
      "title": "Soulbound Solana badge",
      "description": "Mint a non-transferable Token-2022 badge to a member's proven Solana wallet when they complete a quest, from your own server with your own mint authority, and reward members whose wallets hold it.",
      "categories": ["quests", "wallets"],
      "docs": "Requires wallet linking in your app and a backend that receives completion.created webhooks. Run docs/snippets/create-solana-badge-mint.ts once, set the mint on the holder quest, and deploy docs/snippets/award-solana-badge.ts as your webhook route with @solana/kit and @solana-program/token-2022 installed, listing the badge quest's ID. See docs/snippets/solana-badge.md.",
      "files": [
        {
          "path": "snippets/solana-badge/solana-badge.quest.ts",
          "type": "registry:file",
          "target": "~/quests/solana-badge.quest.ts"
        },
        {
          "path": "snippets/solana-badge/solana-badge-holder.quest.ts",
          "type": "registry:file",
          "target": "~/quests/solana-badge-holder.quest.ts"
        },
        {
          "path": "snippets/solana-badge/award-solana-badge.ts",
          "type": "registry:file",
          "target": "~/docs/snippets/award-solana-badge.ts"
        },
        {
          "path": "snippets/solana-badge/create-solana-badge-mint.ts",
          "type": "registry:file",
          "target": "~/docs/snippets/create-solana-badge-mint.ts"
        },
        {
          "path": "snippets/solana-badge/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/solana-badge.md"
        }
      ]
    },
    {
      "name": "solana-action",
      "type": "registry:item",
      "title": "Solana action quest",
      "description": "Reward participants once per transaction their linked Solana wallet signed that called your program, optionally receiving at least an amount of a token: a swap, mint, claim or deposit, read from finalized transactions without an indexer.",
      "categories": ["quests", "wallets"],
      "docs": "Requires wallet linking in your app, Relay with ctx.wallet.transactions() and the platform's Solana RPC. Configure the program with settings.solanaProgram(); publication checks it is an executable program. Counts only transactions the wallet signed, since the later of activation and the wallet's link, at most 30 days back. See docs/snippets/solana-action.md.",
      "files": [
        {
          "path": "snippets/solana-action/solana-action.quest.ts",
          "type": "registry:file",
          "target": "~/quests/solana-action.quest.ts"
        },
        {
          "path": "snippets/solana-action/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/solana-action.md"
        }
      ]
    },
    {
      "name": "station-codes",
      "type": "registry:item",
      "title": "Code check-in stations",
      "description": "Check members in at an event's stations with a printed QR code that carries each station's secret code: a quest with code stations that pays once per station, and the scan page the codes open. No wallet needed.",
      "categories": ["quests", "events"],
      "docs": "Requires an existing Domino project with @domino-sdk/relay and a React app that signs members in through Domino. Set each station's code per environment in Console or with domino quests stations code, then print the QR codes for your scan page. Experimental. See docs/snippets/station-codes.md.",
      "files": [
        {
          "path": "snippets/station-codes/station-codes.quest.ts",
          "type": "registry:file",
          "target": "~/quests/station-codes.quest.ts"
        },
        {
          "path": "snippets/station-codes/station-codes-stations.ts",
          "type": "registry:file",
          "target": "~/quests/station-codes-stations.ts"
        },
        {
          "path": "snippets/station-codes/station-check-in.tsx",
          "type": "registry:file",
          "target": "~/src/station-check-in.tsx"
        },
        {
          "path": "snippets/station-codes/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/station-codes.md"
        }
      ]
    },
    {
      "name": "solana-action-automatic",
      "type": "registry:item",
      "title": "Solana action quest, completed automatically",
      "description": "Reward members once per transaction their linked Solana wallet signed that called your program and received at least an amount of a token, completed within about 10 minutes without the member asking for a check.",
      "categories": ["quests", "wallets", "automatic"],
      "docs": "Requires Solana wallet linking in your app. Set the program and mint in trackers/solana-action-calls.ts before the first deploy, and register the tracker in relay.json. Only transactions the member's wallet signed count, from when it was linked. See docs/snippets/solana-action-automatic.md.",
      "files": [
        {
          "path": "snippets/solana-action-automatic/solana-action-calls.ts",
          "type": "registry:file",
          "target": "~/trackers/solana-action-calls.ts"
        },
        {
          "path": "snippets/solana-action-automatic/solana-action-automatic.quest.ts",
          "type": "registry:file",
          "target": "~/quests/solana-action-automatic.quest.ts"
        },
        {
          "path": "snippets/solana-action-automatic/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/solana-action-automatic.md"
        }
      ]
    },
    {
      "name": "solana-program-state",
      "type": "registry:item",
      "title": "Solana program state quest",
      "description": "Check that the accounts a Solana program keeps for a participant's linked Solana wallets, such as stake or lock accounts, hold at least a minimum, at verification time.",
      "categories": ["quests", "wallets"],
      "docs": "Requires wallet linking in your app, Relay with ctx.wallet.programAccount() and the platform's Solana RPC. Configure the program with settings.solanaProgram(); it needs an Anchor, Codama or Shank IDL, published on chain or pasted in Console. The account type, seeds and field are set in code for the program. Checks state at verification time only. See docs/snippets/solana-program-state.md.",
      "files": [
        {
          "path": "snippets/solana-program-state/solana-program-state.quest.ts",
          "type": "registry:file",
          "target": "~/quests/solana-program-state.quest.ts"
        },
        {
          "path": "snippets/solana-program-state/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/solana-program-state.md"
        }
      ]
    },
    {
      "name": "realms-voter",
      "type": "registry:item",
      "title": "Realms voter quest",
      "description": "Check that a participant's linked Solana wallets deposited at least a minimum of governing tokens in a DAO on Realms (SPL Governance), and optionally that they voted on a proposal, at verification time.",
      "categories": ["quests", "wallets"],
      "docs": "Requires wallet linking in your app, Relay with ctx.wallet.programAccount() and ctx.wallet.transactions(), and the platform's Solana RPC. SPL Governance publishes no IDL: paste docs/snippets/realms-voter.idl.json as the program setting's IDL in Console after deploying. Set the realm, the governing token and optionally a proposal. Realms using voter-weight plugins such as VSR are not read. See docs/snippets/realms-voter.md.",
      "files": [
        {
          "path": "snippets/realms-voter/realms-voter.quest.ts",
          "type": "registry:file",
          "target": "~/quests/realms-voter.quest.ts"
        },
        {
          "path": "snippets/realms-voter/spl-governance.idl.json",
          "type": "registry:file",
          "target": "~/docs/snippets/realms-voter.idl.json"
        },
        {
          "path": "snippets/realms-voter/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/realms-voter.md"
        }
      ]
    },
    {
      "name": "solana-lp",
      "type": "registry:item",
      "title": "Solana liquidity provider quest",
      "description": "Check that a participant's linked Solana wallets hold at least a minimum of a pool's LP token, such as a Raydium or Meteora Dynamic AMM pool, at verification time.",
      "categories": ["quests", "wallets"],
      "docs": "Requires wallet linking in your app, Relay with ctx.wallet.balance() and the platform's Solana RPC. Set the pool's LP mint and the minimum. Pools whose positions are NFTs or keypair accounts (Orca Whirlpools, Raydium CLMM, Meteora DAMM v2 and DLMM) are not covered. See docs/snippets/solana-lp.md.",
      "files": [
        {
          "path": "snippets/solana-lp/solana-lp.quest.ts",
          "type": "registry:file",
          "target": "~/quests/solana-lp.quest.ts"
        },
        {
          "path": "snippets/solana-lp/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/solana-lp.md"
        }
      ]
    },
    {
      "name": "validator-stake",
      "type": "registry:item",
      "title": "Validator stake quest",
      "description": "Check that a participant's linked Solana wallets delegate at least a minimum of SOL to your validator's vote account, at verification time.",
      "categories": ["quests", "wallets"],
      "docs": "Requires wallet linking in your app, Relay with ctx.wallet.stake() and the platform's Solana RPC. Set the vote account and the minimum in settings; choose whether stake still activating counts. Checks native stake at verification time only. See docs/snippets/validator-stake.md.",
      "files": [
        {
          "path": "snippets/validator-stake/validator-stake.quest.ts",
          "type": "registry:file",
          "target": "~/quests/validator-stake.quest.ts"
        },
        {
          "path": "snippets/validator-stake/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/validator-stake.md"
        }
      ]
    },
    {
      "name": "validator-stake-streak",
      "type": "registry:item",
      "title": "Validator stake streak",
      "description": "Reward members who keep SOL delegated to your validator for 30 days in a row, and rank this month's biggest stakers, from stake Domino samples once a day.",
      "categories": ["quests", "wallets", "automatic", "leaderboards"],
      "docs": "Requires Solana wallet linking in your app. Set your validator's vote account in trackers/validator-stake-streak-samples.ts before the first deploy, add the tracker, the staked-sol ledger and the leaderboard to relay.json, and configure the minimum and the reward. A day with no successful sample breaks the streak. See docs/snippets/validator-stake-streak.md.",
      "files": [
        {
          "path": "snippets/validator-stake-streak/validator-stake-streak.quest.ts",
          "type": "registry:file",
          "target": "~/quests/validator-stake-streak.quest.ts"
        },
        {
          "path": "snippets/validator-stake-streak/validator-stake-points.quest.ts",
          "type": "registry:file",
          "target": "~/quests/validator-stake-points.quest.ts"
        },
        {
          "path": "snippets/validator-stake-streak/validator-stake-streak-samples.ts",
          "type": "registry:file",
          "target": "~/trackers/validator-stake-streak-samples.ts"
        },
        {
          "path": "snippets/validator-stake-streak/validator-stake-leaderboard.ts",
          "type": "registry:file",
          "target": "~/leaderboards/validator-stake-leaderboard.ts"
        },
        {
          "path": "snippets/validator-stake-streak/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/validator-stake-streak.md"
        }
      ]
    },
    {
      "name": "program-position-streak",
      "type": "registry:item",
      "title": "Program position streak",
      "description": "Reward members who keep a position in a Solana program, such as tokens staked in a vault, for 90 days in a row, and rank this month's biggest positions, from the program accounts Domino samples once a day.",
      "categories": ["quests", "wallets", "automatic", "leaderboards"],
      "docs": "Requires Solana wallet linking in your app. Ships set up for JUP staked in Jupiter's locked voter: set your program, account type, seeds and integer field in trackers/program-position-samples.ts before the first deploy, add the tracker, the jup-staked-days ledger and the leaderboard to relay.json, and configure the minimum and the reward. A day with no successful sample, or without the account, breaks the streak. See docs/snippets/program-position-streak.md.",
      "files": [
        {
          "path": "snippets/program-position-streak/program-position-streak.quest.ts",
          "type": "registry:file",
          "target": "~/quests/program-position-streak.quest.ts"
        },
        {
          "path": "snippets/program-position-streak/program-position-points.quest.ts",
          "type": "registry:file",
          "target": "~/quests/program-position-points.quest.ts"
        },
        {
          "path": "snippets/program-position-streak/program-position-samples.ts",
          "type": "registry:file",
          "target": "~/trackers/program-position-samples.ts"
        },
        {
          "path": "snippets/program-position-streak/program-position-leaderboard.ts",
          "type": "registry:file",
          "target": "~/leaderboards/program-position-leaderboard.ts"
        },
        {
          "path": "snippets/program-position-streak/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/program-position-streak.md"
        }
      ]
    },
    {
      "name": "qualified-referrals",
      "type": "registry:item",
      "title": "Qualified referrals",
      "description": "Qualify a referred friend after three verified actions counted by a lifetime quest, then reward the inviter and the invitee.",
      "categories": ["referrals", "quests", "counters"],
      "docs": "Add trackers/qualification-actions.ts to trackers, referrals/qualified-friends.ts to referrals, and its community export to pointLedgers in relay.json. Your backend ingests the verified actions. See docs/snippets/qualified-referrals.md.",
      "files": [
        {
          "path": "snippets/qualified-referrals/actions.ts",
          "type": "registry:file",
          "target": "~/trackers/qualification-actions.ts"
        },
        {
          "path": "snippets/qualified-referrals/qualification.quest.ts",
          "type": "registry:file",
          "target": "~/quests/qualified-participant.quest.ts"
        },
        {
          "path": "snippets/qualified-referrals/referrals.ts",
          "type": "registry:file",
          "target": "~/referrals/qualified-friends.ts"
        },
        {
          "path": "snippets/qualified-referrals/continuous-membership.quest.ts",
          "type": "registry:file",
          "target": "~/docs/snippets/qualified-referrals-continuous-membership.quest.ts"
        },
        {
          "path": "snippets/qualified-referrals/README.md",
          "type": "registry:file",
          "target": "~/docs/snippets/qualified-referrals.md"
        }
      ]
    }
  ]
}
