Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct connection #90

Open
samuelWilliams99 opened this issue Apr 7, 2022 · 0 comments
Open

Direct connection #90

samuelWilliams99 opened this issue Apr 7, 2022 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@samuelWilliams99
Copy link
Contributor

samuelWilliams99 commented Apr 7, 2022

Currently, we mostly use this project to deploy a pab for a bot, and have the bot only call said pab on the same machine.
I propose some way of having a haskell bot interact with the project directly, rather than risking http access externally.
Bots usually just need a way to run a contract, and see state changes. We could model this as some sort of runContract :: PABConfig -> Contract w s e a -> (StateChange -> IO ()) -> IO () passing a state handler in.

@gege251 Thoughts?

@samuelWilliams99 samuelWilliams99 added enhancement New feature or request question Further information is requested labels Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant