Contract Standards
Xian uses a small set of contract interface standards for token, NFT, and payment primitives that other tools expect.
Current Standards
- XSC-0001: fungible token core
- XSC-0002: permit-authorizer approvals
- XSC-0003: streaming payments
- XSC-0004: wrapped token
- XSC-0005: non-fungible token core
These standards are reflected in the canonical contracts shipped in xian-configs/contracts and the maintained packages in xian-contracts.
How To Use Them
- implement the core function signatures exactly
- keep event names and indexed fields stable
- prefer additive extensions over incompatible signature changes
- test compatibility with wallets, dashboards, and SDK code against the standard surface