Bitcoin Forum
May 13, 2024, 12:14:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: connect your Electrum wallet directly to your Bitcoin full node  (Read 686 times)
hugeblack (OP)
Legendary
*
Offline Offline

Activity: 2506
Merit: 3650


Buy/Sell crypto at BestChange


View Profile WWW
May 28, 2020, 01:02:59 PM
Merited by ABCbits (2), o_e_l_e_o (2), igor72 (2), TryNinja (1), Husna QA (1)
 #1

The plugin is still under development, it can be buggy. Not recommended for newbies. It is better to keep it away from your private keys. use it with test-net version.

Features over electrum personal server:

 - more modern HTTP REST API ----> https://github.com/shesek/bwt#http-api
 - supporting RPC protocol
 - integrated Electrum server (no need for external Electrum server)

If you do not have enough storage space you can use it with prune mode but with a few features such as:

 - no history before importing the addresses
 - You may be able to view some history in future releases*.

Download & instructions ---> https://github.com/shesek/bwt#electrum-plugin

Read more and source ----> https://www.reddit.com/r/Bitcoin/comments/grlpbm/you_can_now_connect_your_electrum_wallet_directly/


*
Quote
In a future release, showing some partial history (only of transactions that still have unspent outputs) could be possible with scantxoutset. See this ticket on the EPS tracker for more details:

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
1715559266
Hero Member
*
Offline Offline

Posts: 1715559266

View Profile Personal Message (Offline)

Ignore
1715559266
Reply with quote  #2

1715559266
Report to moderator
1715559266
Hero Member
*
Offline Offline

Posts: 1715559266

View Profile Personal Message (Offline)

Ignore
1715559266
Reply with quote  #2

1715559266
Report to moderator
1715559266
Hero Member
*
Offline Offline

Posts: 1715559266

View Profile Personal Message (Offline)

Ignore
1715559266
Reply with quote  #2

1715559266
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Husna QA
Legendary
*
Offline Offline

Activity: 2268
Merit: 2882


#SWGT CERTIK Audited


View Profile WWW
May 29, 2020, 06:20:53 PM
Last edit: May 18, 2023, 06:57:08 AM by Husna QA
 #2

At the moment, I don't want to use this plugin entirely, just wondering how it works. I got a message like this when I started:
ERROR bwt>> no available authentication for bitcoind rpc, please specify credentials or cookie file.
How to fix it?




TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6989



View Profile WWW
May 29, 2020, 06:24:58 PM
 #3

At the moment, I don't want to use this plugin entirely, just wondering how it works. I got a message like this when I started:
ERROR bwt>> no available authentication for bitcoind rpc, please specify credentials or cookie file.
How to fix it?
Did you enable the RPC server in the bitcoin.conf file (server=1)? It should be in your Bitcoin Core directory (or Settings -> Options -> Open Configuration File).

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Husna QA
Legendary
*
Offline Offline

Activity: 2268
Merit: 2882


#SWGT CERTIK Audited


View Profile WWW
May 29, 2020, 07:37:37 PM
 #4

Did you enable the RPC server in the bitcoin.conf file (server=1)?
Where is the bitcoin.conf file located on Electrum? Or how to edit it on Electrum? Was it made through the console?

It should be in your Bitcoin Core directory (or Settings -> Options -> Open Configuration File).
Yes, the bitcoin.conf file in the Bitcoin core, server = 1

TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6989



View Profile WWW
May 29, 2020, 07:52:09 PM
 #5

Where is the bitcoin.conf file located on Electrum? Or how to edit it on Electrum? Was it made through the console?
This is Bitcoin Core's config file, it has nothing to do with Electrum.

Yes, the bitcoin.conf file in the Bitcoin core, server = 1
Did you restart Core? I just enabled it for a different software and it created a .cookie file in my Core directory. See if you find this file there. If you do, maybe you are not using the right path on bwt?

I installed Core in a different drive than my OS and those files could be found in the AppData related to that drive, which in my case is different from the OS' default (E:\Users\username\AppData\Roaming\Bitcoin VS C:\Users\username\AppData\Roaming\Bitcoin), so make sure you are looking at the right place.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Husna QA
Legendary
*
Offline Offline

Activity: 2268
Merit: 2882


#SWGT CERTIK Audited


View Profile WWW
May 29, 2020, 08:33:54 PM
 #6

Did you restart Core? I just enabled it for a different software and it created a .cookie file in my Core directory.
How to create a .cookie file on Bitcoin Core?
I place the bitcoin blockchain file on a separate drive that can be accessed via the Bitcoin core on macOS and Windows OS (virtual machines). If it's already created, the .cookie file should be in that directory, correct?

TryNinja
Legendary
*
Offline Offline

Activity: 2828
Merit: 6989



View Profile WWW
May 29, 2020, 08:39:13 PM
Merited by Husna QA (1)
 #7

