forked from dashed-slug/wallets
-
Notifications
You must be signed in to change notification settings - Fork 0
Bitcoin and Altcoin Wallets FREE WordPress Plugin: Turn your blog into a bank: Let your users deposit, withdraw, and transfer bitcoins and altcoins on your site.
License
Iceymann18777/wallets
Â
Â
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
Repository files navigation
=== Bitcoin and Altcoin Wallets === Contributors: dashedslug Donate link: https://flattr.com/profile/dashed-slug Tags: wallet, bitcoin, cryptocurrency, altcoin, coin, money, e-money, e-cash, deposit, withdraw, account, API Requires at least: 4.0 Tested up to: 5.7 Requires PHP: 5.6 Stable tag: 5.0.15 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Offer your users custodial cryptocurrency wallets, backed by full nodes that you control. == Description == [![RIPS CodeRisk](https://coderisk.com/wp/plugin/wallets/badge "RIPS CodeRisk")](https://coderisk.com/wp/plugin/wallets) ### Offer your users custodial cryptocurrency wallets, backed by full nodes that you control. = At a glance = [Bitcoin and Altcoin Wallets](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin) is a FREE WordPress plugin by [dashed-slug](https://dashed-slug.net). Your users can deposit, withdraw and transfer Bitcoins and other cryptocurrencies on your site. = Get the free PDF manual! = 1. Visit the dashed-slug [download area](https://dashed-slug.net/downloads). 2. Download the Bitcoin and Altcoin Wallets **bundle**. You will find the PDF file inside the ZIP download. 3. RTFM! :-) = Bitcoin and Altcoin Wallets FREE plugin overview = This is the *core plugin* that takes care of *basic accounting functionality*: - **Accounting for your users.** Data is held on tables in your MySQL database. - **A financial transaction [PHP API](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/php-api/)**: Calls that let the logged in user handle their cryptocurrencies. - **A [JSON API](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/json-api/)**: JSON requests of the above, for logged in users. - **[Simple shortcodes](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/shortcodes/)**: These let you display frontend UI elements to let logged-in users perform the following common tasks: - deposit from the blockchain, - withdraw to an external blockchain address, - transfer funds to other users (on-site transactions that bypass the blockchain), - view a history of past transactions - **Widgets** the same UI elements available via shortcodes can also be used as widgets in your theme. - Configure who has a wallet and who does what using WordPress capabilities. - Configure e-mail notifications for users. - Configure e-mail confirmations for transactions and optionally confirm transactions via the admin interface. - **Backup and restore transactions**: An **import/export** functionality to backup transactions to and from [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) files. - **Extensible architecture** - Easily install coin adapter plugins to use other cryprocurrencies besides Bitcoin. - Easily install extension plugins that talk to the PHP API to provide additional functionality such as payment gateways. = Free coin adapter extensions = You can extend this plugin to work with other coins if you install coin adapters. Coin adapters are available for free to all [subscribers at dashed-slug](https://www.dashed-slug.net/dashed-slug/subscribe/) (you do not have to pay for membership). - [CoinPayments Adapter extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/coinpayments-adapter-extension/) - hundreds of coins supported, easy to use custodial wallet - [Full Node Multi Coin Adapter extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/full-node-multi-coin-adapter-extension/) - supports most Bitcoin-like wallets (LTC, etc), must be set up manually on server - [Fiat Coin Adapter extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/fiat-coin-adapter-extension/) - for use with the Exchange extension, can accept manual entries from e.g. bank deposits - [Litecoin Adapter extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/litecoin-adapter-extension/) - use this as a reference implementation for new adapters - [Monero Coin Adapter extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/monero-coin-adapter-extension/) - supports most [CryptoNote-based coins](https://cryptonote.org/coins) (Monero, Bytecoin, DigitalNote, Aeon, Haven, etc), must be set up manually on server ...plus more! = Premium plugin extensions available today = Premium [dashed-slug](https://www.dashed-slug.net) members enjoy unlimited access to all the premium extensions to this plugin. Here are all the currently available premium app extensions to the Bitcoin and Altcoin Wallets FREE WordPress plugin: - [Exchange extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/exchange-extension/) - [Airdrop extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/airdrop-extension/) - [Faucet extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/faucet-extension/) - [ShapeShift Exchange extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/shapeshift-extension/) - [Tip the Author extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/tip-the-author-extension/) - [WooCommerce Cryptocurrency Payment Gateway extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/woocommerce-cryptocurrency-payment-gateway-extension/) - [Events Manager Cryptocurrency Payment Gateway extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/events-manager-cryptocurrency-payment-gateway-extension/) Premium members also get auto-updates for any installed extensions. [Instructions for how to set up auto-updates are here](https://www.dashed-slug.net/dashed-slug/extension-updates-activation/). **The dashed-slug.net development is driven by your feedback. Send in your feature requests today.** = follow the slime = The dashed-slug is a social slug: - Facebook: [https://www.facebook.com/dashedslug](https://www.facebook.com/dashedslug) - Twitter: [https://twitter.com/DashedSlug](https://twitter.com/DashedSlug) - RSS feed: [https://www.dashed-slug.net/category/news/feed](https://www.dashed-slug.net/category/news/feed) - SteemIt: [https://steemit.com/@dashed-slug.net](https://steemit.com/@dashed-slug.net) - Youtube channel: [https://www.youtube.com/dashedslugnet](https://www.youtube.com/dashedslugnet) - GitHub: [https://github.com/dashed-slug](https://github.com/dashed-slug) == Installation == As a new user, you should first read the glossary section of the documentation to familiarize yourself with some basic concepts. The troubleshooting section for the main plugin is also found in the documentation. The support forum for the main plugin is at [WordPress.org](https://wordpress.org/support/plugin/wallets), but please first read [this notice](https://wordpress.org/support/topic/important-please-read-before-posting-an-issue/) before posting. First, understand the tradeoff between setting up a full node or using the custodial wallets. = Full node = A **full node** is harder to setup and maintain, but gives you performance and freedom to control network fee settings. With a full node you do not rely on a third party to do transaction verification. If you are interested in connecting to your own custom coin you might be interested in setting up a full node. If you are interested in installing a **full node**, then follow the instructions in the [YouTube video](https://www.youtube.com/watch?v=_dbkKHhEzRQ) or [article](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/installation-instructions/). = Custodial wallet = **Custodial wallets** on the other hand are easier to use and provide more coins, but are somewhat slower, and you rely on a third party service. - If you are interested in installing the CoinPayments adapter: - TL;DR installation instructions are on the [coin adapter page](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/coinpayments-adapter-extension/). - More detailed step-by-step instructions are [on this page](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/installation-instructions-web-wallet/) and [in this YouTube video](https://www.youtube.com/watch?v=j7kddOZOaqc). There is a Troubleshooting section on the coin adapter's page. It lists common problems and their solutions. The support forums for the CoinPayments-backed coin adapter is [here](https://www.dashed-slug.net/forums/forum/coinpayments-net-coin-adapter-extension-support/). = Disclaimer = **By using this free plugin, you accept all responsibility for handling the account balances for all your users.** Under no circumstances is **dashed-slug.net** 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 hardening WordPress security](https://codex.wordpress.org/Hardening_WordPress) - [install a security plugin such as Wordfence](https://www.wordfence.com/) - **Enable SSL on your site** if you have not already done so. By continuing to use the Bitcoin and Altcoin Wallets plugin, you indicate that you have understood and agreed to this disclaimer. = Further reading = - [https://codex.wordpress.org/Managing_Plugins#Installing_Plugins](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins) - [https://bitcoin.org/en/full-node](https://bitcoin.org/en/full-node) - [https://en.bitcoin.it/wiki/Running_Bitcoin](https://en.bitcoin.it/wiki/Running_Bitcoin) == Frequently Asked Questions == = How can I integrate the plugin with my site? = Just insert the [shortcodes](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/shortcodes/?utm_source=wallets&utm_medium=docs&utm_campaign=faq) anywhere to create forms to let a logged in user. These are the most important shortcodes; consult the documentation for a complete list. - **deposit funds:** `[wallets_deposit]` - **withdraw funds:** `[wallets_withdraw]` - **transfer funds to other users:** `[wallets_move]` - **view their balance:** `[wallets_balance]` - **view past transactions:** `[wallets_transactions]` These shortcodes render [knockout.js](http://knockoutjs.com/)-enabled forms. Read the shortcodes documentation for more details. You can enter the same UI elements into your theme's widget area. Simply go to *Appearance* → *Widgets* and use the provided front-end widgets. You can also use a special menu item to display the user balances as part of a nav menu. See the *Frontend* section of the documentation for details. = Which coins are currently available? = Using the built-in coin adapter you can connect to a Bitcoin core full node. You can connect to any Bitcoin-like full node that you manage yourself using the *[Bitcoin and Altcoin Wallets: Full Node Multi Coin Adapter](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/full-node-multi-coin-adapter-extension/?utm_source=wallets&utm_medium=docs&utm_campaign=faq")*. This would include coins such as Litecoin, Dogecoin, etc. You can connect to any [CryptoNote-based coin](https://cryptonote.org/coins) using the *[Bitcoin and Altcoin Wallets: Monero Coin Adapter](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/monero-coin-adapter-extension/)*. This would include coins such as Monero, Bytecoin, DigitalNote, Aeon, Haven, etc. Also, if you are OK with using a web wallet service, then you can install the *[CoinPayments adapter](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/coinpayments-adapter-extension/?utm_source=wallets&utm_medium=docs&utm_campaign=faq)*. You then automatically get [all of the coins that platform supports](https://www.coinpayments.net/supported-coins). Dashed-Slug does not offer a full node adapter for ERC-20 tokens, but you can check [this third-party solution](https://www.dashed-slug.net/forums/reply/7878/?utm_source=wallets&utm_medium=docs&utm_campaign=faq). = How secure is it? = The [Bitcoin and Altcoin Wallets](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/?utm_source=wallets&utm_medium=docs&utm_campaign=faq) plugin is only as secure as your WordPress installation. Regardless of whether you choose to install this plugin, you should have already taken steps to secure your WordPress installation. At a minimum you should do the following: - Install a security plugin such as [Wordfence](https://infinitewp.com/addons/wordfence/). - Read the Codex resources on [Hardening WordPress](https://codex.wordpress.org/Hardening_WordPress). - If you are connecting to an RPC API on a different machine than that of your WordPress server over an untrusted network, make sure to tunnel your connection via `ssh` or `stunnel`. [See here](https://en.bitcoin.it/wiki/Enabling_SSL_on_original_client_daemon). = I want to run a full node but bitcoind is too resource-hungry for my server. = Running a full node requires you to set up the daemon on a VPS or other machine that you own and administer. Normally the full blockchain needs to be downloaded, so you need to make sure that your server can handle the disk and network requirements. Here's some advice on [how to run a bitcoind wallet in a low memory environment](https://bitcoin.stackexchange.com/questions/50580/how-to-run-bitcoind-in-a-low-memory-environment). If you are concerned about your available disk space, you may run [a pruned node](https://bitcoin.stackexchange.com/questions/37496/how-can-i-run-bitcoind-in-pruning-mode). The same instructions will apply to many wallets that are Bitcoin forks. If running a full node is not important for you, you can choose to install the [CoinPayments Adapter extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/coinpayments-adapter-extension/?utm_source=wallets&utm_medium=docs&utm_campaign=faq) = I am setting up a Bitcoin full node. In my .conf file I have provided the rpcuser and rpcpassword parameters. Instead, the plugin recommends the rpcauth parameter. = You should *either* use `rpcuser` and `rpcpassword` to specify login credentials to the RPC API, *or* `rpcauth`, but not both. The `rpcauth` parameter is simply a way to specify a hashed/salted version of the username and password, rather than the plaintext values. The plugin recommends a hash that contains the username and password you have provided in the coin adapter settings. It uses the algorithm from [`rpcauth.py`](https://github.com/bitcoin/bitcoin/tree/master/share/rpcauth). = Can you install/configure the plugin for me? / I am having trouble with the bitcoin.conf file = I am available to answer any specific questions, if you attempt to install the plugin and you face some problem. Unfortunately I do not undertake installation and configuration of the plugin. Once you install this software, it then needs to be maintained. If you find that you are having trouble installing the plugin or connecting it to a wallet, even with help, this is a good indication that you will find it hard to maintain it. In that case perhaps you should not be running a wallet with people's money. Remember that you have two options: stand-alone wallets or third-party wallets. Running a web wallet is considerably easier than a stand-alone wallet, as it does not require system administration skills. As a general rule, if you have trouble using Linux from the command line, you will be better off installing a third-party wallet. = I don’t like the built-in forms. Can I change them or provide my own? = 1. First of all, the forms can be styled with CSS. They have convenient HTML classes that you can use. Please see the documentation under *Frontend* → *Style the frontend UIs with CSS*. 2. If you wish to translate the form texts to a different language, see the documentation under *Localization*. 3. If you wish to change the texts to something else, you may use the `wallets_ui_text_*` WordPress filters. See the documentation uder *Frontend* → *Template Modifications* → *Modifying text*. 4. If you wish to create forms with completely different markup, you can modify the provided template files in your theme or child theme. Please see the documentation under *Frontend* → *Template Modifications* → *Modifying Markup*. Theme developers can use this to provide customized templates for this plugin. = I want to do transactions from JavaScript. I don’t want to use the provided shortcodes and their associated forms. = The provided built-in forms talk to a JSON API that is available to logged in users. If you choose to build your own front-end UI, you can do your AJAX calls directly to the JSON API. Refer to the [JSON API documentation](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/json-api/?utm_source=wallets&utm_medium=docs&utm_campaign=faq) for details. = I want to do transactions from the PHP code of my theme or plugin. = You can use the PHP API directly. Refer to the [PHP API documentation](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/php-api/?utm_source=wallets&utm_medium=docs&utm_campaign=faq) for details. Additionally, you may consult the following guide: [HOWTO: Create/update transactions from PHP](https://www.dashed-slug.net/howto-create-update-transactions-from-php/?utm_source=wallets&utm_medium=docs&utm_campaign=faq). = I want to replace an adapter with another one. = You can only have one coin adapter enabled per each coin. The plugin will warn you about this. To replace the adapter for a coin with a new adapter: 1. Deactivate the old adapter. 2. Install and configure the new adapter. 3. Enable the new adapter. 4. Got to *Wallets* → *Adapters*. Under the new adapter, select *Renew deposit addresses*. This will renew any user deposit addresses, as well as the cold storage deposit address for that coin. = Can you add XYZ coin for me? = Unfortunately no. I cannot cater to requests to add new coin adapters. I can only provide assistance to coin adapter developers by answering specific questions. If your coin belongs to one of the types [listed in this article](https://www.dashed-slug.net/howto-choose-between-available-coin-adapters/?utm_source=wallets&utm_medium=docs&utm_campaign=faq), then you will most likely be able to use your coin with the plugin. If you are interested in creating your own token, perhaps the best way is to [create it as a TurtleCoin fork](https://medium.com/@turtlecoin/altcoin-101-create-a-cryptonote-privacy-coin-clone-in-one-hour-f14bff7eb2fd), then use the available [TurtleCoin adapter extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/turtlecoin-adapter-extension/?utm_source=wallets&utm_medium=docs&utm_campaign=faq). = Can I use an exchange to facilitate cryptocurrency trading on top of this plugin? = Yes, an [Exchange extension](https://www.dashed-slug.net/cryptocurrency-exchange-plugin-wordpress/?utm_source=wallets&utm_medium=docs&utm_campaign=faq) is now available to premium dashed-slug members. The relevant blog post announcement [is here](https://www.dashed-slug.net/cryptocurrency-exchange-plugin-wordpress/?utm_source=wallets&utm_medium=docs&utm_campaign=faq). Alternatively you can use the [ShapeShift app extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/shapeshift-extension/?utm_source=wallets&utm_medium=docs&utm_campaign=faq) that lets you display a front-end UI to the [ShapeShift.io](https://shapeshift.io/) service. = I want to do a token sale. Can I use WooCommerce to do so? = It is not recommended that you use WooCommerce and the [WooCommerce payment gateway extension](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/woocommerce-cryptocurrency-payment-gateway-extension/?utm_source=wallets&utm_medium=docs&utm_campaign=faq) to sell tokens or other coins. Instead, consider using the [Exchange extension](https://www.dashed-slug.net/cryptocurrency-exchange-plugin-wordpress/?utm_source=wallets&utm_medium=docs&utm_campaign=faq) to provide a way for your users to buy or sell your token. This requires that you have a working *coin adapter* for your coin or token. = In the adapters list template, why is the Hot Wallet Balance not equal to the Sum of User Balances? = The Hot Wallet Balance and the Users Balances are not the same thing. The difference is explained in the *Glossary* section of the documentation. Reasons why the two amounts would diverge: 1. As users pay fees for transactions, their total balances decrease but the wallet balance stays the same. 2. If you have used the cold storage feature, or alternatively if you have deposited/withdrawn directly from the wallet and not via the plugin, then the balances will not match. See the *Cold Storage* section in the documentation for more. = Does the plugin support multisite network installations? = The plugin supports network installations in two modes, depending on whether the plugin is network-activated or not: If you activate the plugin individually per each site, users will maintain separate balances on each site on your network. You will find the Wallets menu under the network admin menu. The `manage_wallets` capability will be assigned to the network super-admin. In case you need to trigger the cron jobs manually, use the distinct URL given in each case. If you network activate the plugin, users will see the same balances on each site on your network. The `manage_wallets` capability must be assigned to each site's admin. If you need to trigger the cron jobs manually, use the URL given in the network admin pages. It will trigger cron jobs for all sites. If you network-activate the parent plugin, make sure to also network-activate all the app extensions and coin adapters. If you activate the plugin separately on each subsite of your network, do the same with all the app extensions and coin adapters. = My site was hacked and some funds were stolen. Can you help? = I regret that I cannot help you. As you may know, cryptocurrency transactions are non-reversible. This is why the security disclaimer is there - you, as an administrator, are solely responsible for the security of your site. There is no way I could assume responsibility for lost funds. I do not hold private keys to any of your or your users' funds. If you have evidence that your funds were stolen you should go to the police. In some situations it may be possible to track down the thieves. = I want to pay for premium membership but cannot or do not want to pay via PayPal. = You may contact me directly at [info@dashed-slug.net](mailto:info@dashed-slug.net) if you wish to pay by Bitcoin, Litecoin or Dogecoin. = I want to do changes to the plugin's code. Where can I find X function/variable/command/etc? = The plugin and its extensions are yours to edit and you are free to hack them as much as you like. However, you are generally discouraged from doing so: Firstly, I cannot provide support to modified versions of the plugin. Editing code can have unintended consequences. But more importantly, if you do any modifications to the code, any subsequent update will overwrite your changes. Therefore, it is [not recommended](https://iandunn.name/2014/01/10/the-right-way-to-customize-a-wordpress-plugin/) to simply fire away your favorite editor and hack away themes or plugins. Here's what you should do instead: If possible, use an existing hook ([action](https://developer.wordpress.org/reference/functions/add_action/) or [filter](https://developer.wordpress.org/reference/functions/add_filter/)) to modify the behavior of the plugin. Then, add your code to a [child theme](https://codex.wordpress.org/Child_Themes) or in separate plugin file (any PHP file [with the right headers](https://codex.wordpress.org/File_Header) is a valid plugin file). If you can't find a hook that allows you to do the modifications you need, contact me to discuss about your need and I might be able to add a hook to the next patch of the plugin. Additionally, if the change you intend to do is helpful to other users, I might be able to add it to the plugin code. = I am encountering some problem with the Bitcoin and Altcoin Wallets plugin = First check the *Troubleshooting* section of the documentation: Go to the [dashed-slug downloads area](https://www.dashed-slug.net/downloads/?utm_source=wallets&utm_medium=docs&utm_campaign=faq) and grab the *bundle* package of the plugin. This includes the documentation in PDF form. Scroll to the troubleshooting section and see if your problem is listed. If not, read the *Contact* section for ways in which you can ask for support. Some additional [info about how to ask for support is found here](https://wordpress.org/support/topic/important-please-read-before-posting-an-issue/). = I am encountering some problem with an Extension to the Bitcoin and Altcoin Wallets plugin = You should first have a look at the extension's page on [dashed-slug.net](https://www.dashed-slug.net/?utm_source=wallets&utm_medium=docs&utm_campaign=faq). If your solution is not found there, you can also scan the appropriate subsection of [the support forums](http://dashed-slug.net/support/?utm_source=wallets&utm_medium=docs&utm_campaign=faq). You can also post your own question. Please try to use the appropriate forum, and to post a new thread for each distinct issue. = How can I get support or submit feedback? = Please use the [support forum on WordPress.org](https://wordpress.org/support/plugin/wallets) for all issues and inquiries regarding the plugin. To get support on the provided extensions, subscribe to dashed-slug and go to the [support forums](https://www.dashed-slug.net/support/?utm_source=wallets&utm_medium=docs&utm_campaign=faq). For all other communication, please contact [info@dashed-slug.net](mailto:info@dashed-slug.net). = Are you available for custom development work? = Unfortunately I do not undertake custom projects. If you have an idea about a cool extension then please let me know about it. If it is a good fit for the project, it will be added to the backlog. When implemented, It will be available either to all users for free, or for dashed-slug premium members. == Screenshots == 1. **Adapters list** - Go to the Wallets menu to see a list of installed coin adapters and their status. 2. **Capabilities matrix** - Easily control who can do what by assigning WordPress capabilities to your user roles. 3. **Confirmation settings** - Decide whether internal and external transfers need to be verified by the user over email, an administrator via the admin panel, or both. 4. **Cron** - Control the recurring background tasks to finetune the plugin's performance. 5. **E-mails** - Use a simple templating format to edit the email notifications that users receive about their transactions. 6. **QR-Codes** - Turn on or off the display of QR-codes for deposit addresses. 7. **Bitcoin adapter settings** - Settings for communicating with the Bitcoin RPC API. If you install other coin adapters they will have similar panels with settings. 8. **Frontend - deposit** - The `[wallets_deposit]` shortcode displays a UI element that lets your users know which address they can send coins to if they wish to deposit to their account. 9. **Frontend - move** - The `[wallets_move]` shortcode displays a UI element that lets your users transfer coins to other users on the site. 10. **Frontend - withdraw** - The `[wallets_withdraw]` shortcode displays a UI element that lets your users withdraw coins from their account to an external address. 11. **Frontend - balance** - The `[wallets_balance]` shortcode displays your users' account balances. 12. **Frontend - transactions** - The `[wallets_transactions]` shortcode displays an AJAX-powered table of past transactions affecting the accounts of your users. 13. **Frontend - account value** - The `[wallets_account_value]` shortcode shows the account's total value expressed in the default fiat currency. 14. **Frontend - deposit as list** - Use `[wallets_deposit template="list"]` to display user deposit addresses as a list. 15. **Frontend - balances as list** - Use `[wallets_balance template="list"]` to display user balances as a list. 16. **Frontend - transactions as a list** - Use `[wallets_transactions template="rows"]` to display transactions as a list rather than a table. == Changelog == = 5.0.15 = - Improve: The exchange rates for coins with a dot in their symbol (e.g. `USDT.ECRC20`) are those of the coin with symbol only the characters before the dot (e.g. `USDT`). This mostly helps the CoinPayments adapter. - Fix: Bad logic in `wallets_transaction` action prevented confirmation counts from updating on withdrawal transaction notifications. Is now fixed. = 5.0.14 = - Fix: If, during a withdrawal, a coin adapter fails due to a `phpcurl` timeout, consider the withdrawal done, not failed. Fixes double-spends with Monero or TurtleCoin forks on slow wallets. - Fix: In some situations, email notifications to admins about transaction verifications were not being sent. This is now fixed. - Change: By default, withdrawals are now executed once, for extra safety. This number of retries can be changed in the cron job settings. - Fix: If a coin adapter throws on `get_block_height()`, this no longer crashes the "Coin Adapters" admin screen. = 5.0.13 = - Fix: Bug with network_active plugin in the admin screens "Deposit Addresses" and "User Balances", is now fixed. Some data from other blogs was previously not shown. - Fix: The Bitcoin RPC coin adapter now recommends that the admin enters into the `.conf` file: `rpcbind=IP` where `IP` is the address of the hot wallet, not the WordPress host. - Fix: Typo in documentation. - Add: Link to pre-release notes for the upcoming *Bitcoin and Altcoin Wallets 6.0.0*. = 5.0.12 = - Fix: Reverting change from 5.0.11. The original way to store data was to always maintain one set of tables for all the sites in a network. See release notes for details. = 5.0.11 = - Fix: When activating the plugin on a single site, on a network WordPress installation, the plugin now creates the independent DB tables correctly, for each site on the network. = 5.0.10 = - Add: PHPdoc for the `wallets_get_template_part` as per the WordPress coding style. - Add: New button in `[wallets_withdraw]` and `[wallets_move]` now allows users to easily transact their entire available balance without typing the amount. = 5.0.9 = - Fix: Issue with deposit timestamps not being inserted into some DBs is now fixed. - Fix: Issue with `[wallets_transactions template="rows"]` introduced in version `5.0.6` is now fixed. - Fix: Previously issuing an internal transfer (move) via the PHP API with `skip_confirm=true` would not trigger email notifications, is now fixed. = 5.0.8 = - Fix: Maximum number of symbol characters changed from 8 to 10. Allows for `USDT.ERC20`. - Improve: Some DB columns now use the latin1_bin character set to save space and help with DB indexing. Affects new installs. - Add: The debug tab in the admin dashboard now reports the type of Object Cache that is currently active. - Improve: In the coin adapters list, the withdrawal lock icon is now accompanied by text. This solves issues where the combination of font and screen antialiasing makes the state of the padlock difficult to read. = 5.0.7 = - Fix: Issue with shortcode `[wallets_deposit template="list"]`, introduced in `5.0.6` is now fixed. - Fix: Dynamic shortcodes `[wallets_deposit]` and `[wallets_withdraw]` apply the HTML classes `crypto-coin` and `fiat-coin` according to the selected coin in those UIs, not the page-wide selected coin, which could be a custom coin (Fiat Coin adapter extension). = 5.0.6 = - Add: Many elements in the frontend templates now have the HTML classes `crypto-coin` and `fiat-coin` to allow differential styling of fiat and crypto coin information. - Fix: When full node adapter RPC settings are saved, the cached value of the adapter status is evicted, forcing an immediate refresh of the adapter status in the admin screens. - Fix: Already minified JQuery UI CSS is no longer re-minified. - Add: Several new shortcode templates and shortcodes allow for displaying "textonly" values. e.g. `[wallets_api_key template="textonly"]` displays the user's API key in a `<span>` tag that can be inserted in text paragraphs. - Fix: Some HTML classes that were previously doubled are now fixed, e.g. `deposit-deposit`, etc. = 5.0.5 = - Change: In confirmation/notification templates, `###USER_LOGIN###`/`###OTHER_USER_LOGIN###` is no longer described as "account nickname", since it is the `user_login` and not the `nickname`. - Add: In confirmation/notification templates,` ###USER_NICKNAME###`/`###OTHER_USER_NICKNAME###` is introduced as a variable that is substituted for the user's nickname. - Change: Confirmation/notification templates now use the variable `###EXTRA_DESCRIPTION###` to accurately display the name of the extra description (such as Payment ID, Memo, etc.) - Add: New column in coin adapters list indicates max block height up to which the wallet is synced for compatible coin adapters. - Fix: Coingecko exchange rates are now loaded with asynchronous buffering, to prevent high memory usage. - Add: New TurtleCoin adapter is showcased in the "About" admin screen. = 5.0.4 = - Fix: In `[wallets_balance template="static"]` the symbol next to the equivalent (fiat) amount was incorrect, is now fixed. - Add: Variable substitutions in email templates now allow for new variables: `###USER_LOGIN###`, `###OTHER_USER_LOGIN###`, `###USER_NICENAME###`, `###OTHER_USER_NICENAME###`, `###DISPLAY_NAME###`, `###OTHER_DISPLAY_NAME###` - Change: The variable substitution `###USER_ACCOUNT###` is now deprecated. New email templates use the user's display name by default (`###DISPLAY_NAME###`). = 5.0.3 = - Fix: Exchange rates subsystem no longer attempts to access the old public CoinMarketCap API that has been recently discontinued. An API key is now required, no longer optional. - Improve: The efficiency of CoinMarketCap API queries has been improved, both in terms of performance, and API credits used. = 5.0.2 = - Improve: More JavaScript assets are not loaded if not needed in current front-end page. This also prevents unneeded JSON-API hits when not logged in. - Add: Map files for minified `knockout-validation.js` and `sprintf.js` assets are now added. - Add: Instruct users to use square brackets when entering IPv6 IP addresses. - Fix: Undefined warning in dashboard prevented TX count totals from being shown, is now fixed. - Fix: Warning shown in logs when stats on previous cron run were not available, is now fixed. - Fix: When plugin is NOT network-activated on a multisite installation, the cron job trigger URL now displays the correct sub-site domain. - Fix: Transaction summaries dashboard widget, introduced in version `5.0.0`, is now shown in network admin dashboard if plugin is network-activated. - Change: Upgraded included library `knockout.js` from `3.5.0-rc2` to `3.5.1`. - Change: Upgraded included library `knockout.validation.js` from `2.0.3` to `2.0.4`. - Change: Upgraded included library `bs58check.js` from `2.1.2` to latest commit. - Change: When plugin is network-activated, the Admin Transactions list screen displays domains without a trailing slash. = 5.0.1 = - Add: The coin adapters admin page now includes a helpful link to a page explaining the concept and showcasing the available coin adapters. - Improve: The template loader introduced in `5.0.0` is improved to allow use by other extensions. - Change: The JavaScript code that detects HTML comments that have been stripped by minifiers now outputs to the browser console, not alert box. - Fix: When adding a deposit UI via the Widgets admin screen, the default size for the QR code is no longer 10 pixels. It is now blank, which sets the size automatically to match the container. - Fix: Incompatibility with *Two Factor Authentication* plugin that was originally fixed in `4.3.1` regressed in version `5.0.0` but is now fixed again. - Fix: Remove unminified copy of jQuery UI stylesheet. - Fix: A CSS issue previously made it impossible to remove wallet widgets from the admin widget area, on desktop screens. This is now fixed. = 5.0.0 = - Improve: The UIs are now more easily overridable by themes. A template loader can load markup for these UIs from a theme or child theme, falling back to the plugin's templates if needed. - Change: The `wallets_views_dir` attribute and filter are removed. Use theme templates instead to provide your custom markup. - Add: The `[wallets_withdraw]` shortcode can now scan addresses from QR code in devices that support it. - Add: The opacity of UIs while loading data over AJAX can now be controlled in Customizer. - Add: The border radius of UIs (corner roundness) can now be controlled in Customizer. - Add: The colors used in `[wallets_transactions]` shortcodes to signify transaction status can now be changed in Customizer. - Add: Admin dashboard widget now shows multiple tabs with statistics on recent transactions. - Add: When the plugin is network-active across a multisite install, the admin transactions list shows extra column *Site*. - Improve: All operations that modify transaction data now also refresh the time on the `updated_time` column. - Improve: Better integration with *Simple History* plugin. Transactions are now logged with clearer information, including links to user profiles and block explorers. - Improve: The cold storage admin screens now also display the amount of funds locked in unaccepted & pending transactions. - Add: The third-party service `coincap.io` is now available as an *Exchange Rates* provider. - Improve: In admin transactions list screen, amounts are now in fixed-font and align vertically for easier visual inspection. - Improve: For Bitcoin-like adapters, the RPC secret is not shown in the markup, but bullets are shown instead. Improves security. - Add: The `[wallets_api_key]` shortcode can now be used as a widget. - Fix: Adapters for fiat coins are no longer shown in the cold storage section, as these adapters are not backed by wallets. - Improve: The Bitcoin address validator used in `[wallets_withdraw]` now correctly allows Bitcoin testnet addresses. Useful for testing using testnet. - Improve: When creating database tables for the first time, the WordPress default is used for character collation and encoding. - Fix: When Bittrex is used as an *Exchange Rates* provider, if the last price is not available, the plugin falls back to using the average of the Bid/Ask values, or one of the two values if only one is available. Helps determine exchange rates in low liquidity markets. - Improve: In the `[wallets_balance template="list"]` UI, the text "Show zero balances" is clickable and toggles the checkbox. Improves usability. - Improve: The plugin will now warn the user in the frontend if HTML comments have been minified, as this is a common pitfall for new users. - Improve: In the debug tab of the admin dashboard, memory values are now shown with thousand separators and units (bytes) for easier visual inspection. - Change: Bitcoin-like adapters now rescan the entire wallet's transaction list from the start weekly rather than monthly. This is a fail-safe mechanism that detects transactions that would otherwise slip through undetected if curl calls from `walletnotify` were to fail for any reason. - Fix: Issue in email notifications for deposits, where the fees would not be shown correctly, is now fixed. - Add: The cron-related debug information from the admin dashboard is now also shown in the admin cron job settings screen for easier reference. - Change: *Tradesatoshi* is removed from list of *Exchange Rate providers* as the service is shut down. - Change: JavaScript assets are now loaded only in pages where they are needed. Improves frontend performance. - Fix: Issue with writing out CSVs when exporting transactions is now fixed. - Improve: When manually adding a transaction using the `wallets_transactions` action, it is now possible to specify an initial transaction status for withdrawals. - Fix: In admin adapters screen, sorting by pending withdrawals no longer triggers a warning in the debug logs. - Fix: When user requests a new deposit address via the `[wallets_deposit]` shortcode, the other deposit addresses are now marked as *old*, and only the new one is *current*. - Add: The `[wallets_balance template="list"]` UI now includes a column for *unavailable balance*, i.e. balance that is locked in pending transactions or trades. - Fix: The plugin now correctly calculates amount of wallet balance that is unavailable due to staking in more wallets, including PotCoin and Dash. - Change: The plugin now warns the admin if the available balance is less than 5% of the total balance (previously the threshold was 1%). - Fix: Some error messages that get printed only to the debug log are no longer translatable. - Improve: Reduce number of calls to `is_plugin_active_for_network()`. - Fix: Some HTML markup errors in sidebar widgets are now fixed. = 4.4.8 = - Fix: The capability repair cron job, introduced in `4.4.4` is improved to be more fail-safe. If no admin user has `manage_wallets`, it now assigns `manage_wallets` to all admins and to the Administrator role. Prevents admins from being locked out. - Fix: CoinMarketCap signup link (for API access) is now updated. - Improve: Admin menu icon follows style guide more closely (is a data-uri encoded SVG). - Fix: The JSON-API requests are now excluded from the service worker's cache if the *SuperPWA* plugin is installed. = 4.4.7 = - Fix: Workaround that restores compatibility with the Bitcoin ABC full node wallet (Bitcoin Cash), due to improperly deprecated accounts feature in that wallet (github issue #360). = 4.4.6 = - Add: If a withdrawal cannot proceed due to low hot wallet balance, the withdrawal remains in pending state (would previously fail), and the site's admin or admins receive emails about this. - Add: Italian translations for frontend, submitted by *Fabio Perri*, webnetsolving@gmail.com, https://www.transifex.com/user/profile/Fabio.Perri/ - Fix: When reloading the User balances page, the ordering is now predictable and stays the same. - Add: User balances can now be sorted by balance and coin. - Fix: Affiliate link to trezor was broken in cold storage pages, now fixed. = 4.4.5 = - Fix: Removed Novaexchange and Cryptopia from exchange rates providers since their APIs are now unavailable. - Improve: Attempt to disable PHP max execution time while importing transactions from csv files. Can help with importing very large files. - Add: The `[wallets_move]` shortcode will now auto-suggest usernames of people that the current user has had internal transfers with before. - Improve: Reduce HTTP timeout when retrieving exchange rates. = 4.4.4 = - Fix: Several settings can now be saved on network-active installation, previously could not be saved. - Add: If no users in the Administrator role have the `manage_wallets` capability, this capability is assigned to the Administrator role. - Add: It is now allowed again to modify the capabilities of the Administrator user role via the *Wallets* → *Capabilities* screen. = 4.4.3 = - Fix: Issue where moment.js library was not loaded in 4.4.2 is now fixed. - Fix: When cron job selects old transactions to cancel, it now takes the local timezone into account. - Fix: When cron job selects old transactions to autoconfirm, it now takes the local timezone into account. - Fix: When cron job selects old transactions to aggregate, it now takes the local timezone into account. = 4.4.2 = - Improve: Code quality improved throughout, guided by a CodeRisk audit. - Improve: Included knockout.js library is updated to `v3.5.0` because it's needed for the Exchange extension. - Fix: Included moment.js library is updated to `2.24.0`. = 4.4.1 = - Fix: Issue introduced in `4.4.0` that prevented initiating new transactions in most cases, is now fixed. = 4.4.0 = - Add: It is now possible to display amount equivalencies in fiat currencies in confirmation/notification emails. - Improve: Variable substitutions are now more uniform between confirmations and notifications. - Add: The recommended `.conf` settings for Bitcoin core take into account the latest changes in 18.0.0 where `rpcbind` and `rpcauth` are mandatory. - Add: New cron job setting "Allow running on AJAX requests". Is on by default, can be turned off (e.g. if it slows down WooCommerce too much). - Fix: Use `esc_textarea()` where appropriate. = 4.3.5 = - Fix: The user-confirmation link can no longer resurrect transactions that have been cancelled by an admin. Only unconfirmed transactions can now be confirmed via the confirmation link. - Add: New option to send a Bcc copy of *all* emails to the admin(s). All users with the `manage_wallets` capability are notified if the option is on. = 4.3.4 = - Fix: On cron job runs, transactions on Bitcoin-like RPC API wallets are now scanned more efficiently. - Add: The cron job tasks that scan for transactions on Bitcoin-like RPC API wallets now report a lot more detail when verbose debugging is turned on. = 4.3.3 = - Fix: The frontend now checks to see if the selected coin exists before rendering its icon in more view templates. Avoids some JavaScript errors. - Fix: In frontend UIs, when transaction amount minus fees is negative, "insufficient balance was shown". Added new validation error message in this case. - Fix: In frontend UIs, validation error for less than minimum withdrawal amount is now given higher priority. = 4.3.2 = - Add: The shortcode `[wallets_balance template="list"]` now includes a "Show zero balances" checkbox. - Fix: The frontend now checks to see if the selected coin exists before rendering its icon. This avoids a JavaScript error. - Fix: Undefined variable PHP error in multi-site cron prevented logging. - Fix: All options in network-active installations under *Wallets* → *Confirms* are now being saved correctly. = 4.3.1 = - Fix: The jquery-qrcode.js library is only loaded in screens where the `[wallets_deposit]` shortcode is shown, and only if QR Codes are enabled. - Fix: If a different jquery-qrcode.js library is already loaded, the plugin will use that and not load its own copy. Helps with compatibility with `two-factor-authentication` plugin. - Fix: Add some guard clauses so that warnings are not printed out to the logs. - Fix: When an admin received notification about a pending withdrawal with no tags, the tags are no longer shown as `###TAGS###` but the string `n/a/` is shown in the email. = 4.3.0 = - Add: Admin can now set the site-wide default coin for frontend UI screens. - Add: Admin can now set a page-specific or post-specific default coin for frontend UI screens. - Fix: Fixed a bug in the `[wallets_deposit template="static" symbol="XYZ"]` form of the deposit shortcodes, where the qr code shown was that of the current coin, not the coin specified by the "symbol" attribute. = 4.2.2 = - Add: New button in *Exchange Rates* admin page clear any stale exchange rates and forces the plugin to download new data. - Add: The result of `wp_using_ext_object_cache()` is now reported in the debug information shown in the admin dashboard. - Add: Calling `do_cron` via the JSON API now also forces expired transients to be deleted from the DB (the `delete_expired_transients` WordPress action is fired). - Change: The plugin now loads the frontend libraries `sprintf.js` and `moment.js` always. This helps the Exchange extension display public market data even if a user is not logged in. = 4.2.1 = - Improve: When calling version 3 of the JSON API using an API key, the `__wallets_user_id` GET argument no longer needs to be specified. It is inferred from the value of the secret key. = 4.2.0 = - Add: New capability `access_wallets_api` controls whether a user can access the JSON API using key-based authentication. - Add: Users with `access_wallets_api` are shown their API key in their user profile admin screen. - Add: The `get_nonces` JSON API endpoint returns the API key when accessed via browser (with cookie-based authentication). - Add: The `do_reset_apikey` JSON API endpoint can be used to reset the API key to a new random value. - Add: The JSON API can now be accessed with an API key. Details in the accompanying documentation. - Add: The `[wallets_api_key]` shortcode shows the API key to the user and allows the key to be reset. - Change: Withdrawals with the RPC-based coin adapters no longer fail in some edge cases where wallets are picky about the amount format ("Invalid amount error"). = 4.1.0 = - Add: Control the frontend UI styling using the WordPress Customizer. - Fix: The JavaScript library `jquery-qrcode` is only loaded if the user is logged in and has the capability `has_wallets`. - Change: Now using the latest version `1.1.1` of the JavaScript library `sprintf.js`. = 4.0.6 = - Add: When unable to render a shortcode due to missing permissions or other problems, the error message displayed is now configurable via a WordPress filter. - Fix: The adapters list admin table no longer writes a warning to the logs if the total hot wallet balance is unavailable due to a bad network connection. - Add: The QR code in the `[wallets_deposit]` shortcode can contain a URI-style representation of the deposit address plus any optional payment id, if the coin adapter permits it. - Fix: Important bug with storing exchange rates from fixer.io to the DB, previously caused invalid exchange rates, now fixed. - Fix: The `[wallets_rates template="static"]` shortcode no longer displays an exchange rate of 1, between the selected fiat currency and itself. - Fix: Coin icons are now displayed in frontend UIs with the same size even if the files have different dimensions. = 4.0.5 = - Fix: Issue introduced in `4.0.0` that caused internal transactions to stay in pending state and not fail if there was not enough available balance. - Fix: Bug that prevented BuddyPress notifications from being sent. - Fix: Issue that caused a warning about cron jobs not running to show, if the admin visited the admin screens at the exact moment the cron job was running. - Add: Official dashed-slug twitter feed added to the *About* seection of the admin screens. = 4.0.4 = - Fix: Bug introduced in `4.0.3` that prevented admin from enabling `sweetalert.js` modal dialogs now fixed. - Add: The `[wallets_rates]` shortcode now takes an optional argument "decimals" to control how many decimal digits to display exchange rates with. - Improve: Code that parses fixer.io exchange rates improved. Will now consider the site-wide default fiat currency when requesting prices. - Fix: Parser for cryptocompare list of currencies is now safer (produces less warnings). - Fix: Parser for cryptocompare currency prices is now safer (produces less warnings). - Fix: Several PHPdoc errors and other minor bugs fixed using static code analysis with phan. - Change: Social links to Google+ page are now removed, since the platform is to be decommissioned. = 4.0.3 = - Add: Use sweetalert.js for modal dialogs. This can be turned off to fall back to standard JavaScript alerts. - Fix: When requesting specific coins by name from CoinGecko or CoinMarketCap, URL-encode the names to avoid issues with special characters. - Improve: Cron jobs prioritized so that critical tasks run first. - Fix: The `[wallets_deposit]` shortcode no longer displays fiat currency deposit reference codes. - Fix: The `[wallets_withdraw]` shortcode no longer displays fiat currency information and does not interfere with shortcodes intended for fiat currencies. - Fix: The Exchange rates data stored in the DB is now validated to make sure it is of type array. Addresses previous issue where debug view outputs were saved as string. - Fix: When withdrawing using a JSON-RPC wallet API, do not convert the amount to float. This solves precision/rounding errors that previously would raise an exception. = 4.0.2 = - Add: Verbosity option introduced in `4.0.1` now also writes memory debug info while processing email notifications and while executing transactions. - Fix: Fixed bug introduced in `4.0.0` in Exchange Rates admin screen where the "Save Changes" button would also save the debug view contents in the DB as options. = 4.0.1 = - Fix: Exchange rate provider responses do not get cached unless necessary. Reduces load on transient storage (DB). - Fix: Never run cron job more than once per request. - Add: Verbosity option controls whether memory debug info is written out to the WordPress log while running cron obs. - Add: Verbosity option controls whether memory debug info is written out to the WordPress log while retrieving exchange rate data. - Add: Display cron-job related memory debug info in the dashboard. - Add: Display PHP `memory_limit` ini setting and `WP_MEMORY_LIMIT` constant in dashboard. = 4.0.0 = - Add: New PHP API filter `wallets_api_available_balance` now retrieves the balance of a user/coin pair that is not currently reserved in pending transactions or exchange trades. - Add: When placing a new `move` or `withdraw` transaction, the new *available balance* is checked, rather than the total account balance. - Add: When executing a pending `move` or `withdraw` transaction, the new *available balance* is checked, rather than the total account balance. - Add: The `[wallets_balance]` shortcode now also displays the *available balance* if it is different from the *total balance*. - Add: The *user profile* section now displays both the total and the available balance for each coin that a user holds. - Add: The *User Balances* admin screen now displays both the total and the available balance for each coin that a user holds. - Change: Always show coin selection dropdown in frontend, even if only one coin is available. - Change: In `[wallets_withdraw]` UI only show coins that are not known to be fiat. For fiat withdrawals, use `[wallets_fiat_withdraw]` in the upcoming release of the Fiat Coin Adapter. - Change: CoinMarketCap exchange rates provider can now use an API key to conform with latest changes to the 3rd party API. Only retrieves information about enabled coins, thus reducing bandwidth requirements and improving performance. Falls back to retrieving exchange rates for top 100 coins if no API key is provided. - Improve: Coingecko exchange rates provider can now retrieve information about only enabled coins, thus reducing bandwidth requirements and improving performance. - Improve: In Exchange Rates admin page, the debug views contents can now be easily copied to the clipboard. - Improve: In cases where a theme has loaded an old version of knockout.js, the plugin does not strictly require the `ko.tasks` object. (However it is recommended that the latest version of knockout is used with the plugin.) - Change: When placing a new `move` or `withdraw` transaction, the plugin no longer uses MySQL table locks as these are not strictly necessary. The hazard for race conditions is at transaction execution, not placement. - Fix: `do_move` JSON API now accepts optional `__wallets_move_tags` argument again. - Improve: `do_move` and `do_withdraw` JSON APIs no longer write to logs if the *comment* optional argument is not specified. - Improve: `do_move` and `do_withdraw` JSON APIs check explicitly if required arguments are passed. - Change: Cron job is now using custom-built semaphore locks instead of relying on MySQL table locks when executing `move` and `withdraw` transactions. This allows for extensions to hook into the new filter `wallets_api_available_balance` and do DB queries while the protected code is running. - Improve: Compacted some CSS rules. = 3.9.4 = - Add: Can now force the plugin to generate deposit addresses for all users in advance. - Improve: When creating DB tables for the first time, the MySQL DB is explicitly instructed to use InnoDB. - Add: Warn admins if the DB tables are using a non-transactional DB storage engine, such as MyISAM. - Add: Warn admins if *W3 Total Cache* is misconfigured so that it can interfere with the JSON API. - Add: Warn admins if *WP Super Cache* is misconfigured so that it can interfere with the JSON API. - Fix: In the frontend withdrawal form UI, if no amount is entered, there is no longer a validation error shown. - Improve: If for some reason a wallet responds to a `getnewaddress` RPC command with an empty string (no address), this error is now logged. - Fix: Several errors related to email sending failures are now logged. - Fix: In deposit notification emails, the deposited amount is no longer shown as `0`. - Improve: If the notification API receives an invalid TXID or block hash, the TXID or hash is logged. = 3.9.3 = - Add: When performing a cold storage withdrawal, it is now possible to specify an extra destination argument such as Payment ID, Memo, etc. - Fix: When enabling an RPC coin adapter and unlocking it with a passphrase at the same time, the plugin no longer crashes. - Fix: Frontend coin images now have alt texts to conform to HTML standard. - Fix: After an internal transfer or a withdrawal is successfully submitted, the form UI no longer shows a validation error on the emptied amount field. - Fix: In the frontend internal transfers or withdrawals forms, there is now a validation error if the total amount to be transacted is less than what would need to be paid in fees. - Fix: The frontend error message "No currencies are currently enabled." is no longer momentarily shown before the currencies are loaded, but only if the information is loaded and there are actually no coins. - Fix: The *Disable transients (debug)* setting can now be updated in multisite installs. - Fix: The `wallets_coin_icon_url_SYMBOL` filters now affect coin icons as they are shown in menu items, static frontend UIs and in the cold storage admin section. - Fix: The notification actions `wallets_withdraw` and `wallets_move_*` now report the latest status and retries count for all transactions; previously the reported status was "pending". = 3.9.2 = - Fix: Eliminate a JS error caused when a theme has already loaded an old version of knockout.js. - Add: Show an error message in frontend UIs when there are no coin adapters online. - Fix: Can now cancel withdrawals again from the admin interface (bug was introduced in 3.9.0). - Fix: Eliminated some PHP warnings in the notifications mechanism. - Fix: The instructions for resolving connectivity to an RPC wallet now recommend using the latest JSON API version in the notification URLs. - Add: New debug option "transients broken" can now circumvent the use of transients throughout the plugin, at the cost of decreased performance. = 3.9.1 = - Fix: When activating/deactivating exchange rates providers, all rates are now deleted so that no stale rates remain in DB. - Improve: Coin adapters are now checked somewhat less frequently for a "responding" state to improve performance. - Improve: Remove some unneeded CSS from reload button. - Add: Link to EasyCron service. - Fix: Added guard clause to cron job that checks RPC wallets for past transactions. No longer logs a warning if no transactions are found. = 3.9.0 = - Add: New static templates for the following shortcodes: <code>[wallets_deposit]</code>, <code>[wallets_balance]</code>, <code>[wallets_transactions]</code>, <code>[wallets_account_value]</code>, <code>[wallets_rates]</code>. - Add: Static template for <code>[wallets_transactions]</code> can now filter displayed transactions based on categories and/or tags. - Improve: Widget form of the UIs is now refactored and improved. User input is accepted to reflect additions in allowed shortcode attributes. - Add: If a shortcode cannot be rendered due to some error, a meaningful error message is shown in the frontend. - Add: Admin table listing user balances. - Add: Admin table listing user deposit addresses. - Add: New PHP API endpoint to cancel transactions. - Add: New PHP API endpoint to retry cancelled transactions. - Fix: Custom menu item for displaying balances did not render correctly in twenty-nineteen theme, now fixed. - Add: Can now disable automatic cron job triggering, by setting "Run every" to "(never)". - Fix: Filter <code>wallets_api_deposit_address</code> now correctly checks the capabilities of the user when called with a user argument (other than current user). - Improve: Performance of admin transaction list rendering improved. - Improve: Performance improvements in exchange rates code, when the price of a coin in the default fiat currency is not the same as that provided by the exchange rate provider service. = 3.8.0 = - Improve: Massively simplified cron mechanism. All cron tasks are unified and they all run on shutdown. - Improve: Plugin bails out of executing cron tasks if PHP execution time is nearing <code>max_execution_time</code> minus 5 seconds. - Improve: Cron tasks can now be triggered via a custom URL. Useful in conjunction with <code>WP_DISABLE_CRON</code>. - Change: Cron tasks do not auto-trigger if trigerring is disabled. Instead, a warning is displayed. - Improve: On a network-activated multisite installation with too many blogs, the plugin will only process tasks for a few blogs on each run. - Fix: When an admin cancels a deposit, such as a fiat coin adapter deposit, the deposit can now be re-executed if the admin retries the deposit. - Fix: In deposit notifications/emails, the amount displayed is the net amount deposited (i.e. no longer includes the transaction fee.) - Fix: In the coin adapters list, the displayed total amount of fees paid no longer includes deposit fees, since these are external to the site's wallet. - Fix: On a network-activated multisite installation, the coin adapter setting "Min withdraw" is now saved. - Add: When a user is deleted by an admin, their transactions and deposit addresses are now deleted. Any user balance is deallocated and returns to the site. - Fix: Guard clause protects against warning for missing optional `qrsize` argument to the deposit widget. - Fix: The coin icon is now shown in the coin adapter settings admin page. - Improve: All amounts in the coin adapters list admin page are shown as dashes if equal to zero, to improve visibility of non-zero values. - Fix: When current user does not have the <code>has_wallets</code> capability, the balances menu item is not rendered. - Improve: Failed withdrawal notifications/emails now include any error messages originating from the wallet to aid in troubleshooting. - Change: Deposit QR codes are no longer rendered for fiat coins. The deposit codes are only shown as text. = 3.7.4 = - Improve: JavaScript var `walletsUserData.recommendApiVersion` can be used by extensions to access latest version of JSON API. - Add: Deposits can now be cancelled. - Add: Cron job can now auto-cancel transactions that have remained in an unconfirmed or pending state for too long (default: cancel after 24 hours). = 3.7.3 = - Fix: The `wallets_api_balance` filter now counts unconfirmed and pending withdrawals towards a user's current balance. - Change: Argument "confirmed" of the `wallets_api_balance` filter is removed. The filter always returns confirmed balances. - Change: When first activating the plugin, the built-in Bitcoin node adapter is disabled by default. - Fix: The `[wallets_rates]` shortcode no longer displays identity rates of the form XYZ = 1 XYZ. - Improve: Better application of a fix for themes that improperly use the Select2 library. = 3.7.2 = - Add: New option in cron settings, allows cron to only run if `HTTP_REFERER` is not set (i.e. if triggered from curl via a system cron). This can help with frontend performance. - Change: Exchange rates view (`[wallets_rates]`) now displays exchange rates with 4 decimals (previously 2). - Change: Maximum amount of cron batch size is now 1000. Comes with a warning about setting the value too high. - Add: Source maps for the minified versions of JavaScript code are now added and are available to browser debugging consoles. - Fix: Image for reload button now works even if the site home is in a subdirectory of the domain. - Fix: Footer in admin screens no longer blocks click events on elements that appear in the same row as the footer's panel. - Fix: Added timeouts in all AJAX calls; this should prevent `net::ERR_NETWORK_IO_SUSPENDED` errors. - Improve: Safer code in dashboard widget while detecting other installed dashed-slug extensions. = 3.7.1 = - Add: `[wallets_move]` and `[wallets_withdraw]` shortcodes now also display amount to be paid after fees. - Fix: Problem where QR code was not rendered on first page load, introduced in `3.7.0`. - Fix: Unicode glyph on reload button introduced in `3.7.0` was not visible on some mobile devices, is now an image. - Add: New filters introduced in `3.7.0` on the output of the `get_coins_info` JSON API now also affect older versions of the API. = 3.7.0 = - Change: JSON API latest version is now `3`. To use previous versions, first enabled legacy APIs in the plugin's settings. - Add: Users can now use the `[wallets_deposit]` UI to request a new deposit address. Old addresses are retained. - Add: New "Reload data from server" button on all UIs requests a fresh copy of displayed data from the server immediately. - Change: `get_coins_info` is no longer cached at the browser level. This allows for manual reload of server data. - Change: `get_coins_info` no longer returns the superfluous `deposit_address_qrcode_uri` field. The deposit address is used in QR codes directly. This saves on transmitted data. - Change: The Coin Adapter class no longer provides an adapter setting for minconf. This is done at the RPC Coin Adapter level. This has no effect to the end user at the moment. - Add: New filters provide ability to override coin name and coin icon URL as reported by `get_coins_info`. Examples in the accompanying documentation. = 3.6.7 = Fix: Important bug in balance calculation, introduced in `3.6.5` regarding withdrawal fees. All fees are now being properly accounted for. = 3.6.6 = - Fix: Change in DB schema allows installation on very old MySQL databases that don't allow over 1000 characters in index. (Error 1071: Specified key was too long) - Fix: Do not attempt to unlock RPC wallets with passphrase if coin adapter is disabled. = 3.6.5 = - Fix: Better balance algo, includes all trading fees in calculation. - Add: Deposits can now have comments (needed for upcoming fiat coin adapter). - Improve: moment.js localization now matches WordPress locale (affects all time translations, including faucet). - Improve: In *Exchange Rates* admin menu, exchange rates in debug views are sorted alphabetically, allowing easier inspection. - Improve: If plugin recieves notification about an invalid TXID or blockid, handles error silently, writing a warning to the logs. - Add: In user profiles screen, deposit addresses also display extra info such as Payment ID, Memo, etc. - Fix: In user profiles screen, deposit addresses are no longer shown as links if no explorer URI is available. = 3.6.4 = - Fix: Fees on deposits coming from the CoinPayments adapter were not subtracted from user balances. (Important!) - Fix: When the recipient of an internal transaction gets an email notification, the email now displays a positive amount, minus any fees paid by the sender. - Improve: DB table string columns are shorter. This allows for default Unicode collation to be used without hitting a limit on index size in MySQL < 5.6 - Add: New introductory YouTube video added to readme file. = 3.6.3 = - Add: New filter `wallets_user_data` allows for adding data to JavaScript global variable `walletsUserData`. - Improve: Move and withdraw UIs are now based on an HTML table layout. - Improve: AJAX calls no longer pass unneeded path info to the request URI. - Improve: Safer loading of transaction UI fragments file (does not depend on current directory). - Improve: Updated to latest versions of all 3rd party libraries: `bs58check` 2.1.2, `moment.js` 2.22.2, latest `jquery-qrcode`. - Improve: Dismissible notices in the admin screens now respect the `DISABLE_NAG_NOTICES` constant. - Fix: Can now set a minimum confirmation count in coin adapter settings when plugin is network-activated on a multisite install. - Fix: All DB queries are now prepended by a flush of the DB object. Error reporting can no longer report stale DB errors from previous queries. - Fix: Some minor HTML validation errors now fixed. - Fix: Coin icons in dropdowns and menu items now all display in the same size. = 3.6.2 = - Fix: Invalid HTML in `[wallets_balance template="list"]` was causing problems with page layout. - Add: `[wallets_deposit]` shortcode accepts optional argument `qrsize` to set dimension of QR code in pixels. e.g. `[wallets_deposit qrsize="120"]` - Improve: `[wallets_transactions template="default"]` is now rendered more efficiently thanks to `<!-- ko if -->` statements. = 3.6.1 = - Improve: Import/export CSV function now lets an admin to export transactions and reimport them to a new system where the users have different user IDs. Users are represented by emails in the CSV file. - Improve: Debug info in Dashboard screen is only shown to users with the `manage_wallets` or `activate_plugins` capability (i.e. admins). - Fix: Typo in `[wallets_transactions]` shortcode where the "wa" string was erroneously included in the markup. = 3.6.0 = - Add: The `default` template of the `[wallets_transactions]` shortcode now accepts a list of columns as an optional argument. - Add: New shortcode `[wallets_rates]` displays exchange rates of online coins. - Add: New shortcode `[wallets_total_balances]` displays the total sum of user balances per each coin. - Add: When a transaction fails due to an error, the admin or admins can be notified by email. - Add: When a transaction requires admin confirmation, the admin or admins can be notified by email. - Add: When a user is about to receive an internal transaction that is not yet approved, the recipient user can be notified by email. - Add: Administrator can set all unconfirmed transactions to be auto-confirmed after a specified number of days. - Add: *Transactions* page in admin screens now has a new column, amount without fees. - Improve: In *Transactions* page, long tx comments are now displayed with ellipsis to save screen space. Hover with the mouse to see entire text. - Add: The *Bitcoin and Altcoin Wallets* section in a user's profile screen can be hidden. A new capability, `view_wallets_profile` controls this. - Add: Adapters list admin screen now has a new column that shows total amount of fees paid to the site wallet. - Fix: Cryptocompare.com exchange rates provider no longer generates an invalid API call when no coins are enabled. = 3.5.6 = - Improve: Adapters list now warns user if more than 99% of hot wallet coins are not available, such as when staking entire balance. - Improve: In RPC (full node) coin adapters, the calls `get_balance()` and `get_unavailable_balance()` are cached for performance. - Improve: In RPC (full node) coin adapters, performance of the discovery of past TXIDs via `listtransactions` is vastly improved. - Improve: In RPC (full node) coin adapters, discovery of past TXIDs no longer uses `listreceivedbyaddress` or `listunspent` as they are redundant. - Change: DB schema now allows coin symbols with up to 8 characters (was 5). - Fix: JSON API calls now allow coin symbols that contain digits (0-9). - Add: Balances list view (`[wallets_balance view="list"]`) now also displays fiat amounts if possible. - Fix: When a transaction is performed without a comment attached, the comment is now shown as 'n/a' in notifications. - Add: Suggestion in admin screens footer for rating the plugin on WordPress.org. = 3.5.5 = - Add: User can explicitly select default fiat currency to be "none" or "site default". - Add: Admin can explicitly select default fiat currency to be "none". - Add: If effective fiat currency is "none", make sure that no fiat amounts are displayed. - Fix: QR code in the `[wallets_deposit]` shortcode no longer exceeds boundaries if drawing area is small. - Fix: Notification messages no longer display coin symbols twice next to transacted amounts. - Add: Plugin "About" section and `readme.txt` now know about the Exchange extension. = 3.5.4 = - Add: Exchange rates provider for coingecko.com - Add: Coin adapters list displays wallet balance unavailable for withdrawal next to available wallet balance. - Improve: Successful cold storage withdrawals now report TXID. Message includes links for address and TXID to relevant blockexplorer. - Fix: Bug in checkbox under full node coin adapter settings about skipping rewards generated from mining (introduced in 3.5.3). = 3.5.3 = - Add: Full node coin adapters now skip rewards generated from mining. PoS rewards must be skipped, PoW rewards can be included. = 3.5.2 = - Fix: Issue with generated rewards for PoS coins, that previously appeared as extra deposits. - Add: Exchange rates provider for cryptocompare.com - Change: Default exchange rates providers after first installing the plugin are fixer and cryptocompare. - Add: Email notifications can be turned off for individual users via their profile admin page. - Fix: User profile pages only display wallets-related section for users with `has_wallets` capability. - Change: QR-code URIs for most coins only include address string and no name. This is safer. Coins that require a full URI still have it. = 3.5.1 = - Add: Can now hook to frontend events for running JavaScript after coin data is loaded. See documentation for details. - Improve: Frontend UIs now start with 50% opacity while coin data is not yet loaded from the JSON API. = 3.5.0 = - Add: Support for keeping an "Audit Log" of transactions using the plugin "Simple History", if the plugin is installed. - Add: Deposit address can be copied to clipboard in one click in the `[wallets_deposit]` shortcode UI. - Add: Debug info in dashboard widget now lists versions of all installed extensions. - Add: When clicking on "Renew deposit addresses" there is now a confirmation prompt. - Change: Removed the unused `amount_str` and `fee_str` fields from the `get_coins_info` JSON API call to save bandwidth. - Fix: Bug when renewing deposit addresses where action GET argument would remain in admin URL. Now argument is removed with redirect. - Fix: Backend no longer inserts a request for withdrawal with no address specified. - Fix: No longer uses USDT_BTC for USD_BTC exchange rate for Bittrex. - Improve: "Cron job might be disabled" warning only shows after 4 hours of no cron. This avoids most false positives in dev environments. - Fix: Added `rel="noopener noreferrer"` to all external redirect links with `target="_blank"`. - Change: Added Google analytics tracking codes to all links to dashed-slug.net for BI. - Improve: Added `required="required"` to admin input fields that are required to have a value. - Improve: Added `required="required"` to frontend input fields that are required to have a value. - Improve: Notifications code refactored and improved. - Improve: Applied many code styling suggestions using CodeSniffer and the WordPress ruleset. - Improve: Information in readme.txt is more up-to-date. = 3.4.2 = Fix: Race condition hazard that could compromise the security of this plugin now fixed. This is an IMPORTANT SECURITY UPDATE. = 3.4.1 = - Fix: Admin can now select to not use any exchange rates if not needed. - Fix: More correct algorithm for calculating exchange rate between any two currencies. Does graph traversal and finds a path between known exchange rates. - Change: If a fiat currency has the same symbol as a known cryptocurrency, its exchange rate data is discarded to avoid confusing the rate calculations. - Fix: User preference for a fiat currency now takes precedence again over site-wide default. = 3.4.0 = - Change: To use the fixer.io service users must now provide an API key. This is now possible. - Change: The fixer.io service is accessed at most once per hour. - Improve: Can now enable multiple exchange rates providers simultaneously. - Change: Simplified hooks for adding exchange rates manually. See https://gist.github.com/alex-georgiou/492196184f206002c864225180ca8fbb - Improve: When an exchange rates provider is disabled, its data remains on the DB, while any data that comes from enabled providers is kept updated. - Improve: Exchange rates admin page now displays data counts to aid debugging. = 3.3.6 = - Fix: Prevent SQL error on failed transactions "BIGINT UNSIGNED value is out of range". = 3.3.5 = - Fix: Prevent browser caches from retrieving old assets (js,css). Plugin version is now part of filenames as well as in the `ver` GET parameter. Solves problems with some CDNs and plugins that discard the version parameter. - Add: Better schema index checks. Will report an error to the admin if any DB constraint is not in place. - Improve: Withdrawals are now first marked as done and then actually performed. If wallet returns error then withdrawal is marked as failed. Prevents double spend in the very unlikely event of a network disconnect while the transaction is being sent to the wallet. - Fix: Division by zero error fixed in the Cold Storage deposit screens. - Fix: For coins that have extra info (e.g. Monero Payment ID, Ripple Destination Tag), display both in Cold Storage deposit screen. = 3.3.4 = - Fix: Bug that prevented updating confirmation counts of deposits coming from transactions with multiple outputs, introduced in 3.3.2. = 3.3.3 = - Improve: Front-end performance increase due to deferred updates in knockout framework. - Fix: Erroneous "Insufficient Balance" validator message in frontend when balance is actually sufficient. - Fix: A CSS issue with the frontend validator messages that would cause visual elements to jump up and down on the page. - Improve: Updated packages moment.js library to the latest version. - Improve: If a transaction cannot be inserted to the DB, also print out the last DB error message in the logs to assist debugging. = 3.3.2 = - Fix: Allow incoming transactions with multiple outputs, where the outputs are deposit addresses for more than one users of the plugin. = 3.3.1 = - Change: Transaction time in *Wallets* → *Transactions* list is now shown in local timezone, not UTC. - Add: Transaction time in email notifications can now be shown in local timezone with value ###CREATED_TIME_LOCAL###. - Add: Transaction time in email confirmations can now be shown in local timezone ###CREATED_TIME_LOCAL###. - Add: Widgets can now be used with alternative UI templates. - Add: The sender's name and address for email notifications and confirmations can now be set in the admin settings. If set, it overrides the default. - Change: Proportional fees in all RPC adapters (including the multiadapter extension) now have five decimal places instead of three. = 3.3.0 = - Add: Suggests a text fragment for inclusion into the site's privacy policy (GDPR requirement). - Add: Hooks into the personal data exporter tool and exports a user's deposit addresses and transaction IDs (GDPR requirement). - Add: Hooks into the personal data eraser tool and deletes a user's deposit addresses and transaction IDs (GDPR requirement). - Add: Admin transactions list can now be sorted by: status, admin confirmation, user confirmation. Thanks to James (Tiranad @ BTCDraft) for providing patch. - Fix: When the `[wallets_move]` form fields are reset to empty, after a successful transaction request, the user field is also reset to empty. - Improve: Hides some columns from upcoming "trade" transactions that will become relevant when the trading extension is released. = 3.2.0 = - Add: Shortcodes now take extra attribute, allow for choosing alternative UI templates. - Add: Alternative transactions view with `[wallets_transactions template="rows"]`. - Add: Alternative balances view as list with `[wallets_balance template="list"]`. - Add: Alternative deposit addresses view as list with `[wallets_deposit template="list"]`. - Add: Can now set minimum withdrawal amount as a coin adapter setting. Enforced in frontend validation and backend processing. - Improve: Frontend withdraw and move UIs now validate amounts against max user balance. - Change: `get_coins_info` JSON API now returns the list of coins sorted by name. - Fix: Bug in cold storage admin screens for multisite intstallations. - Fix: More cross-compatible DDL phrasing for enum value in SQL schema. = 3.1.3 = - Add: New shortcode `[wallets_account_value]` displays the total account value in the selected fiat currency. - Improve: Display TXIDs and addresses as links only if they are alphanumeric, in frontent and backend transaction lists. - Fix: Some strings now made translatable. = 3.1.2 = - Fix: Incompatibility with frontend JavaScript code and Internet Explorer 11. - Improve: Old transaction aggregation is less verbose in the logs. Does not write anything if there are no transactions to aggregate. - Improve: Frontend form submit buttons are not clickable while there are other pending queries. This prevents accidental multiple submits of the same tx. = 3.1.1 = - Fix: Non-default DB table prefix in old transaction aggregation cron job, introduced in 3.1.0. = 3.1.0 = - Add: Old transaction aggregation cron job to save DB space. - Add: Easily refresh deposit addresses via the adapters list screen. - Fix: Better guard clause in Bitcoin withdrawal address validator JavaScript. = 3.0.3 = - Fix: Better logic that controls flushing of JSON API rewrite rules. This had caused incompatibility with "multilanguage" plugin by BestWebSoft. - Improve: The `[wallets_transactions]` UI no longer displays an empty table if there are no transactions to display. A dash is shown instead. - Add: The debug info widget in the admin dashboard now reports the web server name and version. - Change: Internal support for "trade" transactions. These will be needed for the upcoming exchange extension. = 3.0.2 = - Add: Exchange rates can now be pulled from the CoinMarketCap API. - Add: Coin icons are now displayed in the front-end UIs. - Fix: Safer exchange rates code in case of connectivity issues. - Fix: No longer display "cancel" button next to deposits, since these cannot be cancelled. - Fix: No longer reset the default coin in the frontend whenever the coin info is reloaded. - Change: The readme now points to the new SEO-frinedly name for the YouTube channel. = 3.0.1 = - Fix: Do not throw an alert box error in frontend when an AJAX request is cancelled by the browser, if the user clicks on a new link while the request is in transit. = 3.0.0 = - Add: New improved PHP API for working with wallets, based on WordPress actions and filters. See documentation for details. - Change: The previous PHP API is still functional but is now marked as deprecated. - Add: The JSON APIs are now versioned, to allow for stable improvements. - Add: New version 2 of the JSON API does not include the `get_users_info` call which divulged user login names. Accepts usernames or emails as destination user in `do_move` action. - Change: Previous version 1 of the JSON API is available only if "legacy APIs" option is enabled in the frontend settings. - Improve: Frontend no longer performs synchronous AJAX requests on the main thread. This fixes the issue where the UI would temporarily "freeze". - Improve: The `[wallets_move]` shortcode now accepts the recipient user as a username or email. This was previously a dropdown and was causing scaling problems. - Improve: The coins data structure in the wallets frontend is now indexed, resulting in better JavaScript performance throughout the frontend code. - Fix: Nonces provided with the `get_nonces` JSON API call are no longer cached. Caching would sometimes cause stale nonces to be used, resulting in request forgery errors. - Improve: The knockout JavaScript code now uses the `rateLimit` extender in favor of the deprecated `throttle` extender. = 2.13.7 = - Improve: More kinds of transactions can be cancelled via the admin interface. - Improve: More kinds of transactions can be retried via the admin interface. - Fix: Avoid race condition that sometimes prevented the fix to the Select2 issue originally addressed in 2.13.5 . - Fix: Make sure that JavaScript withdrawal address validators are always functions before calling them. - Fix: The option to switch off frontend reloading of coin info when page regains visibility can now be changed in multisite installs. = 2.13.6 = - Add: Added stocks.exchange exchange rates provider. - Add: Option to switch off frontend reloading of coin info when page regains visibility. - Add: Spanish language translation for frontend contributed by Javier Enrique Vargas Parra <jevargas@uniandes.edu.co>. - Change: NovaExchange rates provider re-enabled after announcement that the exchange will not be decommissioned. - Improve: Multiple calls to the same exchange rates API endpoint are no longer repeated. - Improve: Suggested curl notify commands for full node wallets now include the -k switch to bypass problems with invalid SSL certificates. = 2.13.5 = - Fix: User no more allowed to enter invalid polling intervals such as an empty string, resulting in frontend slowdown. - Fix: The filter `wallets__sprintf_pattern_XYZ` modifies the amounts display pattern in the `[wallets_transactions]` shortcode. - Fix: The filter `wallets__sprintf_pattern_XYZ` modifies the amounts display pattern in the special balances menu item. - Fix: Dropdowns in front-end are now not affected by the Select2 JavaScript library (compatibility with AdForest theme and possibly more). - Add: Transaction category and status values are now translatable and filterable in the `[wallets_transactions]` shortcode. - Improve: Updated Greek language translation to reflect changes above. = 2.13.4 = - Add: Frontend sprintf pattern for cryptocurrency amounts can now be overridden via a WordPress filter (see manual). - Fix: Improved detection of wallet lock status for wallets that have support only for `getinfo` command and not `getwalletinfo`. = 2.13.3 = - Improve: No longer requires the mbstring PHP module to be installed. - Add: Live polling on the frontend can now be turned off by setting the time intervals to 0. - Add: The debug panel in the admin dashboard now reports if PHP modules relevant to the plugin are loaded or not. - Add: The debug panel in the admin dashboard now reports which plugin extensions are activated or network-activated. = 2.13.2 = - Add: Admin option to manually disable JSON API response compression with zlib. - Improve: Zlib compression status is not altered if HTTP response headers are already sent. = 2.13.1 = - Add: After confirming a transaction via an email link, the user can be redirected to a page that the admin indicates. See Wallets → Confirms → Redirect after confirmation. - Improve: Semantic HTTP status codes returned after clicking on confirmation links. - Improve: Frontend does not popup an error if some wallet capabilities are disabled. - Improve: JSON API uses compressed encoding if the UA accepts it and the PHP zlib extension is installed. - Improve: Some internal code improvements in the adapter list. = 2.13.0 = - Add: Coin adapters can be in a locked or unlocked state. Locked adapters cannot process withdrawals. Adapters can be unlocked by entering a secret PIN or passphrase. - Add: All frontend text is now modifiable via WordPress filters. See the documentation for filter names and example code. - Improve: Successful and failed transactions trigger WordPress actions. See the documentation for action names and example code. - Fix: An incompatibility with PHP 5.4 is resolved. Note that it is not recommended to install the plugin on PHP versions that have reached end-of-life. - Add: WordPress actions allow themes to add markup before and after any frontend UI form. See the documentation for action names. - Fix: Internal transaction IDs no longer link to any block explorers. - Add: After submitting a transaction, the user is notified to check their e-mail, if an e-mail confirmation is required. - Add: Dismissible notice informing users to upgrade the cloud wallet adapters for compatibility with this version. = 2.12.2 = - Fix: Disallow internal transactions and withdrawals if amount - fees is negative. - Fix: 'Invalid amount' error when withdrawing invalid amount to RPC adapters - contributed by https://github.com/itpao25 - Fix: Better CSS selector specificity in `[wallets_transactions]` rows. Solves issues with some themes. = 2.12.1 = - Improve: The `[wallets_balance]` shortcode shows fiat amounts below the actual crypto amount, not on mouse hover. - Improve: The `[wallets_move]` and `[wallets_withdraw]` shortcodes do not show ugly NaN (Not a Number) values on insufficient data. - Fix: The `[wallets_deposit]` shortcode would not show the QR-Code on first page load, before the current coin was changed. Now fixed. - Fix: The exchange rates API is now extendable. For sample code see http://adbilty.me/HBVX5tx = 2.12.0 = - Add: Frontend now displays up-to-date information via polling. Polling intervals are controlled by the admin. - Change: The QR-code on/off switch is now found in the new *Frontend Settings* admin screen. - Add: Admin can now choose a default fiat currency for users who have not made a selection in their WordPress profile screens. - Fix: Error when withdrawing from unlocked RPC wallets (i.e. without a passphrase) - Add: Arabic language translation for frontend contributed by Ed <support@2gogifts.com> - Improve: Nonces API is now filterable by extensions. Filter name is: `wallets_api_nonces`. = 2.11.2 = - Fix: Prices for Bitcoin cash reported by some exchanges as "BCC" are now changed to "BCH" to avoid confusion with BitConnect. - Fix: Bug when saving buddypress notifications in multisite. - Change: JSON API now does not throw when encountering an unknown action. Allows for extensions to define their own actions. = 2.11.1 = - Fix: Deposit fees were not being inserted to the DB (would affect the CoinPayments adapter). - Improve: In network-activated multisite, exchange rates are now shared accross sites. Improves performance. - Fix: When user has not selected a base currency in their profile, the default is now USD. Previously was undefined, which caused fiat amounts to not be displayed. - Fix: When user profile displays deposit addresses, it can now also handle currencies with an extra payment id field in their deposit address. (affects Monero, Ripple, Steem, etc). - Fix: The default withdraw fees for Bitcoin core are now set to 0.001 when first installing the plugin. = 2.11.0 = - Add: Addresses and TXIDs are now links to blockexplorer sites. - Add: Cryptocurrency amounts are also shown in a user-selected fiat currency, default: USD. - Improve: Comment fields are now multi-line, allow for more info. - Add: All RPC adapters can now connect to wallets that are encrypted with a passphrase. - Add: All RPC adapters can now connect to wallets via SSL RPC. - Fix: Exchange rates caching mechanism would some times report stale data, is now fixed. = 2.10.6 = - Fix: Widget titles are now translatable. - Fix: Exceptions thrown by coin adapters no longer break user profile rendering. - Add: German translations for frontend contributed by eMark Team <kontakt@deutsche-emark.de>. = 2.10.5 = - Fix: Plugin now works even if theme causes the frontend `wp` JavaScript object to not exist. - Fix: String localization is now working. - Add: String localization now split into frontend and backend. See documentation for details. - Add: Greek language translations for frontend. = 2.10.4 = - Fix: Setting capabilities in network-activated multisite installs now modifies capabilities accross the network. - Add: Plugin warns user if needed PHP extensions are not installed. - Add: Admins can now view their own deposit addresses and balances in their user profile screen. - Improve: Bumped included `bs58check` library from 2.0.2 to 2.1.0. = 2.10.3 = - Add: Admins with `manage_wallets` can now view deposit addresses and balances of users in the user profile screen. - Improve: Better cache control in the JSON API. - Fix: Bug with the `get_transactions` API where data was not returned when using the friendly URI form instead of GET parameters. - Fix: Warnings, errors and other notices that are relevant to wallet managers are now only shown to users with `manage_wallets`. - Fix: Invalid `get_transactions` JSON API request with NaN argument while the frontend UI initializes. - Add: Instructions for downloading the documentation added in the about section. = 2.10.2 = - Add: Exchange rates are now available over tor. Only enable this if running WordPress on an Onion hidden service. - Add: Exchange rates can be turned off if not needed to improve performance. - Add: User is warned if the DB table indices are corrupted. - Improve: Adding/updating transaction rows does not depend on the DB constraints. - Improve: Exchange rates are decompressed using PHP curl, not via the compress.zlib filter. - Fix: Misleading textual description of the IP setting in RPC adapters. - Fix: Small bug with error reporting in JSON adapters. = 2.10.1 = - Fix: More DB columns changed to ASCII. Saves space, plus fixes "Specified key was too long" on some databases and server locales. - Improve: Frontend observables `withdraw_fee` and `move_fee` changed to camelCase to match other observables. - Add: Debug log markers at uninstall script boundaries. Should aid in troubleshooting. = 2.10.0 = - Improve: Better knockout bindings in frontend. Bindings applied to UI elements only, not entire page. Allows for playing nice with other knockout code. - Add: The wallets viewmodel is now available for inheritance under the global wp object. Allows for extensions that modify the UI. - Add: Tradesatoshi added to list of available exchange rate providers. - Fix: Issue where database tables were not created on new installs. - Fix: Race condition between uninstall script and cron job that caused unaccepted transactions to transition into pending state. - Improve: Bumped the included knockout distribution to latest version, 3.5.0-pre. = 2.9.0 = - Add: Notifications can now be sent either as emails or as BuddyPress private messages (or both). - Fix: When upgrading database schema, suppress logging of some errors that are to be expected. = 2.8.2 = - Fix: Bug introduced in 2.8.1 where deposits could be duplicated in some situations. = 2.8.1 = - Add: Changes throughout the plugin for currencies that use additional information in transactions besides a destination address (e.g. Monero, Ripple, etc). - Fix: Some issues with language domains in translated strings. - Fix: QR code only shown for currencies where deposit makes sense. - Add: NovaExchange will be shown as unavailable as an exchange rate provider after 2018-02-28. = 2.8.0 = - Add: Admins can cancel internal transactions. - Add: Admins can retry cancelled internal transactions. - Improve: Exchange rates are now not slowing down the system. Better caching mechanism. Runs on PHP shutdown. - Add: YoBit and Cryptopia exchanges added as exchange rate sources. - Add: Exchange rate sources are now pluggable (see PDF documentation). - Add: Dashboard debug info now includes commit hash and plugin version. - Fix: Bug with failsafe mechanism for systems where WP Cron is not running, introduced in 2.7.4 - Improve: When not connected, the internal Bitcoin core plugin now suggests a salted password for the bitcoin.conf file, using the rpcauth= argument. = 2.7.4 = - Add: Failsafe mechanism for systems where WP Cron is not running. - Add: Panel with useful system debug info in Dashboard area. Users can copy and paste it when requesting support. - Add: Show warning about old WordPress or PHP versions. = 2.7.3 = - Fix: Incompatibility with PHP 5.3 introduced in 2.7.2. - Improve: More efficient pulling of bittrex exchange rates. = 2.7.2 = - Add: Exchange rates API now uses a choice of Bittrex, Poloniex or Novaexchange APIs. - Add: Blockchain.info donation button in about section. - Add: SteamIt social link in about section. = 2.7.1 = - Fix: Bug where wrong coin address was displayed in cold storage section. - Add: Cold storage section now links to wiki page. - Add: All extensions now listed in About section. = 2.7.0 = - Add: Cold storage section, allowing easy addition and withdrawal of funds to and from external wallets. - Improve: Uninstalling and re-installing the plugin now fixes the SQL table schemas if they are missing or damaged. = 2.6.3 = - Add: When coin adapters report a new status for an existing transaction, the plugin can now update the status of the transaction. = 2.6.2 = - Fix: SQL formatting issue. - Add: Text descriptions for adapter HTTP settings. - Add: JSON coin adapter base class now does more verbose error reporting on API communication errors. - Improve: Actions in transactions list admin screen are now buttons. = 2.6.1 = - Fix: Query formatting issue. = 2.6.0 = - Fix: Added back Knockout.js that was missing due to changes in 2.5.4 (oops!) - Add: Functions for pulling exchange rates are now in wallets core, available for all extensions. = 2.5.4 = - Fix: `do_move()` checks the balance of sender, not current user. - Fix: Menu item now shows balance(s) of current user, not total wallet balance(s). - Improve: Knockout.js assets are now local, not served from CDN. - Add: FAQ section about supported coins. = 2.5.3 = - Fix: Issues with frontend JavaScript code that would prevent popups from being displayed. - Fix: Issue where in some situations cached assets (JS, CSS) from older plugin versions were being used. - Improve: Better markup for balances menu item. - Add: Many common questions added to the FAQ section. = 2.5.2 = - Fix: Compatibility issue with PHP < 5.5 - Fix: More correct markup in balances nav menu item. = 2.5.1 = - Fix: Minor JavaScript issue that prevented the frontend from working correctly with some coin adapters. = 2.5.0 = - Add: Balance information can now be inserted into WordPress menus. See *Appearance* → *Menus*. - Add: Pluggable validation mechanism for withdrawal addresses. Bitcoin addresses validated against `bs58check`. - Add: Fees to be paid are now updated dynamically as soon as a user types in an amount. - Improve: Massive refactoring in the knockout.js code. - Fix: get_balance memoization now works correctly for multiple invocations of different users. = 2.4.6 = - Fix: Bug in balance checks. = 2.4.5 = - Improve: Paid fees are now deducted from the amount that users enter in the withdrawal and internal transfer UIs. - Add: Fees now have a fixed component and a component that is proportional to the transacted amount. - Add: Coin adapter settings now display descriptions. = 2.4.4 = - Improve: Adapters now live in their own special panel. - Add: About page with social actions and latest news. - Add: Doublecheck to see if WordPress cron is executing and inform user if not. = 2.4.3 = - Improve: Adapter list now shows both funds in wallets and funds in user accounts - Improve: In adapters list, coin name, coin icon and coin symbol are now merged into one "Coin" column - Add: Usernames in transaction list are links to user profiles - Add: Link to support forum from plugin list - Add: Added mention of Electrum coin adapter in FAQ section = 2.4.2 = - Improve: `get_new_address()` deprecated in favor of `get_deposit_address()`. - Add: `do_move()` can now do a funds transfer from users other than the current one. - Fix: Bug where a DB transaction started after a funds transfer is now fixed. = 2.4.1 = - Fix: When performing actions in transactions admin panel, redirect to that same panel without the action arguments (allows page refresh). - Add: PHPdoc for new helper functions introduced in 2.4.0 - Add: Text warning about security best practices regarding RPC API communications over untrusted networks. = 2.4.0 = - Add: On multisite installs, the plugin can be *network-activated*. - Add: Feature extensions (WooCommerce, EventsManager, Tip the Author, etc) can now place withdrawals or transfers that do not require confirmations. - Fix: Broken "Settings" link in plugins list replaced with a working "Wallets" link. = 2.3.6 = - Add: When a user requests to withdraw to a known deposit address of another user, an internal move transaction is performed instead. - Improve: Frontend transactions in `[wallets_transactions]` are sorted by descending created time. - Improve: Admin transactions list defaults to sorted by descending created time. - Add: If a coin adapter does not override the sprintf format for amounts, the format now includes the coin's symbol letters. - Fix: Uncaught exception when user-unapproving a transaction in admin when it corresponds to a currently disabled adapter. - Fix: Uncaught exception when performing `wallets_transaction` action on a currently disabled adapter. - Fix: Suppress a logs warning in `Dashed_Slug_Wallets_Coin_Adapter::server_ip()`. = 2.3.5 = - Fix: Withdrawals to addresses that are also deposit addresses on the same system are no longer allowed. - Fix: Email notifications for successful withdrawals now correctly report the transaction ID. - Fix: Email notifications for failed withdrawals do not report a transaction ID since it does not exist. = 2.3.4 = - Improve: Confirmation links can be clicked even if user not logged in. - Add: When a transaction is user unaccepted via admin, a new confirmation email is sent. - Fix: Unused code cleanup = 2.3.3 = - Fix: Deposit notifications restored after being disabled in 2.3.2 - Fix: Only send confirmation emails if DB insert succeeds = 2.3.2 = - Fix: Issue introduced in 2.3.0 where pending (not executed) withdrawals to the same address would fail. - Fix: Unhandled exception when sending a notification email while the corresponding adapter is disabled. - Change: CSV import feature only imports transactions with "done" status to maintain DB consistency. = 2.3.1 = - Fix: Issue where on some systems MySQL tables were not being updated correctly, resulting in user balances appearing as 0. = 2.3.0 = - Add: Administrator panel to show all transactions in the system. - Change: The `.csv` import functionality is now moved to the transactions admin panel. - Change: Transaction requests are now decoupled from transaction executions. They are executed by cron jobs in batches of configurable size and frequency. - Add: Transactions can require confirmation by an administrator with `manage_wallets`. - Add: Transactions can require the user to click on a link sent by email. - Add: Failed transactions are retried a configurable number of times. - Add: Transaction retries can be reset by an administrator with `manage_wallets`. - Add: Users can now be notified by email if their transaction fails. - Add: Frontend transactions lists (wallets_transactions UI) now show the TXID. - Add: Frontend transaction lists (wallets_transactions UI) are now color coded based on transaction state. - Fix: The minimum number of confirmations reported by get_minconf() was always `1` instead of the user-supplied value. - Change: Performance improvement in the code that calculates balances for users (function `get_balance()`). - Change: Internal transfers that cause two row inserts are now surrounded by a DB lock and atomic transaction to ensure consistency even in case of an unexpected error. = 2.2.5 = - Fix: Administrator capabilities were erroneously being erased in 2.2.4 when editing other role capabilities = 2.2.4 = - Add: User is warned if DISABLE_WP_CRON is set. - Fix: Administrator is now unable to remove capabilities from self for safety. - Fix: Fees fields were being cleared when the clear button was pressed or after a successful transaction. - Fix: Suppress duplicate warnings in logs when inserting existing user address - Fix: Moment.js third-party lib was being reminified. = 2.2.3 = - Add: Multisite (aka network) installs now supported - Improve: If user does not have wallets capability the frontend is not burdened with wallets scripts or styles - Fix: Transactions table has horizontal scrolls (especially useful in the transactions widget) - Fix: Added empty `index.php` files in all directories for added security. = 2.2.2 = - Fix: Do not popup error to users who are not logged in = 2.2.1 = - Add: Deposit addresses now also shown as QR-Codes - Add: After import show both successful and unsuccessful transaction counts - Fix: Users now are not allowed to transfer funds to self - Fix: E-mail notifications withdrawals would show timestamps, now show human-readable date/time = 2.2.0 = - Change: Improved coin adapters API. All current adapters need update to the 2.2.0 API. - Add: Accompanying PDF documentation now provides instructions for creating a coin adapter (for developers). - Fix: Improved front-end error reporting in some cases. - Fix: Plugin would not activate on MySQL DBs with collation utf8mb4* - Improve: If the PHP cURL module is not installed, any RPC adapters are automatically disabled and the user is warned. = 2.1.2 = - Fix: Errors were not being reported on frontend. (JSON API now always returns status 200 OK even if carrying an error message.) = 2.1.1 = - Add: The capabilities matrix is now hookable by extensions - Add: Internal transfers can now have unlimited descriptive tags assigned - Fix: The `get_users_info` JSON API now retrieves only users who have capability `has_wallets` = 2.1.0 = - Add: Capabilities feature lets you assign capabilities to user roles - Add: E-mail notifications are now admin-configurable - Add: Frontend Widgets - Change: Settings tab is now cron tab - Change: Better code organisation = 2.0.2 = - Add: Link to homepage and settings page from plugin list - Fix: When altering cron duration from admin screens cron job is correctly rescheduled - Fix: Cron job is now unscheduled on plugin deactivation - Fix: Uninstall script now correctly unschedules cron job - Fix: Safer user ID detection (does not depend on `wp_load` action) - Fix: Using `sprintf` format from adapter in error messages - Fix: Typo in error message when insufficient balance for withdraw/move - Improve: Better code organisation for admin screens - Improve: Safer inserting of new addresses in `wallets_address` action = 2.0.1 = - Fix: Dates in the [wallets_transactions] UI were not showing correctly in Internet Explorer - Improve: Refactored the withdrawal API for compatibility with changes to block.io adapter 1.0.2 = 2.0.0 = - Add: Generalised `wp_cron` mechanism lets coin adapters perform any periodic checks via an optional `cron()` method. - Improve: Various improvements to the coin adapter API. `list_transactions` was removed in favor of the generic `cron()` method. - Add: The `bitcoind` and other RPC API coin adapters do not depend on the notification API to discover deposits. - Add: Better admin UI explaining how fees operate. - Add: Adapters can now optionally notify the plugin of user-address mappings with the `wallets_address` action - Add: The plugin now warns the admin about using SSL. - Fix: The `bitcoind` built-in adapter now works smoother with the `bittiraha` lightweight wallet. - Fix: Improved user `get_balance()` in terms of performance and robustness. - Fix: Bitcoin RPC API adapter only binds to notification API set to enabled. - Fix: Catching an exception when notified about transaction to unknown address. - Fix: When transaction tables are locked to perform atomic transactions, the `wp_options` table is available to coin adapters. = 1.2.0 = - Add: Multiple coin adapters per extension and per coin (see release notes) - Add: Fail-safe mechanism that periodically checks for deposits that have not been recorded. - Add: New setting panel in admin for settings that are not specific to any coin adapters. - Fix: Exceptions thrown during failed deposit notifications are now caught. = 1.1.0 = - Add: Compatibility with the `prasos/bittiraha-walletd` lightweight wallet (see FAQ). - Fix: Users who are not logged in are not nagged with an alert box. Shortcode UIs now display "Must be logged in" message instead. - Simplified the adapters list. There will be an entire admin panel about the removed information in a future version. - Add: Adapters list now gives meaningful errors for unresponsive coin adapters. = 1.0.6 = - Made compatible with PHP versions earlier than 5.5 - Added warning in readme about running on PHP versions that have reached end-of-life = 1.0.5 = - Deactivate button not shown for built in Bitcoin adapter - Added video tutorial to readme = 1.0.4 = - Recommends the configurations needed in your `bitcoin.conf` - Does not recommend command line arguments to `bitcoind` any more - Updated install instructions in `readme.txt` = 1.0.3 = - Fixed issue where deactivating any plugin would fail due to nonce error = 1.0.2 = - Clearer disclaimer - Fixed a broken link = 1.0.1 = - Fixed some string escaping issues = 1.0.0 = - Accounting - bitcoind connectivity - PHP API - JSON API - Front-end shortcodes - CSV Import/Export == Upgrade Notice == Bitcoin and Altcoin Wallets version 5.0.15 fixes two non-critical bugs. == Donating == This is a free plugin. The dashed-slug is a [heroic (or maybe foolish?) one-man effort](https://www.dashed-slug.net/dashed-slug/team/) against the odds :-) Showing your support helps the dashed-slug purchase the necessary coffee and energy drinks needed for designing, developing, testing, managing and supporting these and more quality WordPress plugins. These are all the ways you can show your support, if you so choose: 1. **Become a registered [dashed-slug.net](https://www.dashed-slug.net) member**, and enjoy unlimited access to all the premium plugin extensions available, and priority support with any issues. 2. **Translate the plugin** and donate your translation. Your contribution will be mentioned in the changelog. See the manual entry on *Localization* for instructions. 2. **Report bugs/issues.** 3. **Spread the word** to your friends. 4. **If you wish, you may donate** any amount [via flattr](https://flattr.com/profile/dashed-slug) or via the following dashed-slug addresses: - Bitcoin: `1DaShEDyeAwEc4snWq14hz5EBQXeHrVBxy` - Litecoin: `LdaShEdER2UuhMPvv33ttDPu89mVgu4Arf` - Dogecoin: `DASHEDj9RrTzQoJvP3WC48cFzUerKcYxHc` == Translations == * Arabic — Ed <support@2gogifts.com> * German — eMark Team <kontakt@deutsche-emark.de> * Italian — Fabio Perri <webnetsolving@gmail.com> https://www.transifex.com/user/profile/Fabio.Perri/ * Spanish — Javier Enrique Vargas Parra <jevargas@uniandes.edu.co>
About
Bitcoin and Altcoin Wallets FREE WordPress Plugin: Turn your blog into a bank: Let your users deposit, withdraw, and transfer bitcoins and altcoins on your site.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- PHP 74.9%
- JavaScript 24.2%
- CSS 0.9%