Last updated: 4 December 2026
Code as contract.
The rule in outline
(a) What a smart contract is
A smart contract is computer code stored on a blockchain that executes automatically when stated conditions are met (for example, releasing payment when a shipment is recorded as delivered). Nick Szabo coined the term in the 1990s, using the vending machine as his example.
(b) Is it a contract under Indian law?
Test it against section 10 of the Indian Contract Act, 1872: an agreement is a contract if made by free consent of parties competent to contract, for a lawful consideration and a lawful object, and not declared void.
Why people choose the Law and Emerging Technologies Notes for LL.M. and LL.B. (Rs. 499)
- You learn to: Write Law and Emerging Technologies answers with the rule, the authority and a clear conclusion, in the time you have
- 8 units, from Law and Technology: Theory and Regulatory Design to Drones, Autonomous Systems, Space and the Future, with the latest amendments and judgments, problem questions in every unit and a case index
- Comparison tables, short notes and definitions in every unit, and model answers with the marks marked
- Format: an online reader of 144 lessons, read on any device after logging in (no download)
The detail examiners look for
| Element | Smart contract position |
|---|---|
| Offer and acceptance (ss. 2 to 9) | Deploying code can be an offer; interacting with it by sending tokens can be acceptance by conduct |
| Electronic formation | Section 10A, IT Act, 2000: a contract is not unenforceable merely because offer, acceptance or revocation was expressed in electronic form |
| Attribution | Section 11, IT Act: an electronic record is attributed to the originator if sent by him, by a person authorised by him, or by an information system programmed by or on behalf of the originator to operate automatically. This covers automated code |
| Acknowledgment and dispatch | Sections 12 and 13, IT Act |
| Signatures | Sections 3 and 3A, IT Act (digital and electronic signatures); s.5 gives legal recognition to electronic signatures |
| Capacity (s.11, Contract Act) | Code cannot check age or soundness of mind; a minor’s agreement is void (Mohori Bibee v. Dharmodas Ghose, 1903, Privy Council) |
| Free consent (ss. 13 to 22) | Mistake, misrepresentation or fraud in code is still a vitiating factor |
| Lawful object (s.23) | A smart contract to launder money or to place illegal bets is void |
Exclusions. Under section 1(4) read with the First Schedule, IT Act, the Act does not apply to negotiable instruments (other than cheques), powers of attorney, trusts, wills and contracts for sale or conveyance of immovable property. A smart contract cannot by itself convey land in India.
Case box: Trimex International FZE v. Vedanta Aluminium Ltd. (2010) 3 SCC 1
- Facts: The parties exchanged offers and acceptances by e-mail; no formal contract was signed. The question was whether a binding contract (with an arbitration clause) had been formed.
- Held: A contract was concluded through the e-mail exchange; the absence of a signed formal document did not prevent formation.
- Why it matters: The principle carries to code. If parties show intention through electronic conduct, Indian law treats the agreement as concluded.
(c) The four hard problems
- Code versus intention. If the code does something the parties did not intend, which governs? Courts will look to intention, but the code has already executed.
- Mistake. Case box: Quoine Pte Ltd v. B2C2 Ltd [2020] SGCA(I) 02 (Singapore Court of Appeal)
- Facts: A glitch caused an exchange’s automated system to execute trades at about 250 times the market rate. The exchange reversed them.
- Held: The reversal was a breach of contract; for unilateral mistake, the court looked at the knowledge of the programmer at the time of programming, not of the machine at the time of trade.
- Why it matters: The leading common law authority on mistake in automated contracts; persuasive in India.
- The oracle problem. Code depends on outside data feeds (“oracles”). If the feed is wrong, who is liable?
- Remedies. Rescission and restitution under ss. 64 and 65 of the Contract Act require undoing performance, which an immutable chain resists. Courts must order a counter transaction instead.
This is part of the full treatment. The complete section, with the cases, the sentences to write in an answer and the model answers, is in the notes.
Quick FAQs
Which law governs them? The Contract Act with ss.10A and 11 of the IT Act.
Which case accepted email contracts? Trimex (2010).
Which foreign case dealt with mistake? Quoine v. B2C2 (Singapore, 2020).
Why people choose the Law and Emerging Technologies Notes for LL.M. and LL.B. (Rs. 499)
- You learn to: Write Law and Emerging Technologies answers with the rule, the authority and a clear conclusion, in the time you have
- 8 units, from Law and Technology: Theory and Regulatory Design to Drones, Autonomous Systems, Space and the Future, with the latest amendments and judgments, problem questions in every unit and a case index
- Comparison tables, short notes and definitions in every unit, and model answers with the marks marked
- Format: an online reader of 144 lessons, read on any device after logging in (no download)
Related guides
- IAMAI v. RBI (2020): The Crypto Banking Ban
- Crypto Tax in India under the Income-tax Act, 2025
- Crypto and Money Laundering: PMLA Notification 2023
- The e-Rupee: India's CBDC
- DPDP Act versus GDPR
- Surveillance Law in India and Pegasus
- Children's Data under the DPDP Act
- Consent Managers and the Data Protection Board
This guide is general legal information for study, not legal advice. Statutory provisions are amended and cases are decided every year, so check the current text of the law before relying on any section or citation. Lexfolio is independent and is not affiliated with any university, board or government body.
Useful books for this topic
- Bare acts of the new criminal laws (BNS, BNSS, BSA)
- Code of Civil Procedure bare act
- Legal drafting and conveyancing books
- Constitution of India (coat pocket edition)
As an Amazon Associate, Lexfolio earns from qualifying purchases. Prices and availability are shown on Amazon.
Learn this properly, with a certificate. Police and FIRs, consumer and bank fraud complaints, property, wills and inheritance, work rights, family law, cyber fraud and RTI, in plain English. Certificate Course in Everyday Law for Every Indian, ₹349: self-paced lessons, module quizzes and a final test; pass at 60% for a verifiable Lexfolio certificate.
Leave a Reply