Skip to content

Latest commit

 

History

History
99 lines (71 loc) · 2.93 KB

testing_guide.md

File metadata and controls

99 lines (71 loc) · 2.93 KB

Setup: Testing Guide

First, complete the basic Rust setup instructions. If you want to play at the code level.
If no, then please follow this simple guide to make your life easy 👍

Install Docker & Docker-Compose

First, install Docker and Docker Compose. Follow the basic installation guide for Docker and Docker Compose

For a Windows Machine : Follow the guide mentioned here

Installation from the terminal on a Ubuntu / Linux machine

$ curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ chmod +x /usr/local/bin/docker-compose

Docker guide

Clone the repo for Phase 2 [ Milestone 2 ] Dot Marketplace Docker

# To check the compose version
$ docker-compose --version
# To run the build
$ docker-compose up --build -d
# To stop the service
$ docker-compose down
# To view the installed images locally
$ docker images
# To delete the images
$ docker rmi <IMAGE ID>

After building the image, you can also view it on polkadot.js explorer via local node


Functional Guide for Dot Marketplace

  • Customer Workflow:

    1. Create Task
    2. Approve Task
    3. Provide Worker Ratings
    4. Can communicate using chat
    5. Disapprove Task
    6. Disapprove Rating
    7. Raise Dispute
  • Worker Work Flow:

    1. Bid For Task
    2. Complete Task
    3. Provide Customer Ratings
    4. Can communicate using chat
    5. Disapprove Rating
    6. Raise Dispute
  • Juror Work Flow:

    1. Accept Jury Duty
    2. Cast Vote

Migration from V1 to V3

Chat app workflow testing on Polkadot.js explorer

Decentralized Court workflow testing on Polkadot.js explorer


To read about the working of the pallet please refer the guide Description