How to create a .cookie file on Bitcoin Core?
I place the bitcoin blockchain file on a separate drive that can be accessed via the Bitcoin core on macOS and Windows OS (virtual machines). If it's already created, the .cookie file should be in that directory, correct?
When you enable RPC (without a password), it creates the file automatically. You need to open Core, Settings -> Options -> Open configuration file. It will open your bitcoin.conf, which Core is using. See in which directory this .conf file is. In the same directory, you will see the .cookie file if you already enabled RPC and restarted Core. Get that same directory and use it on the "Directory" field on bwt.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Husna QA
Legendary
*
Offline Offline

Activity: 2268
Merit: 2882


#SWGT CERTIK Audited


View Profile WWW
May 30, 2020, 05:42:57 AM
Last edit: May 18, 2023, 06:57:01 AM by Husna QA
 #8

You need to open Core, Settings -> Options -> Open configuration file. It will open your bitcoin.conf, which Core is using.
I already know the location of the bitcoin.conf file. I once edited the file when I tried to create a legacy address (P2PKH) on Bitcoin Core
(https://bitcointalk.org/index.php?topic=5196950.msg53531187%20#post_point8)
But at that time I had never seen a .cookie file in the same directory as the bitcoin.conf file.

When you enable RPC (without a password), it creates the file automatically. -snip-
In the same directory, you will see the .cookie file if you already enabled RPC and restarted Core.
I tried removing the password on RPC and restarted Bitcoin Core. I saw the .cookie file created automatically in that folder.
The .cookie file disappears when Bitcoin Core is closed. It's like a temporary file.



Get that same directory and use it on the "Directory" field on bwt.
I have changed the directory and get the following error message when running Electrum (bwt) with Bitcoin Core at the same time.




ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7496


Crypto Swap Exchange


View Profile
May 30, 2020, 06:36:23 AM
Merited by Husna QA (1)
 #9

When you enable RPC (without a password), it creates the file automatically. -snip-
In the same directory, you will see the .cookie file if you already enabled RPC and restarted Core.
I tried removing the password on RPC and restarted Bitcoin Core. I saw the .cookie file created automatically in that folder.
The .cookie file disappears when Bitcoin Core is closed. It's like a temporary file.



Get that same directory and use it on the "Directory" field on bwt.
I have changed the directory and get the following error message when running Electrum (bwt) with Bitcoin Core at the same time.



Default RPC port is 8332 (mainnet) or 18332 (testnet), you either must :
1. Edit bitcoin.conf to use port 18843

Quote
rpcport=18843

2. Change RPC url (on Electrum) to use default RPC port

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
shesek
Newbie
*
Offline Offline

Activity: 27
Merit: 4


View Profile
May 30, 2020, 07:41:55 AM
 #10

I have changed the directory and get the following error message when running Electrum (bwt) with Bitcoin Core at the same time.

https://i.imgur.com/RcpyK2e.png

18443 is the default rpc port for regtest, are you on regtest?

Are you able to access the RPC port by other means? You can try opening http://localhost:18443/ in your browser. If this works, you should see `JSONRPC server handles only POST requests`.
Husna QA
Legendary
*
Offline Offline

Activity: 2268
Merit: 2882


#SWGT CERTIK Audited


View Profile WWW
June 01, 2020, 05:34:26 AM
Last edit: May 18, 2023, 06:56:47 AM by Husna QA
 #11

-snip-
Thank you, it works.
I add the RPC port to the bitcoin.conf file

Code:
server=1
rpcuser=Husna QA
rpcpassword=
rpcport=8332

and changed the RPC URL on Electrum (http://localhost:8332/)



-snip-
The first time I used the BWT plugin, the port was there automatically. I didn't know this was for Regtest.


shesek
Newbie
*
Offline Offline

Activity: 27
Merit: 4


View Profile
June 05, 2020, 11:50:06 AM
 #12

The first time I used the BWT plugin, the port was there automatically. I didn't know this was for Regtest.

That's strange, it should've used the appropriate port according to the network reported by Electrum.

But glad to hear you managed to get it working!
Geremia
Sr. Member
****
Offline Offline

Activity: 502
Merit: 251


View Profile WWW
February 25, 2021, 05:47:26 PM
 #13

When clicking the "Connect to bitcoind" button, I get:
Code:
No watch-only hd wallets found. Note that bwt cannot currently be used with hot wallets. See the README for more details.
I ran
Code:
createwallet "watch_only" true true
in Bitcoin Core terminal.

BTC tip jar | my BTC wiki, BTC StackExchange | Tox ID: 65C3E8810738AD9D175234808FCB317A1103632903436203D45411AE97C03F54C34861AB6663
Join Kraken. | The best, free book on Bitcoin: Mastering Bitcoin
Nos cum prole pia benedicat Virgo Maria.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!