Login with NEAR

plugin banner

Login with NEAR WordPress plugin, allows users to register/login with NEAR wallets.

Author:Learn NEAR Club (profile at wordpress.org)
WordPress version required:6.0.1
WordPress version tested:6.5.2
Plugin version:0.2.4
Added to WordPress repository:23-12-2022
Last updated:15-04-2024
Rating, %:100
Rated by:2
Plugin URI:
Total downloads:2 044
Active installs:10+
plugin download
Click to start download

Login with NEAR WordPress plugin allows to easy setup and customize login with NEAR functionality at your WordPress site by using simple shortcode [login_near_link].

Benefits

  1. Provides the most popular Near Wallets: Plugin supports “Near Wallet”, “My Near Wallet”, “Here Wallet”, “Meteor Wallet” “Sender”.

  2. Easy registration and login: If user has a Near Wallet, he already can use all functionality from your site and identified as WP User.

  3. Call smart contracts from single endpoint: Plugin is a wrapped implementation for official Near Wallet Selector (https://github.com/near/wallet-selector). If you use a smart contract it provides possibility to use limited access key for it. Also, you can make calls to change/view methods on another smart contracts.

  4. Easy to modify: You can easily change login, logout button text and provide advanced classed to customize style from code

For plugin developers

  • If you want to create plugin with smart contract and call it from logged users you can simply do it in this way:
  • 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/

Screenshots
ChangeLog