mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-11-09 12:17:08 +00:00
Renewing the automation key's spending allowance always needs 3-of-5 multisig approval regardless, so having this bot hold one signer's (Noter's) private key on a VPS to auto-submit one of those three signatures was never actually saving a real step - the other two signers still had to sign manually every time. Once pwap-web shipped a real multisig operations UI (and now wallet-android's Bridge screen too), the bot's only remaining job is to detect a low allowance and notify all 5 signers via Telegram - they each sign with their own wallet through one of pwap-web, pezbridge-sign.pex.mom, or the wallet app directly. Noter's mnemonic was removed from the VPS entirely (shred -u) after this rewrite was deployed and verified. Also adds gen_automation_key.rs (one-off key generation helper) and the updated systemd unit with LoadCredential removed.
10 lines
282 B
JSON
10 lines
282 B
JSON
{
|
|
"pezkuwi_rpc": "wss://asset-hub-rpc.pezkuwichain.io",
|
|
"serok_chat_id": 5362991649,
|
|
"ops_chat_id": -5420200114,
|
|
"poll_interval_secs": 600,
|
|
"renewal_threshold": 3000000000,
|
|
"topup_amount": 10000000000,
|
|
"state_path": "/opt/pezbridgebot/data/pezbridge_bot_state.json"
|
|
}
|