Esempio n. 1
0
#!/usr/bin/env python3
from jmbase import jmprint
from jmclient import wallet_tool_main

if __name__ == "__main__":
    jmprint(wallet_tool_main("wallets"), "success")
Esempio n. 2
0
from __future__ import absolute_import, print_function

from jmclient import load_program_config, wallet_tool_main

if __name__ == "__main__":
    load_program_config()
    #JMCS follows same convention as JM original; wallet is in "wallets" localdir
    print(wallet_tool_main("wallets"))
Esempio n. 3
0
from __future__ import absolute_import, print_function
"""A simplified version of the wallet-tool script
   from Joinmarket, usable with CoinJoinXT (the wallets
   are cross-compatible between these applications).
"""
import datetime
import getpass
import json
import os
import sys
from optparse import OptionParser

from jmclient import (wallet_tool_main)
from configure import cjxt_single, load_coinjoinxt_config

if __name__ == "__main__":
    load_coinjoinxt_config()
    wallet_dir = os.path.join(cjxt_single().homedir, 'wallets')
    if not os.path.exists(wallet_dir):
        os.makedirs(wallet_dir)
    print(wallet_tool_main(wallet_dir))
Esempio n. 4
0
#!/usr/bin/env python2
from __future__ import print_function
import os
from jmclient import (wallet_tool_main, load_program_config)

if __name__ == "__main__":
    load_program_config()
    #TODO: change this to homedir as in github.com/AdamISZ/CoinSwapCS
    if not os.path.exists('wallets'):
        os.makedirs('wallets')
    print(wallet_tool_main('wallets'))