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. Contract Primitives

MOAs - Mint Only Assets

Mint Only Assets are contract that do not have custody, and do not have functionality beyond minting assets.

MOAs could include one-way-burn equivalents of other assets (e.g. Runes, or fractionalizing Ordinals), assets that are purchased by sending other assets out of band (e.g. a stable like Hermetica, which requires direct BTC custody), and of course, shitcoins.

MOAs must specify the following arguments:

  • Supply cap (can be -1 if infinite)

  • Divisibility

  • A minting method

There are several minting mechanisms, and each has its own required arguments. An MOA may have a free mint (like Runes), be entirely pre-allocated (e.g. airdrops), or require that other assets are burned or transfered. In the case of a transfer, these transfers are to a separate location - MOAs do not have contract custody.

MOAs can additionally add other building blocks to increase their functionality, for example:

  • Use of an oracle block to determine a dynamic minting ratio

  • Use of a more complex logic block for vesting schedules

PreviousContract PrimitivesNextMBAs - Mint and Burn Assets

Last updated 6 months ago