Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Solana Login and Content Locker

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Solana Login and Content Locker

By guapsie
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Solana Login and Content Locker is a Web3 authentication plugin for WordPress that allows you to token-gate your content or create exclusive areas using the Phantom wallet on the Solana blockchain.

Say goodbye to traditional email/password logins and embrace the decentralized web.

Key Features

Phantom Wallet Support: Seamlessly connect and authenticate users via Phantom.

Cryptographic Security: Utilizes robust Ed25519 signature verification via libsodium to ensure maximum security against spoofing.

Content Protection: Easily lock your posts and pages. Only authenticated Web3 users can access the content.

Automatic Account Creation: Automatically handles WordPress sessions and creates standard subscriber accounts for authenticated wallets.

Lightweight & Fast: Strictly object-oriented architecture that won’t slow down your site. Fully bundled libraries ensure compliance with WordPress directory guidelines.

Included Libraries & Third-Party Code

To ensure maximum performance and compliance with WordPress guidelines regarding external assets, this plugin includes the following library bundled locally:

Solana Web3.js (solana-web3.min.js)

Description: The official Solana JavaScript API, required to interact with the Solana blockchain and Phantom wallet.

Source: The minified version bundled in this plugin (assets/js/solana-web3.min.js) is the exact distribution file from @solana/web3.js.

Unminified Source Code: The full, unminified source code for this library can be reviewed at the official Solana Labs repository: https://github.com/solana-labs/solana-web3.js

License: MIT License.

External Services

This plugin relies on external services to function properly. By using this plugin, your website’s frontend will interact with the following third-party services:

Solana Public RPC Nodes

Purpose: The bundled solana-web3.js library connects directly from the user’s browser to Solana’s public RPC nodes (Mainnet-beta, Devnet, or Testnet) to verify blockchain states and facilitate cryptographic requests.

Data Transmitted: No Personal Identifiable Information (PII) from your WordPress database is sent. The user’s browser only transmits cryptographic requests (such as public keys) to the Solana network.

Terms & Privacy: Solana Terms of Service(https://solana.com/tos) | Solana Privacy Policy(https://solana.com/privacy-policy)

Phantom Wallet

Purpose: The plugin interacts with the user’s installed Phantom browser extension to request connection authorization and cryptographic signatures.

Data Transmitted: The plugin requests the user’s Solana Public Key and asks the wallet to sign a secure, randomly generated challenge string. No private keys, balances, or financial data are ever accessed or transmitted.

Terms & Privacy: Phantom Terms of Service(https://phantom.app/terms) | Phantom Privacy Policy(https://phantom.app/privacy)

Installation

Log into your WordPress admin dashboard.

Navigate to Plugins > Add New.

Search for “Solana Login and Content Locker” and click “Install Now”, or upload the guapsie-solana-gateway.zip file.

Click “Activate Plugin”.

Navigate to the new Solana Web3 menu in your sidebar to configure the access rules.

Use the [slcl_login] shortcode on any page, post, or widget to display the connect button.

FAQ

Do I need an SSL certificate?

Yes. Web3 wallet extensions require a secure context (HTTPS) to interact with your website. The connection will fail on standard HTTP connections.

What happens if a user doesn’t have a Phantom wallet installed?

The plugin intelligently detects the missing browser extension and provides a direct, safe link for the user to download the Phantom wallet.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Solana Login and Content Locker” is open source software. The following people have contributed to this plugin.

Contributors
  • guapsie

Translate “Solana Login and Content Locker” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

Initial release.

Added [slcl_login] shortcode functionality.

Integrated Phantom wallet UI.

Implemented secure Ed25519 cryptographic signature verification.

Added backend settings panel.

Meta

  • Version 1.0.0
  • Last updated 4 days ago
  • Active installations Fewer than 10
  • WordPress version 6.0 or higher
  • Tested up to 6.9.4
  • PHP version 7.4 or higher
  • Tags
    authenticationloginphantomsolanaweb3
  • Advanced View

Ratings

No reviews have been submitted yet.

Your review

See all reviews

Contributors

  • guapsie

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.