<p>I'm not sure that I fully understand your question. 2^256 what?</p>
<p>To my knowledge, the maximum size of a smart contract on ETH is 24 KB. According to the <a href="https://medium.com/cardanorss/how-to-get-started-with-metadata-on-cardano-8380bbe25103" rel="nofollow noreferrer">Cardano Foundation</a>, the maximum transaction metadata size is 16 KB. Since smart contracts are not yet deployed, I'm not sure what the size limitation will be but, it will probably be in this ball park.</p>

CC BY-SA 4.0
2021-04-29T01:52:51.530Z
thank for your answer, but I mean how many contracts Cardano can store, not the contract size.
Rong Nguyen
CC BY-SA 4.0
2021-04-29T10:09:55.333Z
@RongNguyen if a blockchain gets close to the limit, the developers will certainly adjust it to increase the limit or remove it altogether. A blockchain cannot function if it is "full".
alandarev
CC BY-SA 4.0
2021-04-29T01:45:26.437Z
2021-04-29T01:45:26.437Z
nalyd88
<p>In Cardano, the smart contractors are submitted as transactions with a validator script. Funds locked in the smart contract are in UTXO with the address as the &quot;Script Address&quot;. And based on three parameters called datum, redeemer, and context, the validator script provides the go-ahead for the release of funds.</p>
<p>Based on this setting theoretically, there is <strong>no limit to the number</strong> of deployable smart contracts since there is no limit on how many transactions can be submitted to the blockchain. The size of Datum, which can carry some bit of data, is yet to be promulgated.</p>

CC BY-SA 4.0
2021-04-29T08:05:30.083Z
Thank you, pro!
Rong Nguyen
CC BY-SA 4.0
2021-05-05T08:44:16.987Z
I don't really understand the answer. Since each smart contract corresponds to an address, and the number of bits that encode an address is fixed, and even the number of bits used to encode the hash of the datum is fixed, the number of smart contracts should be fixed, and I don't know what happens when there is a hash collision.
Joshua Chia
CC BY-SA 4.0
2021-04-29T05:02:06.073Z
2021-04-29T05:02:06.073Z
raghu
<p>I see Ethereum (ETH) can store 2<sup>256</sup> smart contracts, so is there any description about this for Cardano, i.e. how many contracts can Cardano store?</p>

<smart-contract><blockchain><ledger>
What is the maximum number of contracts Cardano can store?
# What is the maximum number of contracts Cardano can store?

(Asked by: username_0 on 2021-04-29)

I see Ethereum (ETH) can store 2256 smart contracts, so is there any description about this for Cardano, i.e. how many contracts can Cardano store?

**Tags:** smart-contract, blockchain, ledger

---

## 2 answers

### Answer by username_3 on 2021-04-29. Score: 11 | Accepted answer

In Cardano, the smart contractors are submitted as transactions with a validator script. Funds locked in the smart contract are in UTXO with the address as the "Script Address". And based on three parameters called datum, redeemer, and context, the validator script provides the go-ahead for the release of funds.

Based on this setting theoretically, there is **no limit to the number** of deployable smart contracts since there is no limit on how many transactions can be submitted to the blockchain. The size of Datum, which can carry some bit of data, is yet to be promulgated.

> **Comments:**
> **username_0**: Thank you, pro!  
> **username_4**: I don't really understand the answer. Since each smart contract corresponds to an address, and the number of bits that encode an address is fixed, and even the number of bits used to encode the hash of the datum is fixed, the number of smart contracts should be fixed, and I don't know what happens when there is a hash collision.  

---

### Answer by username_1 on 2021-04-29. Score: 2

I'm not sure that I fully understand your question. 2^256 what?

To my knowledge, the maximum size of a smart contract on ETH is 24 KB. According to the [Cardano Foundation](https://medium.com/cardanorss/how-to-get-started-with-metadata-on-cardano-8380bbe25103), the maximum transaction metadata size is 16 KB. Since smart contracts are not yet deployed, I'm not sure what the size limitation will be but, it will probably be in this ball park.

> **Comments:**
> **username_0**: thank for your answer, but I mean how many contracts Cardano can store, not the contract size.  
> **username_2**: @RongNguyen if a blockchain gets close to the limit, the developers will certainly adjust it to increase the limit or remove it altogether. A blockchain cannot function if it is "full".  

---

