Beskrivning
The Ethereum Wallet WordPress plugin auto-creates a user wallet upon registration and allows user to send Ether or ERC20/ERC721 tokens from it.
It is a valuable addition for the Cryptocurrency Product for WooCommerce plugin.
Using these two plugins your non-techie customers can register to obtain an Ethereum account address and then buy your tokens to be sent to this new address.
Binance Smart Chain, Polygon and any other EVM-compatible blockchain is supported in the PRO version!
FREE Features
- To show user’s Ethereum account address insert the
[ethereum-wallet-account]
shortcode wherever you like. You can uselabel="My label"
attribute to set your own label text. Andnolabel="yes"
attribute to display no label at all. - To show user’s Ethereum account address’s Ether balance insert the
[ethereum-wallet-balance]
shortcode wherever you like. Add thedisplayfiat="1"
attribute to display the calculated fiat balance too. - Limit balance update rate with
updatetimeout
attribute, like[ethereum-wallet-balance updatetimeout="60"]
for once per minute update. - Use
tokendecimals
attribute to configure the desired digits after the decimal separator count for the[ethereum-wallet-balance]
shortcode. - Use
tokendecimalchar
attribute to configure the desired decimal separator character for the[ethereum-wallet-balance]
shortcode. - Dynamic ETH token price feature of the Cryptocurrency Product for WooCommerce plugin is supported.
- To show the send Ether form insert the
[ethereum-wallet-sendform]
shortcode wherever you like. - To show an account’s transactions history insert the
[ethereum-wallet-history direction="in"]
shortcode wherever you like. Thedirection
attribute can have valuesin
to show only input transactions,out
to show only output transactions, orinout
to show both input and output transactions. If attribute is omitted, theinout
is used by default. - Pagination and filtering is available for the tx history table
- Use the
user_ethereum_wallet_address
user_meta key to display the user’s account address, or for theEthereum Wallet meta key
setting of the Cryptocurrency Product for WooCommerce plugin - The
user_ethereum_wallet_last_tx_hash
user meta key can be used to access the user’s most recent transaction - The Ethereum Gas price is auto adjusted according to the etherchain.org API
- Balances and tx tables of the wallet-receiver are auto-refreshed by listening to the blockchain
- Integration with the Ether and ERC20 tokens WooCommerce Payment Gateway plugin is provided
- New account creation form shortcode:
[ethereum-wallet-account-management-create]
- Accounts list, select default shortcode:
[ethereum-wallet-account-management-select]
- Private key import shortcode:
[ethereum-wallet-account-management-import]
- Private key export shortcode:
[ethereum-wallet-account-management-export]
- QR-code is displayed for account and private key export shortcodes
- QR Scanner for
TO
section ofSEND FORM
Ethereum wallet
column with linked user’s account addresses is displayed on theUsers
WordPress admin page (/wp-admin/users.php
)- This plugin is l10n ready
PRO Features
Full ERC20 and NFT (ERC721) tokens support!
- NFT (ERC721) tokens display and sending support:
[ethereum-wallet-nft]
shortcode, and NFT transfers display in the history table - Admin markup feature to earn Ether fee from your site’s Ethereum Wallet users
- Custom/private blockchain feature:
Ethereum Node JSON-RPC Endpoint
and other related settings to use Binance smart chain (BSC), Polygon and any other EVM compatible blockchain - To show user’s Ethereum account address’s TSX ERC20 token balance insert the
[ethereum-wallet-balance tokenname="TSX" tokenaddress="0x6Fe928d427b0E339DB6FF1c7a852dc31b651bD3a"]
shortcode wherever you like. - The Cryptocurrency Product for WooCommerce plugin integration for the
[ethereum-wallet-balance]
shortcode is available. Add thetokenwooproduct
attribute with a product id of the corresponding WooCommerce Token product as a value to display the balance in a fiat currency as well. The token to fiat currency rate would be calculated from the WooCommerce product price. Example:[ethereum-wallet-balance tokenname="TSX" tokenaddress="0x6Fe928d427b0E339DB6FF1c7a852dc31b651bD3a" tokenwooproduct="123"]
. Result:12.345 TSX $12.34
. - The
tokeniconpath
attribute added to the[ethereum-wallet-balance]
shortcode turns it to a more sophisticated widget with token icon. For token:[ethereum-wallet-balance tokensymbol="TSX" tokenname="Test Coin" tokenaddress="0x6Fe928d427b0E339DB6FF1c7a852dc31b651bD3a" tokenwooproduct="123" tokeniconpath="https://example.com/icons/BTC.png"]
. For Ether:[ethereum-wallet-balance displayfiat="1" tokeniconpath="https://example.com/icons/BTC.png"]
. - Dynamic ERC20 token price feature of the Cryptocurrency Product for WooCommerce plugin is supported.
- The
[ethereum-wallet-accounts-table]
shortcode can be used to display a table of all accounts with fiat balances. Avatars and logins are also shown for the admin user. Integration with BuddyPress is provided for avatars display. - To show the send ERC20 token form insert the
[ethereum-wallet-sendform]
shortcode wherever you like. - Multi-vendor support for the Cryptocurrency Product for WooCommerce plugin
ethereum-wallet-dividends
shortcode can be used to display dividends payment history. See theERC20 Dividend Payments Add-On
of the Cryptocurrency Product for WooCommerce plugin for detailstokenaddress
attribute for theethereum-wallet-accounts-table
forces this table to display token balances instead of the Ethermintokenamount
attribute for theethereum-wallet-accounts-table
shortcode forces this table to display users with token balances greater or equal to themintokenamount
value setTools
/Ethereum Wallet
submenu can be used to manually recalculate user account balances- User account addresses initialization on the
Tools
/Ethereum Wallet
page. Useful if plugin is installed on the already established site with many users registered. - ERC1404 support. If transfer is not allowed, corresponding error message would be displayed.
tokenslist
attribute for theethereum-wallet-sendform
shortcode can contain a single allowed token address or a comma separated list of allowed token addresses.- The
tokenslist
attribute can contain a special0x0000000000000000000000000000000000000001
address to represent the basic blockchain coin like ETH/BNB/MATIC to allow simultaneous tokens and basic coin display with ordering, to make your token displayed first for example. onlytokens
attribute for theethereum-wallet-sendform
shortcode can can be used to exclude the basic blockchain coin like ETH/BNB/MATIC.
See the official site for a live demo: https://ethereumico.io/ethereum-wallet/
To use the
ERC20 Dividend Payments Add-On
for the Cryptocurrency Product for WooCommerce plugin, install the Cryptocurrency Product for WooCommerce and then go to Settings > Cryptocurrency Product > Add-Ons > Dividends.
Disclaimer
By using this plugin you accept all responsibility for handling the account balances for all your users.
Under no circumstances is ethereumico.io or any of its affiliates responsible for any damages incurred by the use of this plugin.
Every effort has been made to harden the security of this plugin, but its safe operation depends on your site being secure overall. You, the site administrator, must take all necessary precautions to secure your WordPress installation before you connect it to any live wallets.
You are strongly advised to take the following actions (at a minimum):
- Educate yourself about cold and hot cryptocurrency storage
- Obtain hardware wallet to store your coins, like Ledger Nano S
- Educate yourself about hardening WordPress security
- Install a security plugin such as Jetpack or any other security plugin
- Enable SSL on your site if you have not already done so.
By continuing to use the Ethereum Wallet WordPress plugin, you indicate that you have understood and agreed to this disclaimer.
Testing
You can test this plugin in some test network for free.
The
ropsten
,rinkeby
,goerli
andkovan
testnets are supported.
Testing in ropsten
- Set the
Blockchain
setting toropsten
- ”Buy” some Ropsten Ether for free using MetaMask
- Send some Ropsten Ether to the account this plugin generated for you. Use
[ethereum-wallet-account]
shortcode to display it - Send some Ropsten Ether to the
0x773F803b0393DFb7dc77e3f7a012B79CCd8A8aB9
address to obtain TSX tokens. The TSX token has the0x6Fe928d427b0E339DB6FF1c7a852dc31b651bD3a
address. - Use your favorite wallet to send TSX tokens to the account this plugin generated for you
- Now test the plugin by sending some Ropsten Ether and/or TSX tokens from the generated account address to your other address. Use the
[ethereum-wallet-sendform]
shortcode to render the send form on a page. - Check that proper amount of Ropsten Ether and/or TSX tokens has been sent to your payment address
- You can use your own token to test the same
Testing in rinkeby
- Set the
Blockchain
setting torinkeby
- You can ”buy” some Rinkeby Ether for free here: rinkeby.io
- Send some Rinkeby Ether to the account this plugin generated for you. Use
[ethereum-wallet-account]
shortcode to display it - Send some Rinkeby Ether to the
0x669519e1e150dfdfcf0d747d530f2abde2ab3f0e
address to obtain TSX tokens. The TSX token has the0x194c35B62fF011507D6aCB55B95Ad010193d303E
address. - Use your favorite wallet to send TSX tokens to the account this plugin generated for you
- Now test the plugin by sending some Rinkeby Ether and/or TSX tokens from the generated account address to your other address. Use the
[ethereum-wallet-sendform]
shortcode to render the send form on a page. - Check that proper amount of Rinkeby Ether and/or TSX tokens has been sent to your payment address
- You can use your own token to test the same
l10n
This plugin is localization ready.
Languages this plugin is available now:
- English
- Russian(Русский)
- German(Deutsche) by Johannes from decentris dot com
Feel free to translate this plugin to your language.
Skärmdumpar
The [ethereum-wallet-account]
displayThe [ethereum-wallet-sendform]
displayThe [ethereum-wallet-history]
displayThe Blockchain settings The [ethereum-wallet-account-management-create]
displayThe [ethereum-wallet-account-management-import]
displayThe [ethereum-wallet-account-management-select]
displayThe [ethereum-wallet-account-management-export]
displayThe [ethereum-wallet-nft columns="3" rows="2"]
displayThe [ethereum-wallet-balance]
display with different settingsThe [ethereum-wallet-nft columns="3" rows="2"]
token info displayThe API Keys settings The Admin Fee settings The Advanced Blockchain settings part 1 The Advanced Blockchain settings part 2 The IPFS settings
Installation
Make sure that System Requirements are met on your hosting provider. These providers are tested for compliance: Cloudways, Bluehost, SiteGround
- Enter your settings in admin pages and place the
[ethereum-wallet-sendform]
,[ethereum-wallet-balance]
and other shortcodes wherever you need it. - For the proper use of the
[ethereum-wallet-accounts-table]
shortcode, change thePermalink Settings
to anything other than the default value.
bcmath and gmp
sudo apt-get install php-bcmath php-gmp
service apache2 restart
For AWS bitnami AMI restart apache2 with this command:
sudo /opt/bitnami/ctlscript.sh restart apache
Shortcodes
Possible shortcodes configuration:
[ethereum-wallet-nft columns="3" rows="2"]
[ethereum-wallet-nft columns="3" rows="2" account="0x6975be450864c02b4613023c2152ee0743572325"]
[ethereum-wallet-account label="Your wallet:"]
[ethereum-wallet-account nolabel="yes"]
[ethereum-wallet-balance]
[ethereum-wallet-balance tokenname="TSX" tokenaddress="0x6Fe928d427b0E339DB6FF1c7a852dc31b651bD3a"]
[ethereum-wallet-sendform]
[ethereum-wallet-history]
[ethereum-wallet-history direction="in"]
[ethereum-wallet-history direction="out"]
[ethereum-wallet-account-management-create]
[ethereum-wallet-account-management-select]
[ethereum-wallet-account-management-import]
[ethereum-wallet-account-management-export]
Infura.io Api Key
Register for an infura.io API key and put it in admin settings. It is required to interact with Ethereum blockchain. Use this Get infura API Key Guide if unsure.
Recensioner
Bidragsgivare och utvecklare
”Ethereum Wallet” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Ethereum Wallet” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
4.4.2
- Send form javascript error fix
4.4.1
- Security fix
4.4.0
- User account addresses initialization added to the Tools page.
4.3.1
- Fix error display and insufficient funds error reporting
- Update translations
4.3.0
- Display token balance with thousands separator applied
- Fix i18n for dates in tables
4.2.0
- The
tokenslist
attribute can contain a special0x0000000000000000000000000000000000000001
address to represent the basic blockchain coin like ETH/BNB/MATIC to allow simultaneous tokens and basic coin display with ordering, to make your token displayed first for example.
4.1.2
- i18n for dates in tables
4.1.1
- Fix gas price fee logic
4.1.0
- WCFM – Frontend Manager for WooCommerce plugin support
4.0.9
- Better EIP-1559 compliance
- New freemius.com library version
- Javascript libraries update
4.0.8
- Fix REST API issue for the free plugin version.
4.0.7
- Better tip calculation for EIP-1559 blockchains.
4.0.6
- Fix ”Invalid argument supplied for foreach()” error
4.0.5
- Fix ”Undefined variable: attrs” error
4.0.4
- Better empty value handling
4.0.3
- Zero value send fix
4.0.2
- For tokens list in the send form menu use an icon from a WooCommerce token product if not found in published tokens list
4.0.1
- Send form amount input fixes
4.0.0
- material-ui js library rewrite of all UI components
- ERC2212 support discontinued – standard proposal is abandoned.