/cadence

Product's aim is to revolutionize the music industry with an innovative platform. Artists experience fair compensation and protection through AI. And can connect their followers with NFTs. While users enjoy seamless access to a vast library of high-quality songs. This repository contains code of cadance.

Primary LanguageCadenceGNU General Public License v3.0GPL-3.0

Cadence

NOTE: Rest of Scripts and Transactions were updated in Frontend and Backend as per the need.

Installation

  1. Clone the repository

    git clone git@github.com:melomint-dev/cadence.git
    
  2. Install the Flow CLI Link

  3. Initialize Flow Project

    flow init
    
  4. Create a testnet account via CLI

    flow accounts create
    
    • Select Testnet and give your designed name
    • Your account address with name will be added in flow.json along with .pkey (private key) will be generated
  5. Add Smart Contract Path in flow.json

    {
      "contracts": {
        "MeloMint": "./contracts/MeloMint.cdc"
      },
      "networks": {
        ...
      },
      ...
      "deployments": {
        "testnet": {
          "<account name>": [
            "MeloMint"
          ]
        }
      }
    }
    
  6. Deploy the Smart contract in the testnet account created

    flow project deploy
    
  7. To run scripts and transactions, refer these documents