Skip to content

Commit

Permalink
feat: add wallet daemon config (#5311)
Browse files Browse the repository at this point in the history
Description
---
Add dan wallet daemon config part.

Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify

<!-- Does this include a breaking change? If so, include this line as a
footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a
database, resync the chain -->
  • Loading branch information
Cifko committed Apr 12, 2023
1 parent 561d6a4 commit 30419cf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions common/config/presets/j_dan_wallet_daemon.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[dan_wallet_daemon]
# JSON-RPC listener address (default = "127.0.0.1:9000")
# listen_addr = "127.0.0.1:9000"

# Signaling server address (default = "127.0.0.1:9100")
# signaling_server_addr = "127.0.0.1:9100"

# Validator node endpoint url (default = "http://127.0.0.1:18200/json_rpc")
# validator_node_endpoint = "http://127.0.0.1:18200/json_rpc"
2 changes: 2 additions & 0 deletions common/src/configuration/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ pub fn write_default_config_to<P: AsRef<Path>>(path: P) -> Result<(), std::io::E
include_str!("../../config/presets/f_merge_mining_proxy.toml"),
include_str!("../../config/presets/e_validator_node.toml"),
include_str!("../../config/presets/h_collectibles.toml"),
include_str!("../../config/presets/i_indexer.toml"),
include_str!("../../config/presets/j_dan_wallet_daemon.toml"),
]
.join("\n");

Expand Down

0 comments on commit 30419cf

Please sign in to comment.