The definition (the Nepali text): "Where an agreement is concluded between two or more parties to do or abstain from doing any act enforceable by law, a contract shall be deemed to be made" — the Muluki Civil Code, 2074's opening formula (Part V, the sections 493–671 family) — the modern codification of the classic: an agreement enforceable by law. The elements: agreement (offer + acceptance); parties (two or more, with capacity); the promise's object (to do or abstain); enforceability — the element distinguishing contract from social arrangement: the dinner invitation and the moral promise unenforceable. All agreements are not contracts — the Nepali Supreme Court's steady line (agreements of obligation but not enforceable contracts until the contract's own requirements are met).
The comparative definitions: the common-law classic — "an agreement creating and defining obligations between the parties" (the promise-for-promise exchange, consideration's world); the civil-law frame — the Code Civil's consent-obligation-cause-object quartet; the international restatements — the UNIDROIT Principles' "agreement intended to produce legal effects" (Nepal not bound, but instructive — the globalization of contract's vocabulary).