Skip to content

Commit

Permalink
feat: CLI config version
Browse files Browse the repository at this point in the history
Fixes #264
  • Loading branch information
simonas-notcat committed Dec 16, 2020
1 parent f12ac3c commit 08d783d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
1 change: 1 addition & 0 deletions packages/daf-cli/default/client.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 1.0
server:
hostname: localhost
port: 3335
Expand Down
33 changes: 17 additions & 16 deletions packages/daf-cli/default/default.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 1.0
server:
baseUrl: http://localhost:3332
port: 3332
Expand Down Expand Up @@ -52,19 +53,19 @@ ethr-did-resolver:
$require: ethr-did-resolver?t=function&p=/ethr#getResolver
$args:
- networks:
- name: mainnet
rpcUrl: https://mainnet.infura.io/v3/5ffc47f65c4042ce847ef66a3fa70d4c
- name: rinkeby
rpcUrl: https://rinkeby.infura.io/v3/5ffc47f65c4042ce847ef66a3fa70d4c
- name: ropsten
rpcUrl: https://ropsten.infura.io/v3/5ffc47f65c4042ce847ef66a3fa70d4c
- name: kovan
rpcUrl: https://kovan.infura.io/v3/5ffc47f65c4042ce847ef66a3fa70d4c
- name: goerli
rpcUrl: https://goerli.infura.io/v3/5ffc47f65c4042ce847ef66a3fa70d4c
- name: private
rpcUrl: http://localhost:8545/
registry: '0x05cc574b19a3c11308f761b3d7263bd8608bc532'
- name: mainnet
rpcUrl: https://mainnet.infura.io/v3/5ffc47f65c4042ce847ef66a3fa70d4c
- name: rinkeby
rpcUrl: https://rinkeby.infura.io/v3/5ffc47f65c4042ce847ef66a3fa70d4c
- name: ropsten
rpcUrl: https://ropsten.infura.io/v3/5ffc47f65c4042ce847ef66a3fa70d4c
- name: kovan
rpcUrl: https://kovan.infura.io/v3/5ffc47f65c4042ce847ef66a3fa70d4c
- name: goerli
rpcUrl: https://goerli.infura.io/v3/5ffc47f65c4042ce847ef66a3fa70d4c
- name: private
rpcUrl: http://localhost:8545/
registry: '0x05cc574b19a3c11308f761b3d7263bd8608bc532'

web-did-resolver:
$require: web-did-resolver?t=function&p=/web#getResolver
Expand All @@ -77,11 +78,11 @@ universal-resolver:
resolver:
$require: did-resolver#Resolver
$args:
- ethr:
- ethr:
$ref: /ethr-did-resolver
web:
web:
$ref: /web-did-resolver
io:
io:
$ref: /universal-resolver

agent:
Expand Down

0 comments on commit 08d783d

Please sign in to comment.