Skip to content

Add gating#10

Merged
steven-tomlinson merged 16 commits into
mainfrom
add-gating
Dec 5, 2025
Merged

Add gating#10
steven-tomlinson merged 16 commits into
mainfrom
add-gating

Conversation

@steven-tomlinson
Copy link
Copy Markdown
Collaborator

Implements experimental simple content-gating using NFTs and no back-end database or storage outside of smart-contracts (not meant for production).

steven-tomlinson added 15 commits November 22, 2025 17:47
- Created a new HTML page for minting the Lockb0x Sigil NFT, including wallet connection and minting instructions.
- Added redirect pages for chapters 1 to 6 and chapter 1a of The Whispering Code, directing users to the corresponding Keya chapters.
…checks, and improve UI elements for minting tiers and design options.
- Updated contract address in contract-address.json.
- Modified index.html to improve wallet connection checks and PoH verification.
- Refactored mint.js to streamline PoH signature retrieval and minting logic.
- Enhanced utils.js for better PoH verification handling and localStorage management.
- Introduced Lockb0xSigil.sol contract with minting functionality and SVG metadata generation.
- Added agent instructions for implementing wallet-compatible SVG JSON metadata without altering existing CBOR logic.
…for SEO

- Added a carrier detection notification in the header.
- Updated meta title and description for better clarity and SEO.
- Improved Open Graph and Twitter card metadata for enhanced sharing.
- Refactored hero image section and adjusted visibility logic.
- Enhanced user guidance for Proof of Humanity verification.
- Updated footer information for project attribution.
- Improved wallet connection checks and error handling in lockb0x.
- Added new styles for kaleidoscope effect and Web3Auth error overlay.
- Implemented Web3Auth integration for MetaMask login.
- Created contract interaction helpers for NFT ownership checks.
- Developed interstitial page for Lockb0x Sigil NFT checks.
- Added parameter validation and price table for minting.
- Enhanced session management for Proof of Humanity verification.
- Implemented network switching logic for Linea Mainnet and Sepolia.
- Updated configuration for Web3Auth client ID.
- Created chapter1a-game-test.html for testing the interactive fiction game.
- Implemented chapter1a-game.js containing the game logic, scenes, and state management.
- Added header-logic.js for carrier detection and cookie consent management.
- Introduced lockb0x-utils-global.js to load lockb0x utilities as a global module.
- Configured contract-config.js to expose contract address and ABI for the dapp.
- Included backup.txt with carrier detection logic and PoH/NFT badge handling.
…ty with lockb0x utilities

- Updated script tags in artefacts, fragments, keya, lockb0x, and primer HTML files to include anime.js and lockb0x utility scripts.
- Removed deprecated header logic scripts and replaced them with a more streamlined approach for utility initialization.
- Modified content in keya chapters to indicate upcoming development status.
- Ensured backward compatibility checks for lockb0x utilities are in place across all updated files.
…cription of token-gating and contribution processes
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lockb0x/config.js
@steven-tomlinson steven-tomlinson self-assigned this Dec 5, 2025
@steven-tomlinson steven-tomlinson merged commit 09a7aa4 into main Dec 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant