Smeltr Token-2022

v0.1.1
io.github.Space-Raven/smeltr-token2022 Checked 22 hours ago Published 5 months ago

Validate Token-2022 configs (transfer fee, soulbound, delegate).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_modules

List the Solana Token-2022 extension modules Smeltr supports (Transfer Fee, Non-Transferable, Permanent Delegate), with descriptions and high-impact flags.

describe_module

Describe one Token-2022 module: its parameters, types, valid ranges, which fields are authorities, and security notes.

ParameterTypeDescription
id *stringModule id, e.g. 'transfer-fee', 'permanent-delegate', 'non-transferable'.

validate_config

Validate a proposed Token-2022 module selection and parameters against Smeltr's real compatibility engine and each module's schema. Returns hard-conflict errors, soft-conflict warnings, and per-parameter validation issues.

ParameterTypeDescription
modules *arrayThe Token-2022 modules to configure, each with optional params.

estimate_cost

Estimate the SOL cost to deploy a Token-2022 token with the given modules: exact Smeltr platform fee plus an estimated rent range.

ParameterTypeDescription
modules *arrayThe Token-2022 modules to configure, each with optional params.