Re: Digest for bitcoinj@googlegroups.com - 2 updates in 1 topic

26 views
Skip to first unread message

Anna Bergin

unread,
Oct 18, 2021, 5:27:43 AM10/18/21
to bitc...@googlegroups.com
Thanks!

Should I be creating the directory here
C:\Gradle\bitcoinj\tools\build\install\wallet-tool>mkdir \bitcoinj
or
C:\>mkdir \bitcoinj

If I do
C:\Gradle\bitcoinj\tools\build\install\wallet-tool>mkdir \bitcoinj
C:\Gradle\bitcoinj\tools\build\install\wallet-tool>wallet-tool.bat --net=TEST --wallet=\bitcoinj\bitcoinj-test.wallet create
or
C:\Gradle\bitcoinj\tools\build\install\wallet-tool>wallet-tool --net=TEST --wallet=\bitcoinj\bitcoinj-test.wallet create

The error message is "Access is denied".

If I do
C:\Gradle\bitcoinj\tools\build\install\wallet-tool>mkdir \bitcoinj
C:\Gradle\bitcoinj\tools\build\install\wallet-tool>wallet-tool.bat --net=TEST --wallet=echo %homedrive%\bitcoinj\bitcoinj-test.wallet create
or
C:\Gradle\bitcoinj\tools\build\install\wallet-tool>mkdir \bitcoinj
C:\Gradle\bitcoinj\tools\build\install\wallet-tool>wallet-tool --net=TEST --wallet=echo %homedrive%\bitcoinj\bitcoinj-test.wallet create

The error message is "unmatched argument at index 3: create".

Do you have any idea what I'm doing wrong?  Sorry I know this is probably really obvious. I've attached screenshots.

Thanks

On Mon, 18 Oct 2021 at 01:36, <bitc...@googlegroups.com> wrote:
Anna Bergin <annabe...@gmail.com>: Oct 17 08:49AM -0700

Can someone please share the Windows version of the “Building and Using the
Wallet Tool” set up steps here https://github.com/bitcoinj/bitcoinj?
 
I tried doing this
 
1. *C:\Gradle\bitcoinj>gradle bitcoinj-tools:installDist*
 
2.
*C:\Gradle\bitcoinj\tools\build\install\wallet-tool\bin>wallet-tool.bat*
 
They both seemed to work because it showed a list of valid values but I
could get the next three to work
 
*3. **mkdir \**bitcoinj\tools\build\install\wallet-tool\bin\wallet-tool.bat
--net=TEST --wallet=$HOME\bitcoinj\bitcoinj-test.wallet create*
 
I've attached what I can see in after this point 3
 
I haven't been able to do these next two steps and I'm not sure what
exactly to write in the command line and from which folder.
 
*4. **.\tools\build\install\wallet-tool\bin\wallet-tool --net=TEST
--wallet=$HOME\bitcoinj\bitcoinj-test.wallet sync*
 
*5. **.\tools\build\install\wallet-tool\bin\wallet-tool --net=TEST
--wallet=$HOME\bitcoinj\bitcoinj-test.wallet dump*
 
Sorry I understand this is probably really easy but I’m a beginner
 
Thanks :)
Andreas Schildbach <and...@schildbach.de>: Oct 17 09:50PM +0200

re step 3:
 
mkdir ~/bitcoinj
 
is on its own command line.
 
./tools/build/install/wallet-tool/bin/wallet-tool --net=TEST
--wallet=$HOME/bitcoinj/bitcoinj-test.wallet create
 
is then the next command.
 
I'll make this clearer in the README.
 
 
On 17/10/2021 17.49, Anna Bergin wrote:
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to bitcoinj+u...@googlegroups.com.
Unmatched argument at index 3.PNG
Access denied.PNG

Anna Bergin

unread,
Oct 20, 2021, 9:24:19 AM10/20/21
to bitc...@googlegroups.com
Sorry for my questions above ^ I think i might have solved them. 

I tried to create a wallet and it seemed to work using this command
C:\Gradle\bitcoinj\tools\build\install\wallet-tool\bin>wallet-tool --net=TEST --wallet=C:\Gradle\bitcoinj\bitcoinj-test.wallet create

But got this message
Wallet creation requested but C:\Gradle\bitcoinj\bitcoinj-test.wallet already exists, use --force

If it try to sync it using 
C:\Gradle\bitcoinj\tools\build\install\wallet-tool\bin>wallet-tool --net=TEST --wallet=C:\Gradle\bitcoinj\bitcoinj-test.wallet sync

I get this error message
Chain file is missing so resetting the wallet.
Skipped to checkpoint 1449504 at 2018-12-25T17:01:32Z

I did this then 
C:\Gradle\bitcoinj\tools\build\install\wallet-tool\bin>wallet-tool --net=TEST --wallet=C:\Gradle\bitcoinj\bitcoinj-test.wallet dump

And i can see the information on the screenshot. Is this what I'm meant to see? Sorry i know this is obvious, but i have never done something like this before. 

Thanks!



Final Message.PNG
Reply all
Reply to author
Forward
0 new messages