I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

alexg

Forum Replies Created

Viewing 15 posts - 91 through 105 (of 2,199 total)
  • Author
    Posts
  • in reply to: Bitgo #12209
    alexg
    Keymaster

    Hello,

    The adapter is for communicating directly with Bitcoin core’s JSON-RPC API, not with the APIs that BitGo exposes.

    This would require development of a separate BitGo adapter. I already have this in my backlog. Perhaps something for the future.

    with regards

    in reply to: Percentage fee is no longer possible? #12208
    alexg
    Keymaster

    Hello,

    This may be a valid point, but I’m not sure.

    To be clear, when a user sends an amount to their deposit address, say 100 coins, CoinPayments retains 0.5% (A fee of 1% applies for tokens.). So the user would receive in this case 99.5 coins in their balance.

    The plugin’s ledger would show an incoming deposit of 99.5 and a fee of 0.5 (the fee is paid to CoinPayments, not the WordPress site).

    When the user later decides to withdraw the 99.5 coins, they will have to pay a withdrawal fee, which will cover the mining expenses. This fee is not proportional to the amount transacted, so there is no need for it to be a percentage.

    With the change to wallets 6.0.0, I have moved the fee settings from the adapter’s settings to the currency settings. The proportional fee was confusing to many users so I didn’t think it was necessary to re-implement it.

    Why do you think it’s necessary for the withdrawal fee to be proportional to the amount transacted? I don’t see how the site can lose funds. The “withdrawal fee” should cover the mining fee, which is unrelated to the amount transacted.

    Please let me know your reasoning, because implementing a proportional fee is doable, but it’s something that has confused users in the past, and it would require significant effort, so I’m trying to understand the use case.

    Thank you

    with regards

    alexg
    Keymaster

    Ah yes, thank you very much for reporting this.

    It is partly my fault, and partly the fault of another plugin that you are using. Both plugins attempt to load the Parsedown library, and both plugins don’t check if the library is already loaded.

    The issue is here: https://github.com/dashed-slug/wallets/blob/6.0.0-RC4/admin/documentation.php#L15-L16

    I will correct this in the next release. In the meantime, you can delete these lines, then, further down in the file, where the library is being used, you can add the following:

    if ( ! class_exists( 'Parsedown' ) ) {
        require_once DSWALLETS_PATH . '/third-party/Parsedown.php';
    }
    
    if ( ! class_exists( 'ParsedownExtra' ) ) {
        require_once DSWALLETS_PATH . '/third-party/ParsedownExtra.php';
    }
    

    right above the following code:

    // render markdown
    $pd = new \ParsedownExtra;
    $html = $pd->text( $markdown );

    Thank you for noticing and reporting this issue. I will apply the patch on the next version.

    with regards

    in reply to: Wallet not ready (Connection timed out) #12194
    alexg
    Keymaster

    OK this is now fixed in version 6.0.0-RC4.

    Again, a big thank you for reporting this! Please report any other issues if you see any.

    in reply to: Wallet not ready (Connection timed out) #12190
    alexg
    Keymaster

    Thank you very much for providing this information. I had not tested deposits with a non-zero deposit fee (oops!)

    I will be uploading a version 6.0.0-RC4 today on this website. It resolves this issue, as well as some more that I have identified in the meantime.

    in reply to: Wallet not ready (Connection timed out) #12188
    alexg
    Keymaster

    Thank you for providing screenshots. Unfortunately I was not able to determine what the issue is.

    Just to make sure that we are on the same page, I will summarise the issue so far. Please check that I have understood you correctly.

    The plugin is not being notified immediately about incoming deposits.

    You have added the following lines to your config file:

    walletnotify=curl -s 'https://exchange.napocoin.net/wp-json/dswallets/v1/walletnotify/25335/%s' >/dev/null
    blocknotify=curl -s 'https://exchange.napocoin.net/wp-json/dswallets/v1/blocknotify/25335/%s' >/dev/null

    Where 25335 is the post_id of your Napocoin Currency entry.

    When you logged in to your wallet server, you have attempted the following command:

    curl ‘https://exchange.napocoin.net/wp-json/dswallets/v1/walletnotify/25335/ABCD’

    and you get as result:

    {"message":"The plugin is being notified about this TXID. If a user is associated with one of its output addresses, a deposit will be registered for this user.","status":"success"}

    The above is to be expected when the TXID is invalid.

    But if you try the same command with a correct TXID that corresponds to your deposit, then you see on the screen the message:

    There has been a critical error on this website.

    This may be due to a difference between napocoin and bitcoin JSON-RPC APIs. The difference could be something trivial.

    The only way to be sure is to see the PHP error that occurs at the time when you run the curl command with the correct TXID.

    Can you please find this error message? The error will be in your PHP error log, and also in wp-content/debug.log if logging is enabled.

    Let me know if you can find the error.

    with regards

    in reply to: Wallet not ready (Connection timed out) #12183
    alexg
    Keymaster

    Hello,

    Thank you for providing screenshots regarding the above.

    I am assuming you are using version 6.0.0-RC3.

    The screenshots you provided are not from the plugin’s own editors. Can you please use the plugin’s built in editors?

    Based on the trace you provided, the plugin is trying to load a wallet by its string name, rather than a post ID:

    DSWallets\Wallet::load('bitcoin')

    I am not sure how that can happen. The argument passed to Wallet::load() must be an integer, and the plugin’s editor does not allow you to associate a currency with anything other than a wallets_wallet post ID

    I am guessing based on the screenshots you provided, that maybe you used another post meta editor to modify the currency post type? If so, please use the plugin’s own editor.

    I am planning to upload a version RC4 with some bug fixes, and this should be the last RC before the final release. But I don’t think that any of the unreleased fixes apply to your particular bug.

    (I am taking things slow because I lost a loved one this week and it’s still hard to concentrate on work. Sorry about that. As soon as possible, I plan to continue with the release plan and other planned improvements to the products and website.)

    TL;DR The plugin should not ever be calling Wallet::load('bitcoin'). From the stack trace, it looks like you tried to save a currency with a wallet string bitcoin, which is incorrect. I think this is an issue related to you using another post meta editor.

    Please let me know if this makes any sense?

    with regards

    P.S. I use this email for work, not the one at gmail.

    in reply to: Wallet not ready (Connection timed out) #12180
    alexg
    Keymaster

    Can you please email me screenshots of the currency editor screen and the wallet editor screen?

    You can hide any sensitive information in the screenshot if you like.

    in reply to: Wallet not ready (Connection timed out) #12179
    alexg
    Keymaster

    Hmm…

    I will look at this issue. The plugin should not be crashing like this.

    But in the meantime, can you check that you have associated your coin/currency to the wallet?

    I will let you know what I find after investigating.

    with regards

    in reply to: Wallet not ready (Connection timed out) #12174
    alexg
    Keymaster

    Hello,

    Check your walletnotify and blocknotify lines in the config. The plugin recommends the correct config to you when connection is not possible.

    The curl commands specified in these lines should be executable.

    There are many reasons why the commands may not be executing. For example, maybe curl is not installed.

    Remove the -s argument (silent) and the redirect to /dev/null, and run a command from the shell to see if it hits the wallet api.

    For example, if the plugin recommends that you add to your config:

    walletnotify=curl -sk https://example.com/wallets/api3/notify/BTC/wallet/TXID >/dev/null

    then login to your wallet server, and run the following command in the shell:

    curl -k https://example.com/wallets/api3/notify/BTC/wallet/TXID

    where TXID should be replaced with a TXID that you wish to notify for.

    Let me know if you have any questions about this.

    with regards

    in reply to: Wallet not ready (Connection timed out) #12162
    alexg
    Keymaster

    Hello,

    The outgoing TC connection to your wallet server fails with a timeout after 10 seconds.

    Timeouts are usually due to firewalls.

    You should check what firewalls protect the server where the wallet is running. You should allow incoming TCP connections on port 8711.

    If you are on a hosting provider, you should contact them and let them know that you want them to add this rule to their firewalls.

    If you are managing the server yourself, you should also check any software firewalls on the server (e.g. ufw, iptables, etc).

    Hope this helps. Please let me know if you have any more questions.

    with regards

    in reply to: market makers bot #12154
    alexg
    Keymaster

    Not yet unfortunately.

    in reply to: CoinPayment extension Not working #12148
    alexg
    Keymaster

    Hello,

    You are using a version of Bitcoin and Altcoin Wallets before 6.0.0 (which is still in RC status).

    Could it be that you have installed the adapter version 2.x? Please note the version requirements at the download page. You should be using version 1.2.1 with your version of the plugin.

    Apologies for the confusion. This will be resolved when I finally push 6.0.0 to wordpress.org.

    with regards

    in reply to: Ravencoin asset #12147
    alexg
    Keymaster

    Unfortunately no, there is no support for assets on the Ravencoin blockchain.

    in reply to: Ravencoin asset #12140
    alexg
    Keymaster

    Hello,

    The Exchange and all the other available app-extensions are agnostic as to the technologies for various coins/tokens. This means that it will work for all currencies, as long as there are wallet adapters that can support the wallets.

    If you are trying to connect to a RavenCoin full node wallet:

    I have not tested the RavenCoin wallet, but I know it’s a Bitcoin core fork, from a quick look at its github, it looks as if its JSON-RPC API should be identical to that of Bitcoin.

    If this is the case, then the instructions for installing the wallet are the same as those for Bitcoin. See steps 6 to 52.

    If you are trying to connect to a CoinPayments account:
    There should be no issues with using RavenCoin via CoinPayments. Just enable the coin in the CoinPayments account.

    Once the Currency appears in the plugin, you will be able to use it to create markets. The exchange doesn’t know or care how the currencies work behind the scene.

    Hope this helps.

    Let me know if you have any more questions.

    with regards

Viewing 15 posts - 91 through 105 (of 2,199 total)