metaboss
metaboss copied to clipboard
feat: Implement Token 22 Extensions for Mint and Token Accounts
This PR adds the functionality for metaboss to support Token22 for creating both mint and token accounts, via a json config file.
create fungible-22
allows you to create mint accounts. The following extensions are available.
{
"close_authority": "",
"permanent_delegate": "",
"non_transferrable": true,
// cannot be used if non_transferrable is set to true
"transfer_fee": {
"transfer_fee_config_authority": "",
"withdraw_withheld_authority": "",
"fee_basis_points": 100,
"max_fee": 10
},
// cannot be used if non_transferrable is set to true
"transfer_hook": {
"program_id": "",
"authority": ""
},
"interest_bearing": {
"rate_authority": "",
"rate": 0
},
"metadata": {
"name": "",
"symbol": "",
"uri": "",
"additional_metadata": [["", ""]]
}
}
create fungible-token-22
allows the creation of token accounts. The following extensions are available.
{
"require_memo": true,
"cpi_guard": true
}
The mint fungible
command now supports Token22 program as well