Model groups
Model groups
| Command | Behavior |
|---|---|
group show --group PUBKEY | Read group, token metadata, and backing. |
group create --accounts-file FILE --parameters-file FILE | Plan a launch from prepared SDK account and parameter objects. |
group update-metadata --group PUBKEY --name NAME --symbol SYMBOL --uri URI | Council changes token metadata. |
| `group configure-reserve --group PUBKEY --route-to-reserve true | false --tax-bps N --maximum-tax N` |
group redeem --group PUBKEY --amount N --minimum-output N | Burn model-token atoms for at least the specified payment-token atoms. |
group collect-tax --group PUBKEY --destination PUBKEY | Collect harvested model-token tax into the bank’s token account. |
group sweep --group PUBKEY | Transfer remaining backing to treasury only after supply reaches zero. |
Creation is an advanced operation. The accounts file uses SDK reserve::InitializeModelGroup; parameters use reserve::GroupInit. Prepare the exact Token-2022 account space and valid quote accounts first. Execution also needs fresh backing and curve-LP signers through --backing-keypair and --curve-lp-keypair. The command does not create every prerequisite. Planning also checks the 1,232-byte transaction limit. A separate payer adds another signature and account key; long metadata can exceed this limit. Use compact metadata at creation, then replace it with group update-metadata if needed. Follow group initialization and the SDK.
Redemption accepts optional --source and --destination. Amounts, minimum output, and maximum tax use integer atoms, not decimal token amounts. Redemption costs 0.025 SOL; council self-redemption skips that transfer. Group creation also pays the DEX’s 0.025 SOL creation fee. Network fees are separate.