12 lines
608 B
Bash
Executable File
12 lines
608 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
#
|
|
# RU: Передает права Mint/Freeze/PermanentDelegate на Governance PDA из конфига.
|
|
# Перед отправкой транзакции внутри JS будет подтверждение "yes".
|
|
# EN: Transfers Mint/Freeze/PermanentDelegate authorities to Governance PDA
|
|
# from config. JS script asks for "yes" confirmation before sending.
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
CONFIG_PATH="$SCRIPT_DIR/governance_token.config.env"
|
|
node "$SCRIPT_DIR/js/04_transfer_rights_to_governance_pda_exec.js" "$CONFIG_PATH"
|