跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Solana Login and Content Locker

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Solana Login and Content Locker

作者:guapsie
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

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)

安装

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.

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

「Solana Login and Content Locker」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • guapsie

帮助将「Solana Login and Content Locker」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.0

Initial release.

Added [slcl_login] shortcode functionality.

Integrated Phantom wallet UI.

Implemented secure Ed25519 cryptographic signature verification.

Added backend settings panel.

额外信息

  • 版本 1.0.0
  • 最后更新:7 天前
  • 活跃安装数量 不到10
  • WordPress 版本 6.0 或更高版本
  • 已测试的最高版本为 6.9.4
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    authenticationloginphantomsolanaweb3
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • guapsie

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.