massalabs / massa-as-sdk

MIT License
13 stars 5 forks source link

implement assembly_script_address_from_public_key #226

Open Ben-Rey opened 1 year ago

Ben-Rey commented 1 year ago

Currently we return an hardcoded value in the vm mock.

We can check how core is doing the transformation and try to implement a javascript version.

gregLibert commented 1 year ago

Maybe it's simpler to have a setter to get the expected value.

If not, here is the golang version of how an address is generated from the public key.