how can i make dapp work on regular browsers?

779 Views Asked by At

I am trying to work on a dapp using Ethereum that works well for the normal end user (works on regular browsers like Ethereum without Metamask), is there a way to do that?. and how did https://stampd.io did it?

Thanks

2

There are 2 best solutions below

0
On BEST ANSWER

MetaMask, or Mist, or a similar DApp browser is required to interact with DApps. Without access to your Ethereum wallet, web3.js library that is used in all DApps, won't be able to connect to Ethereum network and receive or send information.

In case of https://stampd.io, they're taking payments by PayPal, so they're processing Ethereum transactions internally. This looks a little scammy to me, because it undermines the integrity and openness provided for free by Ethereum:

Pay with PayPal on Stampd

0
On

I've recently came across https://fortmatic.com

Seems to be a replacement for MetaMask that's compatible with web3 (your dapp would still work if it already works with MetaMask). Been testing it extensively and seems like it currently work with some web3 methods:

  • web3.eth.sendTransaction
  • web3.eth.getAccounts
  • web3.eth.getCoinbase
  • sendAsync personal_sign
  • sendAsync eth_signTypedData

The modal interface is clean and it's relatively easy to get on-boarded with their docs.