rooch icon indicating copy to clipboard operation
rooch copied to clipboard

Support nostr address format

Open jolestar opened this issue 1 year ago • 7 comments

After #1770, all Bitcoin addresses can generate a rooch address. The nostr address is the same as the bitcoin taproot address type bip340 nips01

  • [x] #2211
  • [x] #2233
  • [ ] SDK support generates the rooch address via the nostr address and provides a function to allow the nostr app to sign rooch tx via the nostr private key.

relative issue #406 #451

jolestar avatar Jul 17 '24 06:07 jolestar

I think I can look the first issue #2211.

@feliciss, Can you continue the second issue? It just updates the RoochOrBitcoinAddress::from_str, for supports parsing nostr bech32 address -> Bitcoin Address -> RoochAddress.

jolestar avatar Jul 20 '24 03:07 jolestar

@feliciss, Can you continue the second issue? It just updates the RoochOrBitcoinAddress::from_str, for supports parsing nostr bech32 address -> Bitcoin Address -> RoochAddress.

Okay.

Submitted a new PR #2235.

Is the third task related to TypeScript?

Is the third task related to TypeScript?

yes

jolestar avatar Jul 22 '24 14:07 jolestar

Is the third task related to TypeScript?

yes

I think it might be handled by @wow-sven ?