From 20780874682839a738a04d1e291738e3e3c53bb1 Mon Sep 17 00:00:00 2001 From: Dennis Date: Mon, 29 Apr 2024 18:16:05 +0200 Subject: [PATCH] docs(develop): explain why omni for gobal state (#961) Explain why Omni for global state task: https://app.asana.com/0/1206208509925075/1207169655590687/f --- docs/site/docs/develop/state.md | 29 +++++++++++++++++++++++++++++ docs/site/sidebars.ts | 1 + 2 files changed, 30 insertions(+) create mode 100644 docs/site/docs/develop/state.md diff --git a/docs/site/docs/develop/state.md b/docs/site/docs/develop/state.md new file mode 100644 index 000000000..7ccd7ace1 --- /dev/null +++ b/docs/site/docs/develop/state.md @@ -0,0 +1,29 @@ +--- +sidebar_position: 2 +--- + +# Global State with Omni + +Omni grants the flexibility to use any rollup for central state management, the choice is on the developer. However, there are benefits for using the Omni EVM for global state. + +## Why Choose Omni? + +### Enhanced Ecosystem for Developers + +- **Omni EVM Similarities and Extensions**: Omni's EVM closely mirrors standard rollup EVMs but includes unique predeploys and gas token options that enhance functionality, making it well-suited for global state management. +- **Predeploys and XApps**: Omni could integrate more specialized predeploys like cross-chain cron jobs, and success/revert callback management systems, providing robust solutions for complex application needs. + +### Superior Tooling + +- **Cross-Chain Development**: Omni seeks to offer tailored tools for managing cross-chain applications seamlessly. + - **TypeScript Libraries**: To enhance development with powerful, easy-to-integrate libraries. With state management built in. + - **Custom Explorer**: To aid developers in viewing cross-chain messages and manage global state changes effectively. + - **Development Environments**: Benefit from environments that support instant finality and reliable transaction propagation. + +### Instant Finality and Reliable Messaging + +- **Hub and Spoke Model**: Omni's model ensures that messages (xmsgs) sent from the Omni EVM are finalized instantly without compromising on cross-chain cryptographic guarantees. Managing global state from another EVM would be tied to finality waiting times. + +## Final Thoughts + +The flexibility to choose any rollup for global state management is a significant advantage for developers. However, Omni seeks to cater specifically to this with specialized tools, instant messaging capabilities, and tailored ecosystem present compelling reasons to choose it as your primary platform for global state management. diff --git a/docs/site/sidebars.ts b/docs/site/sidebars.ts index a47472c84..df90d410a 100644 --- a/docs/site/sidebars.ts +++ b/docs/site/sidebars.ts @@ -187,6 +187,7 @@ const sidebars: SidebarsConfig = { ], developSidebar: [ "develop/introduction", + "develop/state", { type: "html", value: "",