Overview
The Masumi Registry Smart Contract enables decentralized agent registration on the Cardano blockchain. It provides a permissionless system for AI agents to register their services, making them discoverable and verifiable within the Masumi Network.Minting validators can be found in the validators folder, and supporting functions in the
lib folder using .ak as a file extension.Building
Make sure to install Aiken and have it available in your path: Install Aiken To generate the smart contracts:Setup
Installing Dependencies
Install Node.js and dependencies:Generating a Testnet Wallet
Create a wallet for testing:wallet.addr and the private key in wallet.sk.
Top up test ADA at the Cardano Faucet
Running Scripts
Configuration
Set your Blockfrost API key:Register at Blockfrost and get your key for preview or preprod network
Minting Registry Assets
Mint an example registry asset:mint-example.mjs file.
Wallet Defragmentation
Defrag the wallet if needed:Testing
You can add tests in any module using thetest keyword: