Which was was the first constitution written under Enlightenment principles?
Arguably, the first (implemented) constitution of the 1st French Republic (its 2nd written one), at least in part. Which was principally why it failed miserably. the US Constitution (like all practical/functional constitutions) was based on English Common Law and various medieval institutions, all of which had their origins in ancient tribalism and/or the Bible. If you want a more definite and specific answer, you’ll have to be more definite and specific about what you mean by “Enlightenment Principles” and perhaps a defense of why you think said principles should be categorized as belonging to the Enlightenment and not some epoch, paradigm, or ideology that developed long before or significantly after. fyi, according to current scholarship on the matter of “the Enlightenment”, scholars are pretty much agreed that “the Enlightenment” as popularly concieved, was really a fiction, a false-pedigree/origins-mth concocted in the late 1800s. the real historiography is really quite different,