Closed KtorZ closed 3 years ago
I'd be happy to work on this as a way to test out the interfaces of my WIP TypeScript library.
Ok @KtorZ, it's not quite ready for a PR yet but is functional and has some docs and examples https://github.com/rhyslbw/cardano-ogmios/tree/feature/client-typescript/clients/TypeScript
The tests serve as the best documentation currently:
testnet
with a local test network, to improve the assertions and coverageStatic binaries are built and uploaded as artifacts within the CI workflow as a new job: https://github.com/rhyslbw/cardano-ogmios/actions/runs/718453796 (To trigger this test I specified the branch, but have since pushed over that commit to restore the original triggers)
I suggest we rename the build
job for clarity. Maybe haskell
?
https://github.com/KtorZ/cardano-ogmios/blob/b3eb7596661be2a5d013a321f0dc8fbec781d492/.github/workflows/continuous-integration.yaml#L11
Nice! What do you think about:
So that it reflects the repository folder organization.
I like that idea. Will implement
Describe your idea, in simple words.
Ogmios is quite good for rapid testing. With only a few lines of JavaScript, it's easy to send request to a node. However, one has to always write some boilerplate to setup the websocket connection, serialize WSP requests, parse JSON results etc ... It'd be quite amazing if one could simply starts a REPL and interact with Ogmios by sending request directly. Behind the scene, the REPL would handle passing messages around. The REPL could even define a few useful helpers to send messages in batches.
Why is it a good idea?
This would reduce even further the entry barrier to Ogmios and Cardano. Interact with the Cardano blockchain would be as easy as starting the REPL and typing commands.
Are you willing to work on it yourself?
Yes.