Explorar el Código

config: Update configuration files for testnet deployment.

parazyd hace 4 años
padre
commit
8c42d5783e
Se han modificado 2 ficheros con 8 adiciones y 9 borrados
  1. 2 2
      example/config/cashierd.toml
  2. 6 7
      example/config/darkfid.toml

+ 2 - 2
example/config/cashierd.toml

@@ -18,10 +18,10 @@ tls_identity_path = "~/.config/darkfi/cashierd_identity.pfx"
 tls_identity_password = "FOOBAR"
 
 # The endpoint to a gatewayd protocol API
-gateway_protocol_url = "tcp://127.0.0.1:3333"
+gateway_protocol_url = "tcp://testnet.gateway-protocol.dark.fi:3333"
 
 # The endpoint to a gatewayd publisher API
-gateway_publisher_url = "tcp://127.0.0.1:4444"
+gateway_publisher_url = "tcp://testnet.gateway-publish.dark.fi:4444"
 
 # Path to mint.params
 mint_params_path = "~/.config/darkfi/mint.params"

+ 6 - 7
example/config/darkfid.toml

@@ -18,10 +18,10 @@ tls_identity_path = "~/.config/darkfi/darkfid_identity.pfx"
 tls_identity_password = "FOOBAR"
 
 # The endpoint to a gatewayd protocol API
-gateway_protocol_url = "tcp://127.0.0.1:3333"
+gateway_protocol_url = "tcp://testnet.gateway-protocol.dark.fi:3333"
 
 # The endpoint to a gatewayd publisher API
-gateway_publisher_url = "tcp://127.0.0.1:4444"
+gateway_publisher_url = "tcp://testnet.gateway-publish.dark.fi:4444"
 
 # Path to mint.params
 mint_params_path = "~/.config/darkfi/mint.params"
@@ -42,12 +42,11 @@ wallet_password = "TEST_PASSWORD"
 [[cashiers]]
 
 # Cashier name
-name = "cashier.dark.fi"
+name = "testnet.cashier.dark.fi"
 
 # The RPC endpoint for a selected cashier
-rpc_url = "tcp://127.0.0.1:9000"
-#cashier_rpc_url = "tls://127.0.0.1:9000"
+#rpc_url = "tcp://127.0.0.1:9000"
+rpc_url = "tls://testnet.cashier.dark.fi:9000"
 
 # The selected cashier public key
-public_key = ""
-
+public_key = "2MezH7FrtzGwtEEeTU8anM2b67Nzfv8XsojggGUavCUd"