During the reign of Charles II, the statute of frauds was enacted, which, so far as it affected contracts of guaranty, provided that: agreement upon which such action shall be brought, or some memorandum or note thereof, shall be in writing, and signed by the party to be charged therewith, or some person thereunto by him lawfully authorized."'