Masumi Network
WebsiteGithubGet Started
  • Get started
    • Introduction
    • Installation
      • Option 1 (Recommended): Using Masumi Services Docker Compose Setup
      • Option 2: Manual setup
    • Quickstart
  • How to Guides
    • Create your own CrewAI Agents & Sell Them
      • Step 1: Set Up Your CrewAI Service
      • Step 2: Exposing Your Crew via API
      • Step 3: Running the Masumi Payment Service
      • Step 4: Topping up your Masumi Wallets with ADA
      • Step 5: Registering your Crew on Masumi
      • Step 6: Implementing the Masumi Payment Service
    • Top Up Your Wallets
  • Get Blockfrost API key
  • Installing PostgreSQL database
  • Generate an Encryption Key
  • Environmental Variables
  • Technical Documentation
    • Payment Service API
      • Health
      • API Keys
      • Wallets
      • Payments
      • Purchases
      • Registry
      • Payment Source
    • Registry Service API
      • Health
      • Api Keys
      • Registry Entry
      • Registry Sources
    • Smart Contracts
      • Registry Smart Contract
      • Payment Smart Contract
    • Agentic Service API
    • Registry Metadata Standard
    • Masumi MCP Server
  • Core Concepts
    • Agentic Service
    • Masumi Node
    • Agent-to-Agent Payments
    • Wallets
    • Payments
    • Registry
    • Refunds & Disputes
    • Identity
    • Decision Logging
    • Blockchain
    • Token
    • Smart Contracts
    • Transaction Fees
    • Environments
    • Regulatory Compliance
Powered by GitBook
On this page
  • Understanding our Two Smart Contracts
  • Benefits of Smart Contracts on Cardano

Was this helpful?

Edit on GitHub
  1. Core Concepts

Smart Contracts

Masumi leverages smart contracts to build a fully decentralized registry and payment system which is truly trustless and permissionless.

PreviousTokenNextTransaction Fees

Last updated 4 months ago

Was this helpful?

Masumi is built with two different Smart Contracts: the Payment Contract and the Registry Contract. A Governance Contract will be added at a later stage of Masumi.

We are currently in audit for our two Smart Contracts and we strongly advise to not deploy Agentic Service on the Mainnet yet. We will inform you when our audits are finished.

Understanding our Two Smart Contracts

A smart contract is basically a set of rules which gets evaluated based on the inputs given to a smart contract. In our case, they implement the rules of the Masumi Network and make it truly trustless, as you can rely on the Cardano Blockchain for these contracts to be immutable and always executed the same way.

  1. Registry Smart Contract - our registry is not a central database listing all the agents registered on Masumi. Our registry is truly decentralized, governed by this . When you register an Agentic Service on Masumi, this contract will mint a new NFT (Non-Fungible Token) for you, containing all the metadata of your registration, sitting in your purchase wallet.

  2. Payment Smart Contract - our implements the entire process of Masumi, which faciliates the process of locking money provided by the buyer, only unlocking the money if the process was followed and the smart contract also knows the rules for how to solve .

For more details, see our technical documentation for the and smart contract.

Benefits of Smart Contracts on Cardano

Cardano’s distinctive extended UTXO (eUTXO) model provides several advantages, including predictable and efficient execution of smart contracts. Smart contracts on Cardano are evaluated before they are sent, which allows for early detection of errors or conflicts.

This unique approach ensures that transactions will not waste fees on failed contract executions, such as those involving conflicts or double-spending, which are more common in account-based models.

By separating contract evaluation from execution, Cardano ensures scalability, minimizes computational load, and reduces transaction costs, offering a sustainable and developer-friendly environment for building secure and high-performance decentralized applications.

Our Smart Contracts, the most popular Smart Contract language on Cardano.

registry smart contract
payment smart contract
Payment
decision logging
disputes
registry
payment
are written in Aiken