7

I'm familiar with using the Plutus Playground and Plutus TraceEmulator library to configure the wallet actions for the endpoints of a smart contract. These simulators are great for testing the smart contract interactions.

I'd like to understand how a real-world DApp would integrate with user wallets. If the DApp front-end is a web-app running in the browser, would the app require users to set up something like a MetaMask plugin to link their wallets and give permission to the DApp to submit operations from their wallet? Is there another way to let user grant access to a wallet node? In general, how does the DApp front-end get access to user wallets and will the DApp front-end need to be deployed on the same machine as the wallet is running?

2
  • If you've found an answer to this, please post it. I'll be looking into it too soon.
    – marcel_g
    Oct 25 at 7:19
  • @marcel_g, no, not yet. I'd like to build a simple example of using a wallet connector, but have some server-side exploration work planned next. Pls let me know, what wallet connectors you try and how it goes. Oct 31 at 9:05
4

Good question, this is one that many people are curious about as the only real way to interact with the Cardano blockchain is through cardano-node, but obviously a dApp user visiting a website isn't going to run their own node to submit transactions and interact with smart contracts themselves.

In my view, Yoroi looks best positioned at the moment to become the MetaMask of Cardano but as always, look into things for yourself and determine the best solution for your particular use-case.

https://www.emurgo.io/blog/emurgo-launches-beta-version-of-yoroi-wallet-dapp-connector

As you can see dApp Browser integration is slated for sometime 2021, I think this is the direction you should look. Also worthy of looking into is the ATALA Prism which also seeks to provide DIDs (Digital Identities) on the cardano blockchain and I'm assuming will at some point try and provide some dApp connector solution for the browser.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.