forked from brendio/convertphrase
-
Notifications
You must be signed in to change notification settings - Fork 356
Examples
jackjack-jj edited this page Aug 6, 2011
·
2 revisions
$ ./pywallet.py --web $ ./pywallet.py --web --port 9000
Then open http://localhost:8989 (or whatever port you provide)
$ ./pywallet.py --info --importprivkey 74ewjEuYHZ25q2hxJgvayKemxRxoEFwVdfejJuwjJMLN77YqPJH --namecoin Address (Namecoin): NAZEg7S5EQH2Bbgt1rBBjeGgfiWhQbc2Cz Privkey (Namecoin): 74ewjEuYHZ25q2hxJgvayKemxRxoEFwVdfejJuwjJMLN77YqPJH Hexprivkey: e77c2a542500d9e69482a681b34be7686192f8a8fba3eb0a596d285d62eb778f
$ ./pywallet.py --info --importprivkey 5KaEZBZsyRrJpNVHAYedNeUWLVwTRe7xiRy8d8B7cGzCSrsQ5bN Address (Namecoin): 1EysUTw6K2BTf4SNk2rcX87mwV7eQ2KUtA Privkey (Namecoin): 5KaEZBZsyRrJpNVHAYedNeUWLVwTRe7xiRy8d8B7cGzCSrsQ5bN Hexprivkey: e77c2a542500d9e69482a681b34be7686192f8a8fba3eb0a596d285d62eb778f
Import a key in hexadecimal format in the bitcoin wallet at ~/encrypted_wallet/jim1.wal, with the label 'key1'
$ ./pywallet.py --importprivkey e77c2a542500d9e69482a681b34be7686192f8a8fba3eb0a596d285d62eb778f --importhex --datadir ~/encrypted_wallet/ --wallet jim1.wal --label 'key1' Address: 1EysUTw6K2BTf4SNk2rcX87mwV7eQ2KUtA Privkey: 5KaEZBZsyRrJpNVHAYedNeUWLVwTRe7xiRy8d8B7cGzCSrsQ5bN Imported successfully
$ ./pywallet.py --importprivkey 5KaEZBZsyRrJpNVHAYedNeUWLVwTRe7xiRy8d8B7cGzCSrsQ5bN --datadir ~/ --reserve Address: 1EysUTw6K2BTf4SNk2rcX87mwV7eQ2KUtA Privkey: 5KaEZBZsyRrJpNVHAYedNeUWLVwTRe7xiRy8d8B7cGzCSrsQ5bN Imported successfully
$ ./pywallet.py --balance 1EysUTw6K2BTf4SNk2rcX87mwV7eQ2KUtA Never used $ ./pywallet.py --balance 1EysUTw7mwV7eQ2KUtA Invalid address $ ./pywallet.py --balance 18YrV34bkv1t1rwLB56txURo94cHQ8m4ja 3.12
$ ./pywallet.py --dumpwallet { ... }