From 37875875918365a7f7a05e72190e324f9e96bf40 Mon Sep 17 00:00:00 2001 From: Florian Date: Wed, 15 May 2024 13:39:30 +0200 Subject: [PATCH] add example and links --- docs/zkapps/o1js/offchain-storage.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/zkapps/o1js/offchain-storage.mdx b/docs/zkapps/o1js/offchain-storage.mdx index 9a59d1220..d7beac704 100644 --- a/docs/zkapps/o1js/offchain-storage.mdx +++ b/docs/zkapps/o1js/offchain-storage.mdx @@ -134,3 +134,13 @@ class MyContract extends SmartContract { ``` Currently, Offchain storage types of Field support `field.get()` and `field.set(newValue)`, while maps support `map.get(key)` and `map.set(key, newValue)`. + +## Building a Smart Contract with Offchain Storage + +## Additional Resources + +This feature remains experimental, indicating that it is currently under active development. For further insight into its implementation, please refer to the following pull requests and examples on GitHub: + +- [Experimental Offchain Storage part 1](https://github.com/o1-labs/o1js/pull/1630) +- [Experimental Offchain Storage part 2](https://github.com/o1-labs/o1js/pull/1652) +- [An end-to-end example utilizing Offchain storage](https://github.com/o1-labs/o1js/blob/main/src/lib/mina/actions/offchain-contract.unit-test.ts)