Simple Marketplace DApp User Stories
Personas
ID | NAME | DESCRIPTION |
---|---|---|
Operator | Operator | |
Seller | Seller | |
Buyer | Buyer |
User Story ID: DApp.01
- Test PV2
- Test PV3
Title: Create reference script UTxO
User Story
- As an operator, I want to create a reference script UTxO to simplify transactions involving the market.
Functional Requirements
Requirements | Acceptance Criteria |
---|---|
Run a test to create a reference script UTXO | Transaction to pay to the script address with a UTXO containing reference-script should succeed and be accepted to the chain |
User Story ID: DApp.02
- Test PV2
- Test PV3
Title: Place multiple tokens on sale
User Story
- As a seller, I want to place tokens on sale to offer them to potential buyers.
Functional Requirements
Requirements | Acceptance Criteria |
---|---|
Run a test to place tokens on sale | Transaction to lock lock the tokens to the contract address should succeed and be accepted to the chain |
User Story ID: DApp.03
- Test PV2
- Test PV3
Title: Withdraw token from sale
User Story
- As a seller, I want to withdraw token from sale.
Functional Requirements
Requirements | Acceptance Criteria |
---|---|
Can Withdraw with script included in transaction | Transaction to redeem a token from sale with Withdraw redeemer should succeed and be accepted to the chain when script is included in transaction. |
Can withdraw with reference script | Transaction to redeem a token from sale with Withdraw redeemer should succeed and be accepted to the chain, when the UTXO containing script is included in reference inputs. |
User Story ID: DApp.04
- Test PV2
- Test PV3
Title: Buy token from sale
User Story
- As a buyer, I want to buy a token of my choice from sale.
Functional Requirements
Requirements | Acceptance Criteria |
---|---|
Can Buy with script included in transaction | Transaction to redeem a token using the Buy redeemer should succeed and be accepted to the chain, when script is included in transaction |
Can Buy with reference script | Transaction to redeem a token using the Buy redeemer should succeed and be accepted to the chain, when the UTXO containing script is included in reference inputs. |