← Back to context

Comment by sridhar87

15 days ago

Thanks for checking out.

Yes, it looks similar to XState. When I built it, I didn't know of XState, but of course, I did use a lot of AI to create this, so the configuration is similar to XState.

But my plan is to see if there is opportunity with this elsewhere, orthogonal to what stately seems to be doing.

> so the configuration is similar to XState

In my opinion this is a good thing. It's a really well-designed API. It's easily my favourite approach to defining state machines that I've encountered across several languages.

> see if there is opportunity with this elsewhere

Any plans to share yet? This sounds interesting!

  • Sure, I recently made a post about this as well here(https://news.ycombinator.com/item?id=46943538)

    Happy to hear your feedback.

    There are many verticals where state machines can be useful, but I think DeFi / Smart Contract is one area where I think they become more valuable, given the time it takes to implement a smart contract. Quite useful for protocol designers in the very early stages in my opinion. I was in fact designing a protocol and wanted a visual way to represent it, that's when I built this tool. I knew about mermaid, state machines, did not know about xstate.