def pubkey
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/schnorr.bend as Schnorrimport Base
116# PubKey(sk) = bytes(d' G)
117def pubkey(+one: Nat, +sk: List<&2, U32>) -> Maybe<&2, List<&2, U32>>:
118 pubkey_ok(one, sk, secret_ok(one, sk))