interledger / connector.land

https://connector.land
3 stars 7 forks source link

The structure of passwords file in the root folder #11

Closed misnuge closed 7 years ago

misnuge commented 7 years ago

It would be helpful if you briefly explain about the structure of passwords file because the file is missing. Thanks again.

michielbdejong commented 7 years ago

It's going to change to use environment variables. Sorry for not noticing this issue earlier!

To answer your question, passwords.js was used when connector.land still connected to each node's ledger. Now peering is used, and the current filename is data/creds.json, and its structure is like this:

{
  "keypair": {
    "priv": "...",
    "pub": "..."
  }
}
michielbdejong commented 7 years ago

Follow https://github.com/interledger/connector.land/issues/19 for further updates