Descriere
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
-
NEAR Wallet Integration: Facilitates user authentication through popular NEAR wallets, streamlining the login process for users already engaged in the NEAR ecosystem.
-
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.
-
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.
-
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.
-
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/
Capturi ecran
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.
Recenzii
Contributori și dezvoltatori
„Login with NEAR” este un software open-source. La acest modul au contribuit următoarele persoane.
ContributoriTradu „Login with NEAR” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
Istoric modificări
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