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.
ContributorsTranslate “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.
