1

I'm making a Dapp for users who don't have a wallet installed and have no ETH address. I would like users to use my account for all transactions.

I'd like to sign my transactions with the contract owner address using his private key.

But I can't find a way to doing that. Please gimme some help

I'm using [email protected] (web3.js) For the moment, my contract is deployed throw the Ropsten Testnet

4
  • Your title and description seems to be conflicting. Do you want to develop a DApp without a wallet like MetaMask installed in browser. Is that correct?
    – Chim
    Commented Jan 15, 2018 at 12:13
  • Hum, I have an ETH account because I'm the contract creator, but the future users won't have ones. Commented Jan 15, 2018 at 12:18
  • You need an ETH account to interact with Ethereum, so I'm not sure how your future users would use your DApp
    – Chim
    Commented Jan 15, 2018 at 12:21
  • Ok, like they don't have accounts, my aim is to make transactions with my account and so to pay fees for them, do you understand? It's for a little company, not a public market Commented Jan 15, 2018 at 12:48

1 Answer 1

2

You have to use sendRawTransaction method for all messages. That require you to sign every message with senders private key (in your case contract owners) and does not depend on any installed wallets. You could use web3js-raw to make this process easy and sample using this can be found here.

1
  • I try and feedback ty :) Commented Jan 15, 2018 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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