The private key $k^n_i$ is generated as:

$k^n_i = \text{Hash}{\mathbf{KeyGen}}(\text{'ed25519'},K{\text{role}}, R_e, i) \mod q$

Where: