-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbtc_wallet.bat
More file actions
33 lines (28 loc) · 1.2 KB
/
btc_wallet.bat
File metadata and controls
33 lines (28 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
rem Running it
echo Creating a Bitcoin Wallet with a known mnemonic
rem https://raw.githubusercontent.com/libbitcoin/libbitcoin-explorer/master/img/wallet-commands.png
d:\D_Downloads\bitcoin\bx.exe mnemonic-to-seed one two three four five six seven eight nine ten eleven twelve > my.seed
type my.seed | d:\D_Downloads\bitcoin\bx.exe ec-new > myecprivate.key
type myecprivate.key | d:\D_Downloads\bitcoin\bx.exe ec-to-public > myecpublic.key
type myecpublic.key | d:\D_Downloads\bitcoin\bx.exe ec-to-address > mybitcoinaddress
echo =============================
echo my.seed
type my.seed
echo myecprivate.key
type myecprivate.key
echo myecpublic.key
type myecpublic.key
echo =============================
echo mybitcoinaddress
type mybitcoinaddress
echo =============================
echo =============================
echo Mine!
type mybitcoinaddress | d:\D_Downloads\bitcoin\bx.exe fetch-balance
type mybitcoinaddress | d:\D_Downloads\bitcoin\bx.exe fetch-history
echo =============================
echo =============================
echo Testing one
d:\D_Downloads\bitcoin\bx.exe fetch-balance 1JziqzXeBPyHPeAHrG4DCDW4ASXeGGF6p6
d:\D_Downloads\bitcoin\bx.exe fetch-history 1JziqzXeBPyHPeAHrG4DCDW4ASXeGGF6p6