Is there a way to store small amounts of data on the blockchain?

This question was asked at chia_network.public on Keybase.

1 Like

You can store data on the blockchain in the solution, puzzle reveal, and output of coins.

2 Likes

The more data you store, the higher the fee will be for the transaction.

2 Likes

How is the fee calculated?

2 Likes

If you’re talking just pure bytes, it’s 16000 per byte. Maximum block cost is 11 billion.

1 Like

And you pay fees to compete for block space, it is not a calculation it is an estimation. The higher the cost of your CLVM program, the more fees you will have to pay to convince the farmer to fit your transaction in a block sooner.

2 Likes

But the cost right now is zero since most blocks are empty and there is no fee pressure. Each block can fit 100k or so.

I was referring to CLVM cost which is what determines how much space a transaction takes up in a block. You are correct that currently you’ll pay almost 0 monetary cost for even the biggest possible transaction.

1 Like