Skip to content
@Adamantine-guild

Adamantine

🛡️ Adamantine Guild

Welcome to the official repository of the Adamantine Guild, a Web3 developer collective building robust, modern, and developer-first membership and token-gating infrastructure for open-source communities, decentralized protocols, and decentralized autonomous organizations (DAOs).

Our primary project is GuildPass — a comprehensive suite of Web3 membership protocols, developer tools, frontend applications, and mobile gateways designed to make community governance and access control seamless, secure, and explainable.


🧭 The GuildPass Ecosystem

GuildPass is divided into specialized repositories that work together to provide end-to-end access control. Click on any repository below to view its source code, architecture, and setup instructions:

Repository Purpose Primary Stack Key Features
guildpass-core The protocol foundation, database backend, Solidity smart contracts, and access policy engine. Solidity, Foundry, Fastify, Prisma, PostgreSQL, Redis • Multi-community MembershipNFT
• Real-time, explainable access API
• Local development database seeding
guildpass-app A web-based management dashboard for community creators and administrators. Next.js 14, Tailwind CSS, pnpm Workspaces • Activity/audit logs
• Real-time community & pass management
• Out-of-the-box offline mock mode
guildpass-integrations The primary member-facing portal and portal admin experiences. Next.js 14, wagmi, viem, TanStack Query • EIP-4361 (SIWE) gasless authentication
• Web3 connect workflows & wallet-aware UI
• Granular role-gated experiences
guildpass-mobile The official iOS and Android native companion application for on-the-go gating. React Native, Expo Router, Zustand, NativeWind • Mobile membership wallet
• Dynamic offline-ready caching
• Instant membership and role verification
guildpass-sdk The official developer library for checking access and integrating the protocol. TypeScript, tsup, Vitest • Tiny footprint, service-based modules
• Comprehensive type safety
• Node.js, Edge, and browser compatible

🏗️ System Architecture

The diagram below shows how the components of the GuildPass ecosystem communicate with each other, with on-chain Ethereum smart contracts, and with external developer applications.

graph TD
    classDef core fill:#e0f7fa,stroke:#00acc1,stroke-width:2px;
    classDef app fill:#f3e5f5,stroke:#8e24aa,stroke-width:2px;
    classDef integrations fill:#fff3e0,stroke:#fb8c00,stroke-width:2px;
    classDef mobile fill:#efebe9,stroke:#6d4c41,stroke-width:2px;
    classDef sdk fill:#e8f5e9,stroke:#43a047,stroke-width:2px;
    classDef external fill:#eceff1,stroke:#546e7a,stroke-width:2px,stroke-dasharray: 5 5;

    subgraph Adamantine Guild Ecosystem
        subgraph Backend & Protocol [guildpass-core]
            CoreAPI["Fastify API (access-api)"]:::core
            SolContracts["MembershipNFT (Solidity/Foundry)"]:::core
            PolicyEngine["Policy Engine"]:::core
        end

        subgraph Management Portal [guildpass-app]
            Dashboard["Admin Dashboard (Next.js 14)"]:::app
        end

        subgraph Member & Auth Interface [guildpass-integrations]
            WebClient["Web Portal (SIWE / wagmi / Next.js)"]:::integrations
        end

        subgraph Mobile Access [guildpass-mobile]
            MobileApp["iOS & Android App (Expo / React Native)"]:::mobile
        end

        subgraph Client Integration [guildpass-sdk]
            SDK["TypeScript SDK"]:::sdk
        end
    end

    ThirdParty["Third-Party Web Apps"]:::external

    %% Interactions
    Dashboard -->|"Admin Management / Config"| CoreAPI
    WebClient -->|"Access verification / SIWE Auth"| CoreAPI
    MobileApp -->|"Access checks & profile sync"| SDK
    SDK -->|"API Queries"| CoreAPI
    ThirdParty -->|"Integration Gating"| SDK

    %% On-chain Interactions
    CoreAPI -->|"Index Events & State Sync"| SolContracts
    WebClient -->|"Read Contract / Connect Wallet"| SolContracts
    MobileApp -->|"Wallet / On-chain roles lookup"| SolContracts
Loading

⚡ Core Technical Pillars

Our engineering philosophy focuses on building modular, decentralized, and explainable systems. The GuildPass protocol implements these four pillars across its codebases:

