Skip to content
Carbon

Carbon: Native Assets on Phantasma Phoenix

Carbon is the native asset layer for Phantasma Phoenix. It defines how tokens and NFTs are created, stored, and transferred directly by the chain.

Every token on Phantasma Phoenix is a native asset of the chain. Standard asset operations such as token creation, series creation, minting, transfer, burn, and infusion are handled directly by the chain instead of requiring a custom contract for every asset.

For advanced behavior, a token can also be backed by VM code. In practice this means:

  • a new token-backed contract can be installed during token creation
  • VM code can be attached later to an already existing token
  • the attached or created token-backed contract can then be upgraded later

This is different from a standalone custom contract. Token symbols and standalone custom contract names are separate flows.

Below is a quick look at what makes Carbon different and how the 4th-generation asset model works.

What makes Carbon different

  • Native asset operations: Creating, minting, transferring, burning, and creating NFT series are built-in chain operations, so you do not deploy a custom smart contract just to define an asset.
  • Schema-validated metadata: NFT metadata is structured and validated by the chain using schemas.
  • NFT addresses and infusion: Each NFT has its own address, derived from its token id and instance id. Assets sent to that address become attached to the NFT (nested ownership). Sending assets to an NFT address, and moving them out of it, needs the signature of the NFT’s owner.
  • Optional token-backed VM layer: Advanced tokens can have VM logic attached without changing the fact that the token itself is still a native asset.

4th-generation asset model

In Carbon, asset rules live in the protocol itself. Tokens and NFTs are native chain entities, and their operations are handled by built-in runtime methods.

Here is a high-level comparison between a contract-based asset model and Carbon’s native model:

AspectContract-based asset modelCarbon native asset model
Execution modelAsset logic runs inside a smart contractAsset logic is a built-in chain runtime operation
Asset definitionTokens/NFTs are defined by contract codeTokens/NFTs are protocol primitives
Deployment stepRequires contract deployment before assets existTokens are created by native transactions; optional VM logic can be added through token-backed flows
Execution pathUser-defined bytecode runs in a VMNative asset operations stay native; optional token-backed hooks run in VM when present
Metadata structureMetadata rules are defined by the contractMetadata is schema-based (series, ROM, RAM) and validated by the chain
Ownership modelOwnership is stored as contract state (tokenId -> owner)The chain records the owner of each NFT; each NFT also has its own address, and assets sent to it are attached to the NFT
Performance under loadVM overhead; latency depends on execution logicNative runtime operations with minimal latency and high throughput
Tooling flowDeploy a contract, then call its methodsBuild a transaction and sign it with a wallet

Core concepts

  • Token vs NFT: Fungible tokens represent balances; NFTs represent individual items.
  • Series metadata (shared): Information shared across a collection.
  • ROM (immutable): Per-item fields that never change after minting.
  • RAM (mutable): Optional per-item fields that can be updated later.
  • Infusion: Sending assets to an NFT’s address to attach them to the NFT. The NFT’s owner signs the transfer.
  • Token-backed contract: Optional VM code bound to a token symbol for advanced lifecycle behavior.

How to use Carbon

  • Use the Token Deployment UI to deploy tokens, attach token-backed VM contracts, create NFT series, mint NFTs, and infuse NFTs without writing code.
  • Start with the short guide: Token Deployment UI.
  • Connect a Phantasma Link wallet, such as Poltergeist Lite.
  • For advanced workflows, the SDKs let you build and sign transactions directly, and VM tooling lets you compile and deploy contract bundles where needed.

Want the developer details?