Skip to content

Build the Core MVP: Streamlit App and Agent Simulators #2

@Wiper15

Description

@Wiper15

Objective

Build the minimum viable product (MVP) for PayGuard. This is Phase 1: a functional front-end that simulates the core blockchain and NFT logic.

Tasks

  • Create app.py: Build a simple Streamlit form to collect user input (employee wallet, employer name, amount owed).
  • Create agents/blockchain_agent.py: Write a function record_debt(details) that simulates recording to Solana and returns a fake TXID (e.g., "Tx12345").
  • Create agents/nft_agent.py: Write a function mint_nft(txid) that simulates minting with Crossmint and returns a fake NFT ID (e.g., "NFT67890").
  • Connect it all in app.py: When the user submits the form, call the agent functions and display the fake TXID and NFT ID on the screen as "Proof Generated".

Why This First?

This creates a demonstrable user flow without needing API keys or complex logic. We can then replace the simulations with real API calls in Phase 2.

Acceptance Criteria

The app runs with streamlit run app.py and shows a form that outputs simulated proof.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions