Solana CLI spl-token
: Command set-transfer-hook-program
: Unclear how to provide "Transfer Hook Authority"
#33938
Labels
community
Community contribution
Versions
spl-token-cli 3.2.0
solana-cli 1.16.18 (src:612616be; feat:4033350765, client:SolanaLabs)
Problem
It is unclear how the "Transfer Hook Authority" has to be provided to the Solana CLI (
spl-token
), commandset-transfer-hook-program
.Using the option
--program-authority transfer-hook-authority-wallet.json
does not work. The--program-authority
option seems to be ignored and the Solana CLI just uses the default client keypair.Reproduce
This command failed against Solana DevNet cluster:
Error message:
3M42uZcVZb5ynr1oCJEgAnbv2XEmGFjsaAcbJ8ZRCcd4
is the pubkey of admin_account.jsonFBN8aSfNQi51ownFYjhtWnUKibtGzpm8pvKKaZubH3gU
is the pubkey of the default client keypairNotes
The documentation lists
<SIGNER>
because this does not seem to align with the description "Specify the authority keypair.", particularly because usually a keypair is described as<KEYPAIR>
(not as<SIGNER>
).The text was updated successfully, but these errors were encountered: