説明
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
-
Provides the most popular Near Wallets: Plugin supports “Near Wallet”, “My Near Wallet”, “Here Wallet”, “Meteor Wallet” “Sender”.
-
Easy registration and login: If user has a Near Wallet, he already can use all functionality from your site and identified as WP User.
-
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.
-
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/
スクリーンショット
評価
貢献者と開発者
変更履歴
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