Medusa Docs

Admin Guide

Solana access rules

Create collection or token rules that map Solana ownership to Discord roles.

Create a rule

  1. 1Open your server → Access Control → Rules.
  2. 2Click Add a rule.
  3. 3Choose Solana.
  4. 4Choose whether the rule is a Collection rule or a Token rule.
  5. 5Enter a Rule Name.
  6. 6Select the configured collection or token.
  7. 7Set the required NFT quantity or token amount.
  8. 8Select the Discord role controlled by the rule.
  9. 9For collection rules, optionally configure Specific traits.
  10. 10Save the rule.

Collection rules

A standard collection rule can grant a role based on collection ownership and a minimum NFT quantity. Collection rules can also add trait filters when synchronized NFT metadata is available.

Token rules

A Solana token rule selects a token already configured on the server and uses the configured token amount as the eligibility threshold for the target Discord role.

Validate before relying on the rule

  1. 1Save the rule.
  2. 2Click Check wallet.
  3. 3Paste a known Solana wallet that should qualify.
  4. 4Confirm the rule appears under Roles that would be assigned.
  5. 5Test a non-qualifying wallet when practical to verify the opposite outcome.
Still need help? Follow the troubleshooting checklist before escalating the issue.Open troubleshooting →