ton icon indicating copy to clipboard operation
ton copied to clipboard

Invalid mnemonic generated

Open maslowalex opened this issue 1 year ago • 3 comments

Hello @ayrat555 , and thank you for your effort to build this library.

Looks like the Ton.generate_mnemonic/0 function is generating invalid mnemonics. Maybe I doing something wrong, but when I creates the mnemonic, obtains the keypair, send some ton in maiinnet to the wallet I'm no longer being able to transfer funds neither to "log in" to the wallet using the mnemonic using Tonkeeper for example.

I'm also tried to validate the addresses using tonlib-rs and I got the message from the library when trying to use the mnemonic generated by mentioned function:

Error: Invalid passwordless mnemonic (first byte: 0x9B)

Any feedback on that matter is highly appreciated.

maslowalex avatar Aug 16 '24 10:08 maslowalex

Hey @maslowalex , is there a reason why you close this issue ??

pxp9 avatar Mar 31 '25 10:03 pxp9

Hey @maslowalex , is there a reason why you close this issue ??

@pxp9 Hey! I closed mainly because of the lack of reaction, and inability to write the code that will do the job by myself.

maslowalex avatar Mar 31 '25 10:03 maslowalex

@maslowalex

I was talking to @ayrat555 today and

we are planning to refactor the library to allow for things and to have the status of Native ADHL.

We are gonna take inspiration of https://github.com/xssnick/tonutils-go

Help is welcomed!

Feel free to re-open the issue.

pxp9 avatar Mar 31 '25 10:03 pxp9