Forum Replies Created
-
AuthorPosts
-
alexg
KeymasterStrange…
…and you’ve replaced
XXX
with your coin’s symbol, correct?Also, did you get to step 6? Did you ensure that one of the outputs of the transaction is a user deposit address?
Did you enable WordPress logging and check the logs, just in case? It’s unlikely, but possible, that when you submit the TXID, there might be some error.
Finally, can I ask, which wallet you’re using? I can try to install the same wallet and verify that it’s compatible.
alexg
KeymasterHello,
Yes, I have looked at this. Unfortunately I cannot justify spending any more time on this issue.
I have since updated the website description to make it clearer that admins need to manually confirm commissions before they are paid out.
with regards
alexg
KeymasterHello,
1. It is not true that you cannot sync a blockchain if the process is interrupted. Actually you can stop the process at any time and continue later, even if there is a power failure. If syncing is stuck, then you should get help from people who provide support for bitcoin core, such as the channels listed here: https://bitcoin.org/en/bitcoin-core/help I would also recommend that you study your log file.
2. The image was probably too high resolution and was not posted (says “File exceeds allowed file size.”, so I cannot see it.) You can either use
rpcuser
andrpcpass
ORrpcauth
to define the username and password that your wallet should accept over RPC connections. Then, enter the same password in the coin adapter’s RPC settings. Then, go to the coin adapters screen and see what error message you get under “Status”. If yuu let me know what error message you see in that screen I can help you.3. The plugin needs to connect to the wallet, not the other way around. So the plugin’s coin adapter needs to know the IP of your wallet. In your wallet’s conf file, you need to specify the IP of the WordPress machine, so that the wallet can expect these connections and allow them. When the plugin recommends your conf file entries, it tries to guess the IP of your WordPress machine. This guess may be wrong, so enter the actual IP of your WordPress web server instead. If it is a home IP then obviously the web server will not be able to communicate with your wallet. (Unless if you have the skill to configure your router using NAT.) This is something that I cannot help you with. In general, even if you decide to run your wallet on a VPS, you need to think about HOW your WordPress maching is going to start a TCP connection to your wallet. This means that you need to think about routing and any firewalls that are in the middle.
4. I am not certain if the extension is what you need for your use case. This plugin is not built for selling tokens or mining contracts. If what you need is an exchange, then the Exchange extension is for you. You could mine coins, deposit them to a user on your site, then place sell orders at various prices, and others can login and buy your coins with Bitcoin. Additionally, you can have markets where it is only possible to buy or only to sell, so perhaps you could use this feature. But first you need to connect to a wallet.
In general I believe that it is possible to run your wallet at home IF you know what you are doing very well, that includes setting up networking. For most people it’s best if they install a full node on a VPS.
Hope this helps.
with regards
alexg
KeymasterHello and welcome,
It is likely that the plugin is never notified of incoming deposits. If you are using the full node coin adapter with a full node wallet as backend, please consult this article: https://www.dashed-slug.net/howto-debug-an-incoming-deposit-full-node-wallet/
So please follow the troubleshooting guide and let me know if it helped. If not, I can guide you through to debug this.
with regards
alexg
KeymasterHello James,
Please set the following options:
“Wallets” -> “Notifications” -> “Notification settings for ALL events” -> “Originating e-mail address”
and
“Wallets” -> “Notifications” -> “Notification settings for ALL events” -> “Originating e-mail full name”
with regards
alexg
KeymasterHello and welcome,
First of all, you can definitely install a Bitcoin node and the plugin on a Windows PC for testing purposes. If you wish to actually set up a website you will probably need to install everything on a hosted server (which would usually run Linux). It is theoretically possible to run your website from your Windows machine, but this is not recommended. You would need a static IP, a UPS, a good backup mechanism, configure firewalls yourself, etc. This is why I demonstrate installation on Linux (not Mac).
1. If the wallet is on the same machine as the PHP server that runs WordPress, then you should use the local loopback address,
127.0.0.1
.2. You do not necessarily need to use the shell to create the configuration file. You can use any means, as long as the file is in the right place. For example, you can save the file using Notepad at
%APPDATA%\Bitcoin\bitcoin.conf
. The shell variable%APPDATA%
will point to the correct directory for storing application data for your current user. (See also https://support.pointlogic.com/faq/troubleshooting/accessing-the-appdata-folder)The location of the Bitcoin data directory (and hence of the
bitcoin.conf
file) is detailed in the bitcoin wiki: https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_FileI am not sure why the core wouldn’t start, but know that all error messages get written out to a log file, so you can check them later. The log file is in
%APPDATA%\Bitcoin\debug.log
. If you find the error message, you can google it or post it here.3. Even before the blockchain finishes syncing, you can try to setup the RPC settings. When the settings are correct, you will see a status of “Syncing” rather than “Responding” in the coin adapter status (“Wallets” -> “Adapters”). You would still need to wait for the sync to finish, before you can actually perform transactions.
4. The Exchange extension is NOT like localbitcoins. Instead it is more like bittrex or poloniex, i.e. it allows you to create market pairs where users can enter market and limit orders in an order book. Limit orders can be thought of as offers to buy or sell. The whole trading process is online, it does not involve actually meeting locally, like localbitcoins does. Localbitcoin can be used globally and is well known and established, so in my opinion there is no point in you offering a similar service.
5. The markets that you create with the Exchange extension have their own orderbook, and thus their own prices. This is also true of all major crypto exchanges. Prices sync between exchanges via user action, because when they do not, arbitrage opportunities arise between exchanges. Arbitrage traders will balance out any price differences, and they profit from users who place orders away from the current price. Thus users are incentivized to place orders around the actual price of the cryptocurrencies they trade. There is no liquidity “magically” imported from elsewhere: users need to place orders in your site for a market to exist and for price discovery to work. This is a full exchange where you have full control. You can also specify maker and taker fee percentages.
If you simply need a frontend for other exchanges, use the ShapeShift extension instead.
Hope this helps. Please let me know if you have any further questions. If you have questions about the Exchange, please post them at the support forum for the Exchange extension.
with regards
alexg
KeymasterThank you. I have replied to your email.
alexg
KeymasterHello,
If you prefer, you can pay via cryptocurrencies. Please do the following:
1. Select the membership plan that you want from https://www.dashed-slug.net/dashed-slug/membership-plans/
2. Send the equivalent of the USD amount to one of the following addresses (DOGE has the lowest fees I believe)
Bitcoin Address: 1DaShEDyeAwEc4snWq14hz5EBQXeHrVBxy
DOGE Address: DASHEDj9RrTzQoJvP3WC48cFzUerKcYxHc
LTC Address: LdaShEdER2UuhMPvv33ttDPu89mVgu4Arf3. Email me with your selection of membership plan, the TXID and the email you used to sign up.
I will then activate your membership manually.
with regards
January 29, 2020 at 7:38 am in reply to: Enable Bitcoin and Altcoin wallet in payment gateway option #7655alexg
KeymasterHello,
The Full node adapter is for connecting full node wallets to the plugin. To connect the plugin to WooCommerce, you will need to also install the WooCommerce Cryptocurrency Payment Gateway extension. Installation instructions for the payment gateway are available at the link above, under “installation instructions”.
(App extensions such as the payment gateway are available to paying members. Membership plans are listed here.)
If your coin is new and is not yet listed on major exchanges, then the plugin will not know what the exchange rate to fiat is, so you will not see your coin as an option on checkout. (See also troubleshooting section for the gateway under the title “If you cannot checkout a cart:”.
If you are pricing your WooCommerce products in any other currency than your own cryptocurrency, you will need to provide the exchange rate yourself. To do this, download the following file, adapt it to your needs as per the comments, and install and activate it as a new plugin. You can either specify a fixed exchange rate, or use PHP curl to pull the exchange rate from some external API.
https://gist.github.com/alex-georgiou/492196184f206002c864225180ca8fbb
Please let me know if you have any further questions on how to do this.
with regards
January 22, 2020 at 11:15 am in reply to: Add links to specific market pages from the market summaries UI #7642alexg
KeymasterThe latest version
1.1.0
of the Exchange extension addresses this issue. Release notes: https://www.dashed-slug.net/instant-market-orders/alexg
KeymasterThe latest version
1.1.0
of the Exchange extension now features market orders. Release notes: https://www.dashed-slug.net/instant-market-orders/alexg
KeymasterThank you for opening a new thread, I have replied here: https://www.dashed-slug.net/forums/topic/enable-bitcoin-and-altcoin-wallet-in-payment-gateway-option/#post-7617
January 17, 2020 at 8:54 am in reply to: Enable Bitcoin and Altcoin wallet in payment gateway option #7617alexg
KeymasterHello,
By “gateway” I assume you mean the WooCommerce Cryptocurrency Payment Gateway extension.
For your coin to appear as an option on checkout, the plugin must know the exchange rate between your coin and the base currency of your shop, AND the user must have enough funds to pay for the value of the cart.
To make the exchange rate known, you can do either of two things:
1. You can either set up a fixed exchange rate that you specify yourself, or pull it from an external API using PHP curl. Please have a look here: https://gist.github.com/alex-georgiou/492196184f206002c864225180ca8fbb
You can edit this file, then add it into your plugins directory and activate it as a new plugin. It will act as an “Exchange rates provider” for your coin. Whatever exchange rate you set will be used to price your products/services.
2. If you have also set up a market for your coin using the Exchange extension, there is another way: Simply go to the market settings and enable the “Use exchange rate” checkbox.
Please let me know if you have any questions about this. You an also have a look at the troubleshooting section of the payment gateway homepage for more info.
with regards
alexg
KeymasterNo, you do not.
Simply disable the built-in Bitcoin core node adapter, then proceed to install other adapters.
with regards
alexg
KeymasterYes, precisely.
There are good reasons why this is not allowed. It is not a good idea to pay for crypto with a credit card, for all the reasons discussed before. I might still do it at some point, or at least help others do it, simply because the demand is so high, but I don’t think the people who ask for this realize what they are asking. I think the people who now want a way to sell crypto for CC payments, would change their mind if they actually tried to run such a business in practice. Again, this is not high in my priorities.
A much better approach would be for me to document the plugin’s transaction API, so that others can create plugins that deposit funds via various methods. This is something that I plan to do hopefully within this month. The article will be in the new how-to section.
with regards
-
AuthorPosts