ymgve / bitcoin_fork_claimer

Script for transferring/claiming your coins on various Bitcoin forks
204 stars 86 forks source link

Invalid Syntax #2

Closed NoWay426 closed 6 years ago

NoWay426 commented 6 years ago

New to scripts. Downloaded Python 2.7. Followed the script verbatim, however I keep getting invalid syntax error upon entry. Tried one space between inputs & two spaces. Double checked all data, can't see any errors in my inputs. Any ideas on where I may be messing up? Thanks in advance.

ymgve commented 6 years ago

Need to provide more details to see what the issue is.

NoWay426 commented 6 years ago

I installed Python 2.7, opened and entered this into command prompt:

claimer.py BPA a4da03bb8a76f2b351389bf3b9f43ebd6fc6d04671fad9f15bf109954744cc6c PrivKey 1EgkR9dmBrVztmwGVw7FM4SnEYHJ2efHRZ PHxn4f8htXkSU9gvr7hFskX2huEjmciL9m

PrivKey redacted for security, obviously

Have tried using the standalone mode also:

claimer.py BPA a4da03bb8a76f2b351389bf3b9f43ebd6fc6d04671fad9f15bf109954744cc6c PrivKey 1EgkR9dmBrVztmwGVw7FM4SnEYHJ2efHRZ PHxn4f8htXkSU9gvr7hFskX2huEjmciL9m --txindex 0 --satoshis 1595124818

Both input get SyntaxError: invalid syntax.

Any ideas?

ymgve commented 6 years ago

You are not supposed to use it from a Python console, you are supposed to use it from the OS command prompt.

NoWay426 commented 6 years ago

In Windows 10, Win + R opens command prompt

Input script there - with Python open I'm assuming? - "windows cannot find claimer.py"

Again, thanks for bearing with me, completely new to this

ymgve commented 6 years ago

You have to open "cmd.exe" then navigate to the folder where the script is installed inside the command line prompt window

https://www.digitalcitizen.life/command-prompt-how-use-basic-commands

Then you run "claimer.py BPA a4da........" directly in the command line prompt window

NoWay426 commented 6 years ago

Thank you! I got my BPA. Maybe this thread will help out some other noobs also.

Very happy I won't have to sync anymore blockchains for days. You are awesome.