Closed liuxh-go closed 4 years ago
I have solved the problem of seed, but now I do n’t know how to generate the address from the seed, because I do n’t know C ++ well, so I do n’t understand the conversion algorithm. Can I provide a conversion algorithm?
please, look at void IWalletDB::get_SbbsWalletID(WalletID& wid, uint64_t ownID) method. The key moment here is that we are using key derivative functions(kdf) to generate all the keys in BEAM (including new kdf). Generation of a new secret key looks like one of kdf->Derive*() methods call. Input data for these methods is a structure KID which holds an integer index(and subindex) and type of the key. So, to create a SBBS address we
Note, that sbbs address is simply the mean of communication between wallets.
there is no user's response for 6 months
I now have a problem. After using the downloaded wallet program to perform the
init
operation, I recordedGenerated seed phrase
in the command line interface, and then took outWalletSeed
from the database file.I referenced the code ofcli.cpp
, then I used the Go language, but the result was The data is different from WalletSeed. How do I calculate WalletSeed?