Creating Wallet Via Loaderservice

Discussion in 'Technical Support' started by MrHat7, Apr 16, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. MrHat7

    MrHat7 New Member

    Jan 4, 2016
    20
    3
    Male
    Hello. I am currently coding a gui wallet for personal development, nothing serious. I am stuck at a problem and am hoping for someone to help me.

    To use LoaderService (or any other grpc service for that matter) the wallet process must be started with --experimental flag, however, dcrwallet process (that exposes grpc loaderservice) cannot be started unless wallet already exists.
    ./dcrwallet --experimentalrpclisten 127.0.0.1:9110
    "The wallet does not exist. Run with the --create option to initialize and create it."

    TL;DR. To create a wallet I must use LoaderService, however, unless I already have a wallet I cannot use LoaderService. What am I missing here?

    Thanks.
     
  2. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    I haven't personally tried it, but I suspect it is this flag based on reading the help:

    Code:
    $ dcrwallet -h
    ...
      --noinitialload  Defer wallet creation/opening on startup and
                       enable loading wallets over RPC
    ...
    
     
  3. MrHat7

    MrHat7 New Member

    Jan 4, 2016
    20
    3
    Male
    Sweet, tyvm.
     

Share This Page