-
m-relay
<gigglemonster44:matrix.org> Yes
-
m-relay
<gigglemonster44:matrix.org> Thank you, this is great, really appreciate it!
-
m-relay
<not_a_money_printer:matrix.org> I am trying to understand how public spend key and view key get generated
-
m-relay
<not_a_money_printer:matrix.org> Zero to monero says it is generated using this formula
-
m-relay
<not_a_money_printer:matrix.org> (Public view key, public spend key) = (private view key, private spend key) multiply generator point
-
m-relay
<not_a_money_printer:matrix.org> So this is basically trying to multiply a point made up of private keys with generator point
-
m-relay
<not_a_money_printer:matrix.org> But isn
-
m-relay
<not_a_money_printer:matrix.org> But isn't for elliptic curve there is only point addition and scalar multiplication? How can you multiply two points?
-
moneromooo
The secret key is a scalar.
-
m-relay
<not_a_money_printer:matrix.org> Oh, so it is two independent scalar multiplication for generating the public keys
-
moneromooo
Generating the spend public key only needs the spend secret key, not the view one. And vice versa.
-
moneromooo
At least for current monero. I have no idea the new addressing scheme works.
-
m-relay
<not_a_money_printer:matrix.org> Thanks
-
m-relay
<not_a_money_printer:matrix.org> Also for generating the subaddress "master monero" gives this formula : Public view key subi = private view key * Public spend key subi
-
m-relay
<not_a_money_printer:matrix.org> So we are doing a modular integer multiplication here for?
-
m-relay
<jeffro256:monero.social> No, another scalar-point multiplication
-
m-relay
<jeffro256:monero.social> The private keys are scalars. The public keys are points. Multiplying a scalar by a point yields a point
-
m-relay
<not_a_money_printer:matrix.org> Thanks, how can I find the code related to this in the monero repo?
-
moneromooo
secret_key_to_public_key IIRC.
-
moneromooo
in src/crypto
-
m-relay
<edgzoah:matrix.org> hi, have someone recent
-
m-relay
<edgzoah:matrix.org> hi, have someone recently used mymonero-utils/mymonero-monero-client, specifically WABridge.createTransaction and can confirm it's working. Cause i am getting an error related to emscripten:
-
m-relay
<edgzoah:matrix.org> Invalid UTF-8 leading byte 0xba encountered when deserializing a UTF-8 string in wasm memory to a JS string!
-
m-relay
<edgzoah:matrix.org> Any help would be apreciated.
-
m-relay
<jeffro256:monero.social> Maybe ask in Monero Community Dev ?