Chuyển đến phần nội dung
WordPress.org

tiếng Việt

  • Giao diện
  • Plugin
  • Tin tức
    • Tài liệu hướng dẫn
    • Diễn đàn
  • Giới thiệu
  • Facebook #WPVN
  • Tải WordPress
Tải WordPress
WordPress.org

Plugin Directory

Login with NEAR

  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập
  • Gửi một plugin
  • Yêu thích của tôi
  • Đăng nhập

Login with NEAR

Bởi Learn NEAR Club
Tải về
  • Chi tiết
  • Đánh giá
  • Nhà phát triển
Hỗ trợ

Mô tả

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 HOT Connector, the plugin supports various NEAR-compatible wallets, including Hot Wallet, MyNearWallet Meteor Wallet, Intear Wallet.

🔐 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/

Ảnh màn hình

  • 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.

Đánh giá

Useful plugin

yoshitech 4 Tháng 6, 2024
Works as it should 🙂 Great help when developing blockchain plugins for WP.

Worked really well

happyAnt 31 Tháng 1, 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 Tháng 1, 2023
Works as decsribed. Looking forward to future updates.
Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“Login with NEAR” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp
  • Learn NEAR Club

Dịch “Login with NEAR” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

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

0.3.0

  • [Improvement] Fix tag

0.3.1

  • [Improvement] New login provider

0.3.2

  • [Improvement] Updated description and icons

0.3.3

  • [Improvement] Updated version

Meta

  • Phiên bản 0.3.3
  • Cập nhật lần cuối 6 tháng trước
  • Số lượt cài đặt 10+
  • Phiên bản WordPress 6.0.1 hoặc cao hơn
  • Đã kiểm tra lên đến 6.8.5
  • Phiên bản PHP 7.4 hoặc cao hơn
  • Ngôn ngữ
    English (US)
  • Thẻ
    loginNEAR
  • Nâng cao

Đánh giá

5 trên 5 sao.
  • 3 5-star reviews 5 sao 3
  • 0 4-star reviews 4 sao 0
  • 0 3-star reviews 3 sao 0
  • 0 2-star reviews 2 sao 0
  • 0 1-star reviews 1 sao 0

Your review

Xem tất cả đánh giá

Những người đóng góp

  • Learn NEAR Club

Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

Xem diễn đàn hỗ trợ

  • Giới thiệu
  • Tin tức
  • Lưu trữ
  • Quyền riêng tư
  • Trưng bày
  • Giao diện
  • Plugin
  • Mẫu khối
  • Học hỏi
  • Hỗ trợ
  • Nhà phát triển
  • WordPress.tv ↗
  • Tham gia
  • Sự kiện
  • Quyên góp ↗
  • Năm cho Tương lai
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

tiếng Việt

  • Truy cập tài khoản X (trước đây là Twitter) của chúng tôi
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Xem trang Facebook của chúng tôi
  • Truy cập tài khoản Instagram của chúng tôi
  • Truy cập tài khoản LinkedIn của chúng tôi
  • Visit our TikTok account
  • Truy cập kênh YouTube của chúng tôi
  • Visit our Tumblr account
Viết code như làm thơ.
The WordPress® trademark is the intellectual property of the WordPress Foundation.