Agoric / documentation

User documentation
https://agoric.com/documentation/
Apache License 2.0
15 stars 38 forks source link

How to Pay Someone aka Transfer (Wireframe + UI) #1001

Closed sufyaankhan closed 1 month ago

sufyaankhan commented 3 months ago

Product UI Requirements Document for Pay page of Dapp-Agoric-Basics

Screenshot 2024-03-18 at 10 04 23 AM

1. Introduction

1.1 Purpose

The Dapps Agoric Basics Dashboard aims to provide users with a seamless experience for connecting their Kepler wallet, viewing owned assets, and Transferring Assets to Someone

1.2 Scope

This document outlines the functional and design specifications for the Dapps Agoric Basics Dashboard. It covers features such as wallet connection, asset display, transferring assets, and wallet updates.

1.3 Document Conventions

2. Stakeholders

Key stakeholder for this UI is the 3rd party developer who is aiming to learn Agoric platform and contract creation.

3. Functional Requirements

3.1 Connect Wallet

3.2 Transfer Modal

3.3 TRANSFER Button

3.4 Wallet / Balance

4. Connect Wallet

4.1 "Connect Wallet" Button

4.2 Wallet Connection Status

4.3 Display Owned Assets

35 Transfer Modal

5.1 Pre-selected Asset

5.2 Transfer Options

5.3 Transfer Button

5.4 Asset Quantity Selection

5.5 Fee Display

6. TRANSFER Button

6.1 Interaction with Smart Contract

6.2 Interaction with Kepler Wallet

6.3 UI Update

6.4 Error Handling

7. Wallet / Balance

7.1 Display Updated Balance

8 Click and Learn

8.1 Sample Code

The UI should provide a section displaying sample code for interacting with the smart contract.

8.2 Reference Docs

Include links to reference documentation guiding users on wallet interactions

8.3 Edge Case

If the user jumps to Transfer page and don't have enough IST, guide them on how to mint more IST in to their wallets.