XOLIX FLUID Token Factory
Generate & Deploy Custom Tokens
Deploy production-ready QSC-20 tokens, QSC-721 NFT collections, and custom FluidScript smart contracts directly to the XOLIX FLUID consensus engine.
Token Specification
Configure protocol parameters, supply, and fee models.
5%
XLS Bytecode Target
// XOLIX FLUID v1.0 FluidScript (.fls)
contract FluidToken {
state {
name: string;
symbol: string;
decimals: u8;
totalSupply: u256;
balances: map<address, u256>;
burnFeeBps: u16; // e.g. 500 = 5%
}
capability AdminCap {
authority: address;
}
init(name: string, symbol: string, initialSupply: u256) {
self.name = name;
self.symbol = symbol;
self.decimals = 18;
self.totalSupply = initialSupply;
self.balances[msg.sender] = initialSupply;
self.burnFeeBps = 500;
}
export function transfer(to: address, amount: u256): bool {
require(self.balances[msg.sender] >= amount, "Insufficient balance");
let fee = (amount * self.burnFeeBps) / 10000;
let net = amount - fee;
self.balances[msg.sender] -= amount;
self.balances[to] += net;
self.totalSupply -= fee; // Protocol deflationary burn
emit Transfer(msg.sender, to, net);
emit Burn(msg.sender, fee);
return true;
}
}