Skip to content

Instantly share code, notes, and snippets.

@sonOfRa
Last active December 21, 2015 09:29
Show Gist options
  • Save sonOfRa/6285869 to your computer and use it in GitHub Desktop.
Save sonOfRa/6285869 to your computer and use it in GitHub Desktop.
Suggestion for Tox Data file format.
{
"key" : "plain:BASE64key|enc:BASE64encryptedkey",
"dht" : {
"autoconnect" : true,
"server" : "1.1.1.1|toxdht.example.com",
"port" : 33445
},
"name" : "foo",
"friends" : [{
"pubkey" : "BASE64-pubkey",
"nickname" : "Custom name for friend, if empty, use the name they are sending"
}, {
"pubkey" : "BASE64-pubkey",
"nickname" : "Alice"
}, {
"pubkey" : "BASE64-pubkey",
"nickname" : ""
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment