I’m happy to announce that with some effort Telegram has now been connected to the SAFE CLI!
The Telegram Bot offers users to experiment with sending SAFE Coins from their created wallet to other users.
For now the bot uses test-coins and runs on a local baby-flemming network, not yet connected to the shared-section, might soon be possible after some IGD updates. You can also top up more coins and tip users by replying with a “/tip [amount]” command and is fun to do!
What is great about this bot is that normal users who are not familiar with SAFE Network can see what is being used by the network: SAFE URL, Public and Secret Keys. Without needing to install any CLI software and learn to use all of these commands, flags, etc.
Additionally, there is an example container with a test text file that can be inspected with cat & dog and see similar output as regular CLI. Then lastly it is also possible to create new keypairs.
You can see in the following screenshots how it works:
Initializing Wallet for Bot
Your personal details: SAFE URL, Public and Secret Key
Viewing the balance and topping up safecoins
Sending Safecoins to another user’s SAFE URL
Other user receives notification that you send him coins in private message!
Tipping someone or yourself haha
Explore the local baby-flemming example SAFE XOR-Urls with cat command
Explore the local baby-flemming example SAFE XOR-Urls with dog command
Commands:
Start - Automatically run when you restart bot and displays a welcome message.
Usage: /start
Help - Shows the current help message.
Usage: /help
Init - Initializes a wallet for Telegram User which can be used to add/send/receive/tip coins.
Usage: /init
Secret - Shows the users wallet details including; Wallet SAFE-URL, Public Key and Secret Key.
Usage: /secret
Balance - Shows the current Safecoin balance of the user’s wallet.
Usage: /balance
Addcoins - Add test coins to your wallet!
Usage: /addcoins [amount]
Send - Use to send Safecoins to other SAFE-URL addresses, without arguments it will display a help message.
Usage: /send [amount] [safe-wallet url]
Tip - Use to send a tip to a reply of a user who also has a SAFE Wallet, without arguments it will display a help message.
Usage: /tip [amount]
Keypair - Obtain keypairs from the CLI.
Usage: /keypair
Cat - View Folders/Files with cat, without arguments will display a help message.
Usage: /cat [NRS-URL or XOR-URL]
Dog - Inspect Folders/Files with dog, without arguments will display a help message.
Usage: /dog [NRS-URL or XOR-URL]
These are all the commands that are currently available to try out.
Thank you for reading, hope you enjoy experimenting with it!
EDIT: The /cat
and /dog
command are currently not working.
EDIT: Now migrated to new server with more memory! The previous one had too little and caused it to freeze. So in case you experience any restarts, please clean your bot chat history and do a fresh /init
!