All Questions
9 questions
2
votes
0
answers
165
views
Is it possible to sign a transaction using eth_sign?
I am trying to sign a transaction, but not submit it. That would be possible using eth_signTransaction, but Metamask doesn't support it yet. I heard that it would be possible to sign a transaction ...
0
votes
0
answers
511
views
Is it safe to sign messages with Personal Sign or can you hide a transaction in the message?
I am wondering if it is safe to sign any message with Personal Sign? Can't a malicious dapp try to hide a transaction inside the message I am signing and then use my signature to make that transaction?...
1
vote
0
answers
76
views
How are transactions signed when using web3js with Infura?
So far so good, all the examples I have seen online using infura are only code examples where the blockchain is queried. I have not seen one where transactions is actually sent to the blockchain.
...
7
votes
2
answers
9k
views
How to sign transaction using web3.js via metamask
I'm trying to make a signed transaction in browser with web3 injected from metamask and send the transaction to my backend-server and then submit it to blockchain.
However, it's hard to find how I can ...
0
votes
0
answers
196
views
Providing "v" "r" and "s" values as parameters for a method
So I am trying to use a method directly on etherscan.io (using "Write Contract" on the contract whose method I am trying to use) and it asks me for some parameters. Some of the parameters ...
1
vote
2
answers
887
views
Offline creation of signed contract transactions with web3js v1.2.11
I'm attempting to sign a contract transaction offline using web3js v1.2.11.
signingAddr = //my eth address
signingPk = //my private key
// docs: The options object for the contract instance. from, ...
2
votes
1
answer
2k
views
What is the equivalent of "buildTransaction" of web3Py in web3JS?
I'm using Node to interact with my smart contract. I understand that I need to first sign my transaction before sending it.
In one of the StackExchange answers I see that it can be done using ...
2
votes
1
answer
480
views
How to retrieve transaction hash value from the Promise object using web3js?
I'm trying to retrieve the transaction hash value after I call my smart contract method.
My Promise object looks like below.
returnPromise:
Promise { "pending" }
<state>: "...
1
vote
1
answer
501
views
Why doesn't my contract call create a new transaction in my ganache transaction section?
goes easy on me because I'm quite new to all of this stuff.
So I've created a function which signs my transaction using web3js library and looks like this:
signTx = async () => {
const { ...