#1 2024-05-28 01:21:35

Uefi
Member
Registered: 2024-02-14
Posts: 38

Cryptocurrency in mORMot ?

Hello, is it possible to add some convenient functions to the mORMot library for working with cryptocurrency, for example, converting private keys to wallet addresses ?

Example:

privatekey: 0000000000000000000000000000000000000000000000000000000000000001

ethereum wallet:0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf
bitcoin wallet1: 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
bitcoin wallet2: 3JvL6Ymt8MVWiCNHC7oWU6nLeHNJKLZGLN
bitcoin wallet3: bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
bitcoin wallet4: 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm

It would be very cool if you implemented this, otherwise there are huge difficulties with this in Delphi, I think a lot of people would thank you

Offline

#2 2024-05-28 09:30:39

TPrami
Member
Registered: 2010-07-06
Posts: 119

Re: Cryptocurrency in mORMot ?

Hello,

Why that would have to be part of mORMot, seems like Business logic, not necessarily beneficial to the framework it self...

-Tee-

Offline

#3 2024-05-28 09:59:05

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: Cryptocurrency in mORMot ?

For sure, cryptocurencies are such a huge matter, with so many branches and algorithms, it is a whole another project...

But of course, since mORMot cryptography is now stable, well supported and efficient, making a cryptocurrency library in top of it could make sense.
No plan for it from my personal point of view. But if someone starts this work, I would be pleased to help, if some crypto primitive is missing or a bug is identified.

Offline

#4 2024-05-28 11:58:55

Uefi
Member
Registered: 2024-02-14
Posts: 38

Re: Cryptocurrency in mORMot ?

ab wrote:

For sure, cryptocurencies are such a huge matter, with so many branches and algorithms, it is a whole another project...

But of course, since mORMot cryptography is now stable, well supported and efficient, making a cryptocurrency library in top of it could make sense.
No plan for it from my personal point of view. But if someone starts this work, I would be pleased to help, if some crypto primitive is missing or a bug is identified.

Yes, indeed, I myself noticed that sha256-sha512 works perfectly and quickly in the mORMot library !

Last edited by Uefi (2024-05-28 11:59:23)

Offline

Board footer

Powered by FluxBB