3 ms·
The configuration reminds me a lot of XState, which has a beautiful visualizer/simulator (with a new version on the way I think): https://stately.ai/viz https:/
by steve_adams_86 9mo ago
The configuration reminds me a lot of XState, which has a beautiful visualizer/simulator (with a new version on the way I think): https://stately.ai/viz https://stately.ai/viz
This is cool too! I love state machines.
- sridhar87 9mo agoThanks 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.
- steve_adams_86 9mo ago> 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!
- sridhar87 9mo agoSure, I recently made a post about this as well here(https://news.ycombinator.com/item?id=46943538 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.