WordPress.org

Galego

  • Temas
  • Plugins
  • Novas
  • Acerca de
  • Padróns
  • Colabora
  • Equipo
  • Meetups
  • Contacto
  • Homenaxes
  • Consigue WordPress
Consigue WordPress
WordPress.org

Plugin Directory

Login with NEAR

  • Enviar un plugin
  • Os meus favoritos
  • Iniciar sesión
  • Enviar un plugin
  • Os meus favoritos
  • Iniciar sesión

Login with NEAR

Por Learn NEAR Club
Descargar
  • Detalles
  • Valoracións
  • Desenvolvemento
Soporte

Descrición

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/

Capturas

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

Comentarios

Useful plugin

yoshitech 4 de Xuño, 2024
Works as it should 🙂 Great help when developing blockchain plugins for WP.

Worked really well

happyAnt 31 de Xaneiro, 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 de Xaneiro, 2023
Works as decsribed. Looking forward to future updates.
Ler todas as 3 opinións

Colaboradores e desenvolvedores

“Login with NEAR” é un software de código aberto. As seguintes persoas colaboraron con este plugin.

Colaboradores
  • Learn NEAR Club

Traduce “Login with NEAR” ao teu idioma.

Interesado no desenvolvemento?

Revisa o código, bota unha ollada aorepositorio SVN, ou subscríbete ao log de desenvolvemento por RSS.

Rexistro de cambios

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

  • Versión 0.3.0
  • Última actualización Fai 6 meses
  • Instalacións activas 10+
  • Versión de WordPress 6.0.1 ou superior
  • Probado ata 6.8.3
  • Versión de PHP 7.4 ou superior
  • Idioma
    English (US)
  • Etiquetas
    loginNEAR
  • Vista avanzada

Valoracións

5 de 5 estrelas
  • 3 valoracións de 5 estrelas 5 estrelas 3
  • 0 valoracións de 4 estrelas 4 estrelas 0
  • 0 valoracións de 3 estrelas 3 estrelas 0
  • 0 valoracións de 2 estrelas 2 estrelas 0
  • 0 valoracións de 1 estrelas 1 estrela 0

Engadir a miña recensión

Ver todas as valoracións

Colaboradores

  • Learn NEAR Club

Soporte

Tes algo que dicir? Necesitas axuda?

Ver o foro de soporte

  • Acerca de
  • Novas
  • Aloxamento
  • Privacidade
  • Escaparate
  • Temas
  • Plugins
  • Padróns
  • Aprender
  • Soporte
  • Desenvolvedores
  • WordPress.TV ↗
  • Involúcrate
  • Eventos
  • Doar ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Galego

  • Visita la cuenta de X (anteriormente Twitter)
  • Visita a nosa conta de Bluesky
  • Visita a nosa conta de Mastodon
  • Visita a nosa conta de Threads
  • Visita a nosa páxina de Facebook
  • Visita a nosa conta de Instagram
  • Visita a nosa conta de LinkedIn
  • Visita a nosa conta de TikTok
  • Visita a nosa canle de YouTube
  • Visita a nosa conta de Tumblr
O código é poesía.