This repository was archived by the owner on Mar 11, 2025. It is now read-only.
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
token-cli: set-transfer-fee
has different granularity than create-token
#7020
Closed
Description
As reported at anza-xyz/agave#2135:
Problem
set-transfer-fee works in whole tokens. create-token with "--transfer-fee" works in 10^(-decimals) tokens.
Proposed Solution
Either make them equal or document this more clearly. The way things are now is just asking for errors.
cc @SolBugz