Is there any documentation for the make_seed command? Does it make a seed with version number included, is it segwit by default for the latest Electrum version 4?
you can pass the following args:
async def make_seed(self, nbits=None, language=None, seed_type=None):
so you can do
make_seed(nbits=256, language="english", seed_type="standard")
the above will create a 256bit seed in english with p2pkh wallet type. segwit is indeed the default type in 4.0.x
So if I just use make_seed(256) and it spits out 24 words, I can use that as my seed phrase for Electrum to set up or recover from it seems?
yes. you can also use your own larger wordlist to get smaller mnemonics. you just have to replace the english.txt file with your own one:
https://bitcoinelectrum.com/english-alpha-numeric.txtthe above file will give you a 19 word seed instead of a 24 word one. for example:
"gratify thumping 785 stoning rose 1323 1244 3189 kindred 6932 837 hyperlink expletive 2845 willing override 3967 1878 national"