Skip to content

sudonym-btc/hostr

Repository files navigation

Hostr

semantic-release: angular

Rental accomodation using purely peer-to-peer technologies such as Nostr.

Home page  Listing page  Listing page  Listing page  Listing page 

Read docs in full here

This repo contains

.
├── app                 # Client app deployed to store
├── escrow              # Server side daemon to arbitrate txns
├── infrastructure      # Infrastructure-as-as code required to run the project
└── README.md

NIPs Utilized

  • NIP-01: Basic protocol for event creation and subscription.

  • NIP-04: Encrypted direct messages for secure communication between hosts and guests. (Deprecated)

  • NIP-47: Private Direct Messages

  • NIP-05: Mapping Nostr keys to DNS-based internet identifiers.

  • NIP-09: Event deletion for removing listings or messages.

  • NIP-33: Parameterized replaceable events for creating and updating listings and bookings.

Clone

git clone [email protected]:sudonym-btc/hostr.git

TODO

App

P1

  • Startup loading page
    • Sync giftwraps
    • Broadcast preferred user blossom servers if not found
    • Broadcast preferred user relays if not found
    • Broadcast preferred user escrows if not found
  • Blossom files
    • Image component which loads pubkeys blossom servers and generates file path
    • Caching of blossom servers between Image components
    • Blossom server infrastructure
  • State management
    • Update Nip01Events in EntityCubit / ListCubits if they are updated
  • Settings
    • Update relays
    • Update trusted escrows
    • Display public / private keys
  • Escrow
    • Escrow advertisement events should allow for multiple services in one advertisement event
  • Reservation Requests
    • User trust escrow event broadcast
  • Payment status
    • Check if can NWC allows fetching invoice with description
    • Combine rootstock status check and NWC status check into one PaymentStatus
    • Mock NWC should record "paid" invoices and respond to list invoice request appropriately
    • Mock lightning payments should 'resolve' accurate invoices and amounts
  • NIP 05 verification
  • Language file
  • Tests

P2

  • Payment flow in one "snackbar" instead of repeated popups

Escrow

  • Update escrow advertisement on launch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published