I have the following question. Suppose $g_1$ and $g_2$ are two finite dimensional, nilpotent, stratified Lie algebras and $A:g_1\to g_2$ is a morphism of the graded Lie algebra. I wonder whether there is a natural way to speak of the determinant of $A$ similar to the Euclidean case, namely in the Euclidean case, a linear mapping $A:\mathbb{R}^n\to \mathbb{R}^n$ can be identified with a matrix and so the determinant can be defined as the determinant of the matrix (represented in the global coordinates).
Here the difficulty for me is the following: $g_1$ and $g_2$ are not necessarily the same Lie algebra and so I cannot jsut fix an orthogonal norm basis of each Lie aglebra and use the determinant of the corresponding matrix, since the representation matrix will then depend on the basis for $g_1$ and $g_2$ and is not invariant under change of basis.
Note also that $A$ is not necessarily an isomorphism of the Lie algebra, in which case, one could associate a volume measure for the Lie algebras and define the determinant of $A$ as volume derivatives. (In the Riemannian manifold case, one can use the invariant determinant for the differential $Df(p):T_pM\to T_qN$ of a smooth map $f:M\to N$, namely regard the differential as a tensor field).
References, suggestions and comments are greatly appreciated!