## This is the darkirc configuration file. ## Review it carefully. ## JSON-RPC listen URL #rpc_listen = "tcp://127.0.0.1:26660" ## IRC listen URL #irc_listen = "tcp://127.0.0.1:6667" ## TLS certificate path if IRC acceptor uses TLS (optional) #irc_tls_cert = "/etc/letsencrypt/darkirc/fullchain.pem" ## TLS secret key path if IRC acceptor uses TLS (optional) #irc_tls_secret = "/etc/letsencrypt/darkirc/privkey.pem" ## Sets Datastore Path #datastore = "~/.local/darkfi/darkirc_db" ## List of channels to autojoin for new client connections autojoin = [ "#dev", "#memes", "#philosophy", "#markets", "#math", "#random", ] ## IRC server specific password ## (optional, but once configured, it is required from the IRC client side) #password = "CHANGE_ME" # P2P network settings [net] # Path to a configured hostlist for saving known peers hostlist = "~/.local/darkfi/darkirc/hostlist.tsv" ## P2P accept addresses #inbound = ["tcp+tls://0.0.0.0:26661", "tcp+tls://[::]:26661"] ## Outbound connection slots outbound_connections = 8 ## Inbound connection slots #inbound_connections = 0 ## Addresses we want to advertise to peers (optional) ## These should be reachable externally #external_addrs = ["tcp+tls://my.resolveable.address:26661"] ## Seed nodes to connect to seeds = [ "tcp+tls://dasman.xyz:5262", "tcp+tls://ohsnap.oops.wtf:31337" ] #seeds = [ # "tcp+tls://lilith0.dark.fi:5262", # "tcp+tls://lilith1.dark.fi:5262", # #"tor://rwjgdy7bs4e3eamgltccea7p5yzz3alfi2vps2xefnihurbmpd3b7hqd.onion:5262", # #"tor://f5mldz3utfrj5esn7vy7osa6itusotix6nsjhv4uirshkcvgglb3xdqd.onion:5262", #] ## Manual peers to connect to #peers = [] # Whitelisted transports for outbound connections allowed_transports = ["tcp+tls"] #allowed_transports = ["tor"] # Enable transport mixing # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls:// # By default this is not allowed. transport_mixing = false ## ==================== ## IRC channel settings ## ==================== ## ## You can create a shared secret with `darkirc --gen-secret`. ## Never share this secret over unencrypted channels or with someone ## who you do not want to be able to read all the channel messages. ## Use it like this example: #[channel."#foo"] #secret = "7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM" #topic = "My secret channel" [channel."#dev"] topic = "DarkFi Development HQ" [channel."#markets"] topic = "Crypto Market Talk" [channel."#math"] topic = "Math Talk" [channel."#memes"] topic = "DarkFi Meme Reality" [channel."#philosophy"] topic = "Philosophy Discussions" [channel."#random"] topic = "/b/" ## ================ ## Contact settings ## ================ ## ## In this section we configure our contacts and people we want to ## have encrypted DMs with. Your contacts' public keys should be ## retrieved manually. Whenever this is changed, you can send a ## SIGHUP signal to the running darkirc instance to reload these. ## ## The secret key used to decrypt direct messages sent to your public ## key (the counterpart to this secret key). ## It is also recommended to paste the public key here as a comment in ## order to be able to easily reference it for sharing. ## ## You can generate a keypair with: darkirc --gen-chacha-keypair ## and replace the secret key below with the generated one. ## **You should never share this secret key with anyone** #[crypto] #dm_chacha_secret = "AKfyoKxnHb8smqP2zt9BVvXkcN7pm9GnqqyuYRmxmWtR" ## This is where you put other people's public keys. The format is: ## [contact."nickname"]. "nickname" can be anything you want. ## This is how they will appear in your IRC client when they send you a DM. ## ## Example (set as many as you want): #[contact."satoshi"] #dm_chacha_public = "C9vC6HNDfGQofWCapZfQK5MkV1JR8Cct839RDUCqbDGK" # #[contact."anon"] #dm_chacha_public = "7iTddcopP2pkvszFjbFUr7MwTcMSKZkYP6zUan22pxfX"