I want to sign every transaction server side from the same address/wallet through web3.
What's the best way to tackle this? Do I need to:
- first use
web3.eth.signto sign the transaction?
Cheers and happe new year!
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
If you want to just send the transaction immediately,
web3.eth.sendTransaction is all you need (or just call a method on a contract or whatever you're doing).
If you want to sign the transaction in advance but not yet submit it to the network, you can use