Smart Contracts, Research, Ethereum, Solidity, Cryptography.
following Secp256k1 example depicts how to inherit the library by providing a function to derive a public key from a secret key: pragma solidity ^0.5.0; import "./EllipticCurve.sol"; contract Secp256k1 is EllipticCurve { uint256 constant GX =