Every point is a generator point in Ristretto group. Two generator points, g and h , are hard-coded s.t. the discreet log between them is unknown and are used for generating keys, commitments and proofs.
A scalar is an integer modulo the Ristretto group order |G| = 2^252 + 27742317777372353535851937790883648493
A point is a group element in the Ristretto group.
Pedersen commitment is a point s.t.
where g and h are globally available generator points, v is the secret scalar value and r is the blinding factor.
Twilight uses merlin to generate random challenge scalars, instantiated using Keccak-f at 128 bits security level, to convert interactive sigma protocols to non-interactive proofs.
Twilight uses rust implementation of bulletproofs via a CGO bridge to generate 32bit range proofs.