- Create a new Telegram bot:
- start a chat with BotFather;
- type
/newbot
, select a name (to be shown in chats) and handle for your bot; - note the bot token to access HTTP API - a long string with a colon in the middle (later referred to as
<token>
); - optionally
/setdescription
and/setuserpic
.
- Add the bot to the chat/channel and note its id:
- add the bot to a new or existing chat or group - this is where your bot will send notifications to;
- go to
https://api.telegram.org/bot<token>/getUpdates
(replace<token>
with your token); - within the
chat
part, find and note theid
field - a positive or negative number (later referred to as<chat_id>
).
- Programmatically send notifications:
Covers different areas of programming and the best practices/components explained.
A crate that contains a trait StructOpt. Allows a structure Opt to be converted
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replace all <....> parts with your specific details | |
/network add -nick <nick> libera | |
/server add -network libera -auto -ssl irc.libera.chat 6697 | |
/connect libera | |
/query NickServ | |
register <password> <email> | |
<copypaste line from email> | |
/network add -autosendcmd "" -sasl_username <user> -sasl_password <pass> -sasl_mechanism PLAIN libera | |
/channel add -auto <channel> libera |
There might be a secure scheme that non-interactively generates a n-of-n
FROST key and from there you can interactively turn it into a t-of-n
by issuing new shares (i.e. enrolment).
I don't really know if this is a useful contribution even if it works. There might be some utility in not having multiple schemes but rather a one size fits all approach.
MuSig takes a "multiset" of n
public keys and outputs a single aggregated key which takes n-of-n
secret keys to sign.
Set z_i = H(X_1,.. X_i, .. X_n, X_i)
for i = 1,2, .. n
.