Build 7 is out! Will be pushing this one to the App Store! Have a great weekend folks!

#coffee #plebchain #bitcoin #zap #nostr

### Added

- Add #zap and #zapathon custom hashtags (William Casarin)

- Add custom #plebchain icon (William Casarin)

### Changed

- Add validation to prevent whitespaces be inputted on NIP-05 input field (Terry Yiu)

- Change reply color from blue to purple. Blue is banned from Damus. (William Casarin)

### Fixed

- Fix padding in post view (OlegAba)

- Show most recently bookmarked notes at the top (Bryan Montz)

Reply to this note

Please Login to reply.

Discussion

This is so hard.. GG guys

Epic work!

Thank you! Have a great weekend! πŸ˜‰

πŸ”₯

πŸ’œ

thanks! πŸ™

β€œ- Change reply color from blue to purple. Blue is banned from Damus” πŸ’œ

Thank you! This is awesome. #zapathon #plebchain πŸ’œπŸ’œπŸ’œ

Had to zap you for this πŸ˜„

I love updating Damus for each TestFlight build and reviewing the release notes. So much fun watching this get built out.

Ten seconds later β€œBuild 1000 is out”

So amazing πŸ’œπŸ™ hope you get to enjoy some family time over the weekend 😊

Nostr so pretty now πŸ₯Ή

Thanx, #[0]​ , good call on banning blue color btw. #[1]

Thank you for working on improving all these little things Will, much much appreciated! #plebchain

> Blue is banned from Damus.

πŸ˜‚πŸ‘Œ

What I kinda liked the blue

Blue -> straight to jail

Say less πŸ’™

i appreciate your diligence, speed, and attention to detail

PV, JBπŸ€™

Damn, our new German translation for the "Mute" menu entry is too long and breaks on small devices (iPhone Mini/iPhone SE). We will fix the string in the next release. Or is it better to widen the menu? #[2] #[3] #[4]

https://void.cat/d/JokYf17ZKhRc2CEQUrgfkt.webp

We can make the text shrink

Can we has stummgeschaltet replace mute in English πŸ™ πŸ˜„

It is a nice word, isn't it? πŸ˜†

I just love that #plebchain icon. It’s beautiful! Thank you #[1]​ for doing this!

Will!!!!!!!!!

Any plans to support alternative accounts from a single #Damus (@Damus) installation? And the ability to configure an account by simply pasting in an nsec key (or a seed recovery mnemonic + passphrase such as one might get through BIP0085 derivation)?

By the way, here's a trivial utility to create an nsec/npub key pair using a BIP0039 conformant seed recovery mnemonic (such as one generated by BIP0085 key derivation):

#!/usr/bin/env python

## Tested under pyenv 3.10.5

# Standard Libraries:

import sys

## Requirements:

import bip39

from nostr.key import PrivateKey

## NOSTR derivation path from SLIP44

path = "m/44'/393'/0'/0/0"

if __name__ == '__main__':

if len(sys.argv[1:]) != 2:

print('Must supply mnemonic and passphrase as two arguments')

sys.exit(1)

mnemonic = sys.argv[1]

passphrase = sys.argv[2]

seed = bip39.phrase_to_seed(mnemonic, passphrase)

npriv = PrivateKey(seed[:32])

# Why only 32 octets and is the first half appropriate? Optimal?

print(npriv.bech32(), '\t', npriv.hex())

print(npriv.public_key.bech32(), '\t', npriv.public_key.hex())

To use code, simply paste it into a file, pip install nostr and bip39, and run it with a command like:

./bip39tonostr.py "$(cat mnemonic.txt)" "$PASSPHRASE"

… where mnemonic.txt is a 12 or 24 word seed recovery mnemonic on a single line, separated by spaces.

As noted in the comments, I don't know why the nostr.key.PrivateKey() class initialization requires 32 bytes (of the 64 provided by bip39.phrase_to_seed()).

I don't know if all of this is cryptographically sound, and I'd rather have a qualified cryptographer or cryptologist review it before posting it to github.

USE AT YOUR OWN RISK (or don't use it at all).

If you break anything with this, you get to keep all the pieces.

πŸ’―πŸ’―