Static secp256kfun::G
source · pub static G: &Point<BasePoint, Public, NonZero>
Expand description
The main basepoint for secp256k1 as specified in SEC 2: Recommended Elliptic Curve Domain Parameters and used in Bitcoin.
At the moment, G
is the only BasePoint
in the library.
use secp256kfun::G;
assert_eq!(
format!("{:?}", G),
"Point<BasePoint,Public,NonZero>(0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798)"
);