dashed-slug.net › Forums › Full Node Multi Coin Adapter extension support › ull Node Multi Coin Adapter extension
- This topic has 8 replies, 4 voices, and was last updated 6 years, 2 months ago by alexg.
-
AuthorPosts
-
May 1, 2018 at 6:33 am #2967AnonymousInactive
Using this extension versus the old version, what tokens are available to Add?
Do you need to run a full node of each?
What tokens are supported?
May 1, 2018 at 6:38 am #2968alexgKeymasterHello,
This extension groups together the old RPC adapters into one. The supported tokens are listed in
assets/coins.csv
.The point of this adapter is that you can add your own, either by editing the csv file, or, more preferably, by using the
wallets_multiadapter_coins
WordPress filter as detailed in the adapter’s page. Any fork of the Bitcoin code should work, so that amounts to thousands of coins.kind regards
May 1, 2018 at 5:32 pm #2970AnonymousInactiveI’m a bit unclear. The bitcoin protocol and erc20 protocols are different. Will each work? To be clear, we have to run a full node of say litecoin and ethereum to run them in this setup? In the csv file, didn’t see a line for the server specs or password, only the port.
May 2, 2018 at 9:47 am #2993alexgKeymasterHello,
ERC20 tokens are not supported by this adapter. You can definitely use it to connect to Litecoin and similar wallets.
The csv file contains coin definitions, therefore there are no server specs in there, only details about the coins.
Once you enter a coin definition, an adapter is shown in your WordPress admin panel.
Then, you can setup the details to connect to your wallet via the coin adapter settings in your admin panel.
Hope this is a bit clearer. Please do let me know if you have further questions.
kind regards
May 31, 2018 at 3:47 am #3172AnonymousInactiveAttempting to add a new coin to the multi coin adapter.
May 31, 2018 at 7:09 am #3176alexgKeymaster@Nova That’s great. If you have questions to ask, please open a new thread about this.
kind regards
June 1, 2018 at 3:37 am #3181AnonymousInactivecant seem to add to the php file. i tried to use the LTC full node with nycoin info but its not connecting
October 22, 2018 at 5:34 pm #4886AnonymousInactiveHello Alex I’m having trouble adding a new currency is this message appearing
Fatal error: Cannot redeclare wallets_multiadapter_coins_filter() (previously declared in /var/www/html/wp-content/plugins/POT.php:12) in /var/www/html/wp-content/plugins/dgb.php on line 12October 23, 2018 at 8:34 am #4893alexgKeymasterHello,
It looks like you are trying to create small plugins to add functionality to the multiadapter.
Your code is hooking into the the
wallets_multiadapter_coins
filter. This requires some basic knowledge of PHP. Simply make sure that your functions are not the same. For example you could have these functions:function wallets_multiadapter_coins_dgb_filter( $coins ) {
…
add_filter( 'wallets_multiadapter_coins', 'wallets_multiadapter_coins_dgb_filter' );
function wallets_multiadapter_coins_pot_filter( $coins ) {
…
add_filter( 'wallets_multiadapter_coins', 'wallets_multiadapter_coins_pot_filter' );
You can name your functions anything you like as long as they are not the same.
with regards
-
AuthorPosts
- You must be logged in to reply to this topic.