Skip to main content

Advanced Token Features

Beyond standard ERC-20 and ERC-721, Urblock supports specialized token standards for specific use cases.

SBT — Soulbound Tokens (EIP-5192)

Non-transferable tokens bound to a single address. Useful for credentials, certifications, and reputation.

const sbt = await urblock.tokens.create({
name: "Developer Certificate",
symbol: "CERT",
standard: "SBT",
network: "polygon_amoy",
features: { mintable: true, burnable: true },
idempotency_key: "sbt-001",
});

Key Properties

  • locked() always returns true
  • Transfers are blocked by _update() override (except mint and burn)
  • Supports supportsInterface(IERC5192)0xb45a3c0e
  • Enumerable, URI storage, pausable

Mint a Credential

const tx = await urblock.transactions.mint(sbt.id, {
to: "0xRecipient...",
amount: "1",
token_uri: "ipfs://QmCredential.../metadata.json",
idempotency_key: "mint-cert-001",
});

ERC-1363 — Payable Tokens

Tokens that trigger a callback on the receiver when transferred. Enables "approve and call" in a single transaction.

const payable = await urblock.tokens.create({
name: "Payable Token",
symbol: "PAY",
standard: "ERC1363",
network: "polygon_amoy",
initial_supply: "1000000000000000000000000",
idempotency_key: "erc1363-001",
});

Use Cases

  • Payment for services in a single transaction
  • Token-gated actions without separate approval
  • Automated subscription payments

Solady Gas-Optimized Variants

All three base standards have Solady variants with identical ABI but ~40-50% lower gas costs:

StandardSolady VariantGas Savings
ERC-20ERC20_SOLADY~40%
ERC-721ERC721_SOLADY~45%
ERC-1155ERC1155_SOLADY~50%
const optimized = await urblock.tokens.create({
name: "Efficient Token",
symbol: "EFF",
standard: "ERC20_SOLADY",
network: "polygon_amoy",
initial_supply: "1000000000000000000000000",
idempotency_key: "solady-001",
});

Complete Standards Reference

StandardTypeKey Feature
ERC20FungibleStandard fungible token
ERC20_VOTESFungibleGovernance voting delegation
ERC721NFTStandard non-fungible token
ERC1155MultiFungible + non-fungible in one contract
ERC3643SecurityT-REX with compliance enforcement
SBTNFTNon-transferable (soulbound)
ERC1363FungibleCallback on transfer (payable)
ERC20_SOLADYFungibleGas-optimized ERC-20
ERC721_SOLADYNFTGas-optimized ERC-721
ERC1155_SOLADYMultiGas-optimized ERC-1155

Next Steps