Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Make automation for Telegram Alert #46

Open
5 tasks done
Roken120 opened this issue Sep 18, 2022 · 4 comments
Open
5 tasks done

[QUESTION] Make automation for Telegram Alert #46

Roken120 opened this issue Sep 18, 2022 · 4 comments

Comments

@Roken120
Copy link

Question

Hello,
How i can automate the multitoolbox script for change tx id, identity, output, zelid and for adding telegram alert.

Category

Option 8

Please tick the boxes

@XK4MiLX
Copy link
Member

XK4MiLX commented Sep 18, 2022

  • new install option 6 after that option 2
  • exist install option 6 ( or exist install config) and option 15

@Roken120
Copy link
Author

Hello,
I know how i need to make but i want to automatise with cli if is possible
Like command txid:mynewtx identify:mynewidentify ...

@XK4MiLX
Copy link
Member

XK4MiLX commented Sep 18, 2022

you can automate it by create install_conf.json
example:

  1. echo "{}" > install_conf.json
  2. jq -r --arg key 'zelid' --arg value "1HWjQ8S3MyzV6EbtDMEcpHm31parya522N" '.[$key]=$value' install_conf.json

@XK4MiLX
Copy link
Member

XK4MiLX commented Sep 18, 2022

here is little script that can help

file: config_creator.sh
#!/bin/bash if [[ ! -f /home/$USER/install_conf.json ]]; then echo "{}" > install_conf.json fi echo "$(jq -r --arg key "$1" --arg value "$2" '.[$key]=$value' install_conf.json)" > install_conf.json
usage:
./config_creator.sh key value
example:
./config_creator.sh zelid 1HWjQ8S3MyzV6EbtDMEcpHm31parya522M

after create install_conf use option 15 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants