zero-chain
zero-chain copied to clipboard
To be compatible with the ethereum smart contracts
Needed to be used alt-bn 256 curve for bellman and elgamal encryption, not jubjub curve. babyjubjub(compatible with alt-bn 256):
- https://github.com/matter-labs/sapling-crypto
- https://github.com/matter-labs/bellman
- https://github.com/matter-labs/pairing
- https://github.com/matter-labs/ff
The specification of BN254 curve: https://tools.ietf.org/id/draft-kasamatsu-bncurves-01.html