what if there are 2 or more new slatepacks fetched from nostr relay? do you display all of them? One idea could be:
- if the slatepack is from step1 then create new “transaction object” internally (by “transaction object” i mean wallet’s internal data structure for storing transaction related data)
- if the slatepack is from step2 then update an existing “transaction object” internally and post the completed transaction on the chain
In the first case you still need to sign that transaction and send it. I guess the “fetch from nostr” could just output ID’s of new transaction objects and then you would run command for signing that transaction and specify --nostr or whatever to send the new slatepack there.
I guess you could select a subset of public ones as the default list of relays if the user doesn’t manually tell which set of relays he wants to use. In the future it would be nice to have some kind of wallet config nostr --relay-list domain1,domain2... or something similar to be able to configure transport options (also for other transport protocols).