Glittr
  • Introduction
  • Protocol Overview
  • Contract Primitives
    • MOAs - Mint Only Assets
    • MBAs - Mint and Burn Assets
      • Vaults
    • Spec Contracts
    • Oracle Commitments
  • Building on Glittr
    • Setup
    • Faucet
    • Glittr SDK
    • Glittr Transactions
    • Glittr Contracts
    • Installing Glittr Wallet
    • Local Development Guide
  • GLIP
  • Node
    • Run a Bitcoin Node
    • Run a Glittr Node
  • Examples & Guide
    • Creating Tokens
    • Contract Custody
    • Complex Tokens
    • Vesting and Freemint Contract
    • Wrapped BTC Contract
    • USD Contract
    • Oracle Implementation Guide
    • Glittr Output Structure
    • AMM Contract
  • API Reference
    • Getting Assets API
  • APP EXAMPLES
    • Freemint App (NextJS)
    • Freemint App (React + Vite)
    • NFT App (React + Vite)
Powered by GitBook
On this page
  1. Examples & Guide

Complex Tokens

Glittr is capable of creating a more complex digital assets or tokens. Deploying multiple contracts on Glittr is expected to achieve more complex logic.

Here are some examples on how Glittr can process complex transaction:

Collateralized Token

Let’s say we want to create an over-collateralized stablecoin. We need to declare the properties of the token itself, and we’ll need users to create vaults to interact with it. This is actually two contracts.

PreviousContract CustodyNextVesting and Freemint Contract

Last updated 6 months ago