/PlutusTx-API

Cardano-cli Wrapper for interacting with Plutus Scripts. Plutus Pioneer Capstone project.

Primary LanguagePython

Cardano-cli Wrapper for interacting with Cardano Plutus Scripts

Made as part of Plutus Pioneer program Capstone

Prerequisites

Python version 3.6 or above
Cardano-node 1.29.0 running with Testnet Magic = 1097911063



Instructions

  1. Clone this Github repo and navigate to the directory.

  1. Install the python dependencies
pip install -r requirements.txt

  1. Run the local awsgi server
uvicorn app:app --host 0.0.0.0 --port 80

  1. Open browser and navigate to localhost

    image

  1. Create payment keys and address with Option 1

  1. Fund this given address with your test_ada
    You can do this via the testnet faucet or your own tesnet wallet
    DO NOT SEND IT REAL ADA

  1. Select Option 2 to check if the address has recieved your tAda
    Once you see a new UTxO, proceed further

    image

  1. Move to option 3 to create a tx to the script address with a new UTxO
    Upload the compiled Plutus script, its address will be built internally.

    image

  1. Check UTxO balance with Option 2 for confirmation of transaction

    image

  1. Option 4 can be used to redeem the funded script UTxO

    image

11. You will recieve your unlocked funds.

![image](https://user-images.githubusercontent.com/56497189/135047554-ecf39fc7-5d56-4581-96b0-3fc4fbb878de.png)