Skip to content

Commit

Permalink
Fixed address bit length (#8)
Browse files Browse the repository at this point in the history
Addresses in Tact are stored just like in FunC, that is, they take 267 bits
  • Loading branch information
ProgramCrafter authored Nov 27, 2023
1 parent c6e8f6c commit 7e85f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/(examples)/02-addresses/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ There are multiple ways on TON to [represent](https://docs.ton.org/learn/overvie

## State costs

Most addresses take 264-bit to store (8-bit for the workchain id and 256-bit for the account id). **This means that storing 1000 addresses [costs](https://ton.org/docs/develop/smart-contracts/fees#how-to-calculate-fees) about 0.189 TON per year.**
Most addresses take 267-bit to store (3 flag bits indicating standard address, 8-bit for the workchain id and 256-bit for the account id). This means that storing 1000 addresses [costs](https://ton.org/docs/develop/smart-contracts/fees#how-to-calculate-fees) about 0.191 TON per year.

0 comments on commit 7e85f62

Please sign in to comment.