seekerpay_shop 1.0.1 copy "seekerpay_shop: ^1.0.1" to clipboard
seekerpay_shop: ^1.0.1 copied to clipboard

Product lookup, catalog, and shop utilities for SeekerPay.

seekerpay_shop #

Product lookup, catalog, and shop utilities for the SeekerPay SDK.

Features #

  • Barcode scanning — camera-based barcode scanning with Google ML Kit
  • MRP label scanning — OCR-powered MRP/price label detection with on-device AI (Gemma 3 1B) or cloud AI (Claude Vision)
  • Product catalog — product model, lookup service, and Riverpod providers
  • Order cart — order model, cart management, and cart sheet UI
  • Currency conversion — USD and multi-currency support
  • Scan history — persistent scan history with SharedPreferences
  • Arweave/Irys storage — decentralised order storage on Arweave via Irys

Installation #

dependencies:
  seekerpay_shop: ^1.0.0

Usage #

Scan a barcode or MRP label #

await ProductScanSheet.show(context, onConfirm: (product, usdPrice) {
  // handle scanned product
});

await MrpScanSheet.show(context, onConfirm: (product, usdPrice) {
  // handle scanned MRP label
});

Show the order cart #

OrderCartSheet.show(context, skrPerUsd: 0.02);

Configure on-device LLM or Claude Vision #

ShopLlmSettings(showHeader: true)
ClaudeVisionSettings(showHeader: true)

Topics #

solana · payments · shop · pos · web3

License #

MIT