1. Multi-Community Membership Contracts (MembershipNFT)

Unlike traditional ERC-721 token gating that requires a new deployed smart contract for every community, our Solidity protocol supports multi-community mapping on a single deployed contract. It supports standard EVM chain operations alongside expiry and suspension semantics, allowing community managers to grant, revoke, or renew roles gaslessly off-chain or through on-chain transactions.

2. Sign-in with Ethereum (SIWE / EIP-4361)

Administrative mutations and sensitive reads are secured by cryptographically signed messages instead of standard API keys or database passwords. By leveraging EIP-4361, admins sign a gasless message on their wallets to verify ownership, which generates short-lived session tokens for subsequent client requests.

3. Decoupled & Explainable Policy Engine

Access policies shouldn't be a black box. The platform incorporates a dedicated access rule engine which determines access permission based on rules such as PUBLIC, MEMBERS_ONLY, ADMINS_ONLY, and custom developer-defined overrides. When a request is made, the engine returns not just a boolean allowed/denied value, but also human-readable and machine-readable reasons specifying why access was permitted or blocked.

4. Lightweight Developer Integration

Security only works if developers use it. The @guildpass/sdk features service-specific modules (client.access, client.membership, client.roles, client.guilds) so that you only bundle and load the features you need. It supports all standard Node, browser, and Vercel/Cloudflare Edge runtimes.


🛠️ Getting Started with Development

Each workspace contains a comprehensive guide in its respective directory. Here is a high-level overview of how to spin up the entire suite:

1. Set up the Core Services

First, spin up the backend protocol, API database, and contracts:

cd guildpass-core
docker compose up -d                        # Start PostgreSQL and Redis
npm install
cp .env.example .env                       # Edit DATABASE_URL and REDIS_URL
npm run -w access-api prisma:migrate       # Apply schema changes
npm run seed                               # Seed the DB with mock profiles
npm run dev                                # Run the Fastify API (http://localhost:3000)

2. Run the Management Dashboard

In another terminal, start the administration interface:

cd guildpass-app
pnpm install
cp .env.example .env
pnpm dev                                   # Launches Docusaurus, App, and bot

3. Spin up the Front-End Client

To view the web client portal (where users connect their wallets and authenticate with SIWE):

cd guildpass-integrations
npm install
cp .env.example .env.local
NEXT_PUBLIC_MOCK_MODE=true npm run dev     # Run in mock/demo mode (or point to live core)

4. Launch the Mobile Companion

Run the React Native / Expo application:

cd guildpass-mobile
pnpm install
cp .env.example .env
pnpm start                                 # Scan the QR code using Expo Go on iOS/Android

🤝 Contributing to Adamantine Guild

We welcome contributions from the community! Whether you are a Solidity wizard, React Native developer, or writer, there is a place for you in our guild.

  1. Find issues tagged good first issue or help wanted across our repositories.
  2. Fork the repository, create a descriptive branch name, and implement your changes.
  3. Open a Pull Request referencing the issue you addressed. Please ensure all lint checks (npm run lint) and type checks (npm run typecheck) pass before submitting.

Get in Touch

If you have any questions, ideas, or feedback, feel free to reach out to the project maintainers:


Crafted with care and precision by the Adamantine Guild core maintainers

guildpass.xyz

Popular repositories Loading

  1. guildpass-sdk guildpass-sdk Public

    Official TypeScript SDK for GuildPass, providing typed client utilities for membership lookup, role checks, guild configuration, access control, and future on-chain integration support for token-ga…

    TypeScript 1 20

  2. guildpass-core guildpass-core Public

    Core contracts, access API, and policy engine for GuildPass membership, roles, and token-gated community infrastructure.

    TypeScript 12

  3. guildpass-integrations guildpass-integrations Public

    Discord bot, docs, and ecosystem integrations for GuildPass community access and membership workflows.

    TypeScript 9

  4. guildpass-app guildpass-app Public

    Main GuildPass web app for member dashboards, admin controls, and gated community experiences.

    TypeScript 7

  5. guildpass-mobile guildpass-mobile Public

    React Native mobile app for GuildPass, enabling users to view wallet-based memberships, explore guild profiles, check assigned roles, and verify access to token-gated Web3 community resources.

    TypeScript 3

  6. .github .github Public

Repositories

Showing 6 of 6 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…