Sample Prompts

This section contains examples of prompts that show how to prompt the MazzumaGPT.

  1. Prompt: Write a smart contract to generate ERC20 tokens in solidity

 // SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.0.0/contracts/token/ERC20/ERC20.sol';

contract MyToken is ERC20 {
    constructor(string memory name, string memory symbol) ERC20(name, symbol) {
        // Mint 100 tokens to msg.sender
        // Similar to how
        // 1 dollar = 100 cents
        // 1 token = 1 * (10 ** decimals)
        _mint(msg.sender, 100 * 10 ** uint(decimals()));
    }
}

  1. Prompt: Write a smart contract to mint native tokens in plutus

  1. Prompt: Write a smart contract to mint nft in solidity

  1. Prompt: Implement a validator smart contract in plutus

  1. Prompt: Write a smart contract for multi-sig wallet in solidity

  1. Prompt: Write an on-chain token minting policy in plutus

Last updated