Skip to content

Commit bc03882

Browse files
authored
Merge pull request #554 from o1-labs/barriebyron-fix-offchain
fix 2: off-chain storage clarity
2 parents 39f4537 + 1fe11e3 commit bc03882

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

docs/zkapps/how-zkapps-work.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,7 @@ If you anticipate your state to be larger, or if the state accumulates per user
151151

152152
### Off-chain state
153153

154-
:::info
155-
156-
Off-chain state is not yet supported.
157-
158-
:::
159-
160-
For larger data, you might want to consider storing the root of a [Merkle tree](/zkapps/snarkyjs/merkle-tree) or a similar data structure within your zkApp's on-chain storage that references self-hosted off-chain state stored elsewhere.
154+
For larger data, you might want to consider storing the root of a [Merkle tree](/zkapps/snarkyjs/merkle-tree) or a similar data structure within your zkApp's on-chain storage that references self-hosted off-chain state stored elsewhere. Mina doesn't offer an out-of-the-box solution for off-chain storage.
161155

162156
When the zkApp runs in a user's web browser, it can insert state to an external storage, such as IPFS. When the transaction is sent to the Mina network, if it accepts this zkApp transaction then proof and state are known to be valid valid so the updates are allowed, then the zkApp transaction can update the root of the Merkle tree that is stored on chain.
163157

0 commit comments

Comments
 (0)