Beschreibung
The Ethereum Wallet WordPress plugin auto-creates a user wallet upon registration and allows user to send Ether or ERC20 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.
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. - 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
- This plugin is l10n ready
PRO Features
Full ERC20 tokens support!
- Admin markup feature to earn Ether fee from your site’s Ethereum Wallet users
- 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- 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.- ERC2212 support.
ethereum-wallet-dividends
shortcode can contain all attributes theethereum-wallet-balance
can. It requires the token to implement the ERC2212 standard.
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 or TREZOR
- 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.
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.
Screenshots
The [ethereum-wallet-account]
display with QR-code openedThe [ethereum-wallet-sendform]
displayThe [ethereum-wallet-history]
displayThe plugin 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-account-management-export]
display with QR-code openedThe [ethereum-wallet-balance]
display with different 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.
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-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.
Rezensionen
Mitwirkende & Entwickler
„Ethereum Wallet“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
MitwirkendeÜbersetze „Ethereum Wallet“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.
Änderungsprotokoll
2.7.1
- Fix new user registration issue
2.7.0
- Admin markup feature is implemented
2.6.5
- All external libs code is wrapped with an unique namespace to prevent conflicts
- Libraries are updated to latest versions
2.6.4
- Check if previous transaction is in progress and prevent next one from sending
- Better error reporting
2.6.3
- Try the reverted currency route conversion if the direct one does not exists
- Check token balance and shrink the amount requested to the balance value if it is overused. The idea is to prevent user errors that lead to failed transactions and gas waste.
2.6.2
requires 64 bit
activation check is added- freemius.com package version update
2.6.1
- German(Deutsche) localization improved
- Fiat balance output fix
tokenlist
->tokenslist
fix
2.6.0
ethereum-wallet-dividends
shortcode is added. It can contain all attributes theethereum-wallet-balance
can. It requires the token to implement the ERC2212 standard.
2.5.0
tokenslist
attribute for theethereum-wallet-sendform
shortcode is added. It can contain a single allowed token address or a comma separated list of allowed token addresses.
2.4.4
- docs
2.4.3
- Fix ERC1404 error checking
2.4.1
- Fix logs if used before WC initialization
2.4.0
- ERC1404 support. If transfer is not allowed, corresponding error message would be displayed.
2.3.5
- etherscan API Key is added to plugin settings. It becames required recently.
2.3.4
apply_filters( 'ethereum_wallet_send_token_check', true, $token_address, $from, $to, $token_quantity, $token_quantity_wei )
check hook is added to the tokens send function
2.3.3
- etherscan API Key is used everywhere now. It becames required recently.
2.3.2
mintokenamount
attribute fix
2.3.1
- Subdirectory sites support
2.3.0
tokenaddress
attribute for theethereum-wallet-accounts-table
shortcode is added. It forces this table to display token balances instead of the Ether.mintokenamount
attribute for theethereum-wallet-accounts-table
shortcode is added. It forces this table to display users with token balances greater or equal to themintokenamount
value set.Tools
/Ethereum Wallet
submenu is added to manually recalculate user account balances.
2.2.2
- Fix tx history display
2.2.1
- Fix non-ASCII characters in wallet names fix
2.2.0
ERC20 Dividend Payments Add-On
for the Cryptocurrency Product for WooCommerce plugin support is added:ethereum-wallet-dividends
2.1.2
- Leaderboard table fix if it is displayed on the page along
2.1.1
- PHP Warning fix
2.1.0
- Multi-vendor support for the Cryptocurrency Product for WooCommerce plugin
2.0.2
- fix address lookup issues
2.0.1
- Check requirements before the freemius.com code to prevent failures
- infura.io, geth, non-logged MetaMask fix
2.0.0
- freemius.com Free/Professional plans business model shift