You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.
Start with a fork which implements as much as possible in isolation, with code to verify basic correctness and assumptions. Then look into pain points, problems and how to make Orbital support both bn256 and secp256k1.
Then need to create a test transaction which can be used to verify implementation of mobius smart contract when it's ported to bn256.
input data[]:
two points encoded as (x, y), where x and y are 32-byte left-padded integers,
if input is shorter than expected, it's assumed to be right-padded with zero bytes
output:
resulting point (x', y'), where x and y encoded as 32-byte left-padded integers
mul
bn128mul(x, y, s) = (x', y')
input data[]:
point encoded as (x, y) and scalar s, where x, y and s are 32-byte left-padded integers,
if input is shorter than expected, it's assumed to be right-padded with zero bytes
output:
resulting point (x', y'), where x and y encoded as 32-byte left-padded integers
Start with a fork which implements as much as possible in isolation, with code to verify basic correctness and assumptions. Then look into pain points, problems and how to make Orbital support both bn256 and secp256k1.
Then need to create a test transaction which can be used to verify implementation of mobius smart contract when it's ported to bn256.
Import code from:
The text was updated successfully, but these errors were encountered: