/ devconf.toml
devconf.toml
1 # This config is meant for local development only 2 3 [WebAPI] 4 adminbind = "localhost" # avoids macOS firewall confirmation! 5 adminport = "8081" 6 pubbind = "localhost" # avoids macOS firewall confirmation! 7 pubport = "8082" 8 pubapirooturl = "http://localhost:8082" 9 10 [Store] 11 # SQLite: (default) 12 # DBFile = "gigawallet.db" 13 # Postgres: 14 # DBFile = "postgres://username:password@localhost/gigawallet?sslmode=disable" 15 16 [gigawallet] 17 network = "mainnet" # which dogecoind to connect to 18 19 [dogecoind.testnet] 20 host = "localhost" 21 zmqport = 28332 22 rpcport = 44555 23 rpcpass = "gigawallet" 24 rpcuser = "gigawallet" 25 26 [dogecoind.mainnet] 27 host = "127.0.0.1" 28 zmqport = 28332 29 rpchost = "127.0.0.1" 30 rpcport = 22555 31 rpcpass = "suchpay" 32 rpcuser = "suchpay" 33 34 ## Setup loggers, see pkg/config.go LoggersConfig 35 [loggers.events] 36 path = "./events.log" 37 types = ["ALL"] 38 39 ## Setup http Callbacks, see pkg/config.go CallbackConfig 40 41 #[callbacks.example1] 42 # path = "https://example.com/invoiceEvents" 43 # types = ["INV"] 44 45 46 ## Setup MQTT event publishing, see pkg/config.go MQTTConfig 47 48 #[mqtt] 49 # address = "test.mosquitto.org:1884" 50 # username = "rw" 51 # password = "readwrite" 52 # clientid = "gigawallet" 53 # 54 #[mqtt.queues.accounts] 55 # topicfilter = "account" 56 # Types = ["ACC"]