user5765: I'm trying to build a possible DApp infrastructure on Cardano in my head.
We should write the validation script in Haskell. Also as I understand, it is suggested to use Haskell for the off-chain code that will generate/spend UTXOs.
Okay.
We have as called "endpoints" - special Monads that can connect real wallets to the DApp.
I guess these "endpoints" could be brought into the DApp frontend somehow.
Yes?
But I still cannot understand how to connect these "endpoints" to the real users' wallets? So far we have examples with test wallets.
And is it feasible to build all necessary off-chain parts in Haskell or nobody really does it? If not, how it is supposed to be done? I mean to be connected to the real users' wallets, build and submit or spend UTXOs?
Probably the PAB aims to solve this, but it is not ready yet.
What is the real state of the art now for me as a developer?
These posts are relevant, but it looks like no solution today:
How does DApp front-end integrate with user wallets?
How to connect wallet with my dapps using yoroi dapp connector.?
How does a Cardano DApp client authorize a payment?

user6196: Here is an example using the cardano-serialization-lib and ReactJs. I had a lot of the same questions until I decided to work through an example eventually created a gitrepo
Cardano-serialization-lib is the way to go if you want to write focus on Plutus On Chain code (and do as little as possible, or none Plutus off chain code)
https://github.com/dynamicstrategies/cardano-wallet-connector
A working demo is here:
https://dynamicstrategies.io/wconnector

5765: <p>I'm trying to build a possible DApp infrastructure on Cardano in my head.</p>
<p>We should write the validation script in Haskell. Also as I understand, it is suggested to use Haskell for the off-chain code that will generate/spend UTXOs.</p>
<p>Okay.</p>
<p>We have as called &quot;endpoints&quot; - special Monads that can connect real wallets to the DApp.
I guess these &quot;endpoints&quot; could be brought into the DApp frontend somehow.
Yes?</p>
<p>But I still cannot understand how to connect these &quot;endpoints&quot; to the real users' wallets? So far we have examples with test wallets.</p>
<p>And is it feasible to build all necessary off-chain parts in Haskell or nobody really does it? If not, how it is supposed to be done? I mean to be connected to the real users' wallets, build and submit or spend UTXOs?</p>
<p>Probably the PAB aims to solve this, but it is not ready yet.
What is the real state of the art now for me as a developer?</p>
<p>These posts are relevant, but it looks like no solution today:</p>
<p><a href="https://cardano.stackexchange.com/questions/2115/how-does-dapp-front-end-integrate-with-user-wallets?rq=1">How does DApp front-end integrate with user wallets?</a></p>
<p><a href="https://cardano.stackexchange.com/questions/4423/how-to-connect-wallet-with-my-dapps-using-yoroi-dapp-connector?rq=1">How to connect wallet with my dapps using yoroi dapp connector.?</a></p>
<p><a href="https://cardano.stackexchange.com/questions/6617/how-does-a-cardano-dapp-client-authorize-a-payment?rq=1">How does a Cardano DApp client authorize a payment?</a></p>
 6196: <p>Here is an example using the cardano-serialization-lib and ReactJs. I had a lot of the same questions until I decided to work through an example eventually created a gitrepo</p>
<p>Cardano-serialization-lib is the way to go if you want to write focus on Plutus On Chain code (and do as little as possible, or none Plutus off chain code)</p>
<p><a href="https://github.com/dynamicstrategies/cardano-wallet-connector" rel="nofollow noreferrer">https://github.com/dynamicstrategies/cardano-wallet-connector</a></p>
<p>A working demo is here:</p>
<p><a href="https://dynamicstrategies.io/wconnector" rel="nofollow noreferrer">https://dynamicstrategies.io/wconnector</a></p>
