Glasspad's modular architecture supports launch extensions — additional logic that runs during token deployment.
Available extensions
| Extension | Description |
|---|---|
| AirdropV2 | Distributes tokens to a community at launch |
| Vault | Configurable token allocation for deployer (extensionBps) |
| DevBuy (v4) | Atomic buy bundled into the deployment transaction, protected from front-running |
| Presale Allowlist | Allowlist-gated presale before public trading |
| Presale ETH | ETH-based presale with proceeds paid to the creator |
Extensions are gated by the factory: only factory-approved extensions can be used.
To enable an extension, the factory owner calls factory.setExtension(extensionAddress, true).
