Replies (67)

This is gold .. one npub for communication and value .. can it show my Bitcoin balance right on my nostr profile :-) .. to make sure I flaunt my holdings ..
For optimizing the privacy for p. 2 & 3, can't we use the BIP85 Child Key (nostr signing key) as a new key and derive addresses from it?
Most clients don't. It would fix a lot if they did, though. You'd still have to guard the root key with your life. If you lost a child key you could potentially recover by emitting a "move" event from the root key.
The clients should remain dumb to this process to avoid a leak. The users should be deriving the nostr key from their master key that they have thoroughly backed up in steel plates. You can recover the child key as long as you have the master key back up and the index number attached to the child key. This is primarily a security feature that users must warp their heads around. It has to be done in a secure environment, on a laptop that has never been online and that will never be online, with WiFi/BT and hard drive stripped and by using tails from a USB stick. Clients can't do this in a secure manner.
That was my question: if we can use the child key to derive addresses from it through signer apps, our initial master key would t he exposed even to these apps. I'm not sure whether we can use BIP85 32 bytes hex to derive addresses.
Mashi mashi's avatar
Mashi mashi 2 months ago
It would be great if your NSEc derived a Border Wallet. From the Border Wallet, pick one 11-word seed and one for the checksum. That child PK would make a public paynyms/silentpay address. Rotate your keys as you wish.
You'd have to publish your bitcoin address(es) in your kind 0. This solution doesn't even require that. No more bullying people to "add an address to your profile so I can zap you". You don't even need to connect to a relay.
Mashi mashi's avatar
Mashi mashi 2 months ago
Can it be adapted to generate a silent payment address? With SilentPay, you can eliminate the problem of address reuse.
Citizen's avatar
Citizen 2 months ago
Very interesting, seems more dangerous to me. I think Chain analysis is gonna have a field day with this.
The input text box is hidden behind the keyboard so I can't see what I'm typing. Firefox on graphene. Cashu routstr is perfect. I started vibing in 30 seconds. It stops vibing when my phone goes to sleep so that severely limits usefulness.
Mashi mashi's avatar
Mashi mashi 2 months ago
I would pay a bounty for this feature. Cake Wallet already had a full version of this feature, even though it was in the beta phase. Nostr needs this feature by default. On-chain needs to be used more and have more social use cases.
BTW silent payment address derived from nsec is the best solution. You prolly need a hosted trusted index service to make mobile UX not terrible.
You can tip Nostr users on Amethyst without broadcasting publically to Nostr relays iirc (strictly through Lightning Network) Would be cool to have that option
Thomas 's avatar
Thomas 2 months ago
Which iOS mobile wallet supports this thing?
nice one! do you know why the address is different than the one that deezy.place generates? and btw. sending should also work with the extension, there are all necessary signing methods available.
I connected it to my NWC with local alby hub. the shows dont show. What am I missing. Also tried to import WIF into some wallets but they none seem to have support for taproot. should I go for Core? what am i missing.. I sent some funds and want to recover.. Its a fun mission..
People have many Bitcoin wallets with different purposes. I am not totally sure what you are saying here, that someone without Nostr can send Bitcoin to it.... i am not sure what problem you are solving? (i mean this as a postivite question). To receive bitcoin, I have to give a Bitcoin or lightning address to the sender, so now i have to give them an npub?
>It's not possible to sign an arbitrary message with any sort of signature scheme by Trezor. > >It would be really stupid to allow this: if the message is arbitrary, you can stuff in, say, a valid Bitcoin transaction. Then it's a matter of crafting a clever malware, telling the user: "Security check: please confirm the following characters on your Trezor screen to validate your wallet", and stealing their money. > >The SignMessage APIs look like they accept an arbitrary message, but they don't sign it: the data that is actually signed is "Bitcoin Signed Message:\n(11 bytes)hello world" or something along these lines. > >Even if that is good enough for you, this feature currently does not support Schnorr signatures :( because there hasn't yet emerged a standard for taproot message signing. Source:
that basically says the user is a security vulnerability or we have a too complicated system where users need to sign events that they don't understand? :) (at the same time users complain they get asked too much) and any signing prompt is imo better than handing over the private key. generally the user needs a bit of trust in the webapp. otherwise signing something is never a good idea imo. I think there is a signPsbt function.
do you think there is a difference between a hardware wallet and a web wallet associated to a nostr key? for me it’s kinda confusing to apply something from hardware wallet to a web wallet that works with a nostr key and also prompts users for the actual private key
Mashi mashi's avatar
Mashi mashi 2 months ago
I want a solution that is ready to use straight away on nostr and with it, all npubs can receive a private on-chain transaction on their profiles. Only the sender knows your public address.
So, lightning payments are public normally. That means we can see who zapped who. We can't, however, see what the receiver of that zap then did with it later. With this, we'd be able to. Not trying to shit on it or anything, just understand the limitations. Seems like it'd be best to at LEAST submarine swap, lightning swap, or coinjoin before spending.