WordPress.org

العربية

  • القوالب
  • الإضافات
  • الأخبار
  • الدعم الفني
  • حول
    • كُتيب المساهمة
  • احصل على ووردبريس
احصل على ووردبريس
WordPress.org

Plugin Directory

Login with NEAR

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

Login with NEAR

بواسطة Learn NEAR Club
تنزيل
  • تفاصيل
  • المراجعات
  • التطوير
الدعم

الوصف

Login with NEAR is a WordPress plugin that enables seamless Web3 authentication by allowing users to log in using their NEAR Protocol wallets. By integrating the official NEAR Wallet Selector, the plugin supports various NEAR-compatible wallets, including MyNearWallet, Hot Wallet, Meteor Wallet, and more.

🔐 Key Features

  1. NEAR Wallet Integration: Facilitates user authentication through popular NEAR wallets, streamlining the login process for users already engaged in the NEAR ecosystem.

  2. Smart Contract Interaction: Provides the ability to call smart contract methods directly from the WordPress site, supporting both view and change methods, and allowing the use of limited access keys for enhanced security.

  3. Customizable Shortcode: Utilizes a simple shortcode [login_near_link] to embed the NEAR login button anywhere on the site, with options to modify button text and apply custom CSS classes for styling.

  4. User Registration and Login: Automatically registers and logs in users who authenticate via their NEAR wallets, creating corresponding WordPress user accounts and simplifying user management.

  5. Customization Flexibility: Modify login/logout button text and apply advanced styling with ease directly from the code.

🧩 Use Cases

  • Web3 Communities: Ideal for blockchain-based communities seeking to authenticate users through NEAR wallets.
  • Decentralized Applications (dApps): Enables dApps built on WordPress to interact with NEAR smart contracts, facilitating decentralized functionalities directly from the website.
  • Token-Gated Content: Supports the creation of exclusive content accessible only to users authenticated via NEAR wallets, enabling token-based access control.
  • By integrating blockchain authentication into WordPress, the Login with NEAR plugin bridges the gap between traditional web platforms and decentralized technologies, offering a user-friendly solution for incorporating Web3 functionalities into your website.

For WordPress developers

  • Integrate smart contracts effortlessly and call them from logged-in users using simple JavaScript methods:7:
  • View method: await window.mainWallet.viewMethod({contractId: string, method: string, args: {} }
  • Change method: await window.mainWallet.callMethod({contractId: string, method: string, args: {}, gas: number, deposit: number})

Important links

  • Plugin Demo: http://livedemo.kinsta.cloud/

لقطات الشاشة

  • Fill the form with your configs: contract-id (your contract id, optional), login/logout button text (text that will be presented on frontend) classes (for extra styles), network (to use testnet or mainnet) screenshot-1.png.
  • Link will be on your site screenshot-3.png.
  • For now plugin supports NearWallet, MyNearWallet, Here Wallet screenshot-4.png.
  • Logout button will replace login button after login screenshot-5.png.

المراجعات

Useful plugin

yoshitech 4 يونيو، 2024
Works as it should 🙂 Great help when developing blockchain plugins for WP.

Worked really well

happyAnt 31 يناير، 2023
Worked really well, been using it for 5+ days now, and things worked well for me, allows users login to my site with a NEAR account! Great work!

Awesome first step!

techbridge 30 يناير، 2023
Works as decsribed. Looking forward to future updates.
إقرأ جميع المراجعات 3

المساهمون والمطوّرون

“Login with NEAR” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون
  • Learn NEAR Club

ترجمة ”Login with NEAR“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

0.0.2

  • [Improvement] Improved wallet integration and contract calls

0.0.3

  • [Improvement] Minor bugfix

0.0.4

  • [Improvement] Provide demo link to readme

0.0.5

  • [Improvement] Modify plugin title

0.0.6

  • [Improvement] Minor bugfix

0.0.7

  • [Improvement] Update description

0.0.8

  • [Improvement] Minor bugfix

0.0.9

  • [Improvement] Update description

0.1.0

  • [Improvement] Provide is loaded for compatibility with another plugins

0.1.1

  • [Improvement] set timeout on init form for better compatibility

0.1.2

  • [Improvement] minor fix for composer issue

0.1.3

  • [Improvement] fix structure

0.1.4

  • [Improvement] fix structure

0.1.5

  • [Improvement] fix structure

0.1.6

  • [Improvement] minor fix warnings

0.1.7

  • [Improvement] minor tested with 6.4.1

0.1.8

  • [Improvement] fix tags

0.1.9

  • [Improvement] fix wp version

0.2.0

  • [Improvement] fix login script

0.2.1

  • [Improvement] fix tags

0.2.2

  • [Improvement] fix login script

0.2.3

  • [Improvement] update scripts, support 6.5.2, change list of supported wallets

0.2.4

  • [Improvement] fix js

0.2.5

  • [Improvement] change readme and screenshots

0.2.6

  • [Improvement] Bring back support for meteor and mynear wallet

0.2.7

  • [Improvement] Replace mintbase wallet with bitte wallet

0.2.8

  • [Improvement] Hot wallet support, support latest wp

0.2.9

  • [Improvement] Fix tag

ميتا Meta

  • Version 0.3.0
  • Last updated قبل شهر واحد
  • Active installations 10+
  • WordPress version 6.0.1 أو أعلى
  • Tested up to 6.8.1
  • PHP version 7.4 أو أعلى
  • Language
    English (US)
  • Tags
    loginNEAR
  • عرض متقدم

التقييم

5 out of 5 stars.
  • 3 5-star reviews 5 stars 3
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

أضف مراجعتي

See all reviews

المساهمون

  • Learn NEAR Club

الدعم

لديك شيء لتقوله؟ بحاجة الى مساعدة؟

عرض منتدى الدعم

  • نبذة عن
  • أخبار
  • Hosting
  • الخصوصية
  • Showcase
  • قوالب
  • إضافات
  • الأنماط
  • تعلم
  • الدعم الفني
  • المطوّرون
  • WordPress.tv ↗
  • شارك بالمساهمة معنا
  • 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 Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
الكود شِعرٌ.