Questions tagged [sendsignedtransaction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

How to get events emited in my contract?

I have my contract that emits events (it works on Etherscan and in my preview release using truffle) In my deployed smart contract. ... function getVincitore () public returns (string memory, string ...
0
votes
2answers
44 views

How to get transaction hash without waiting for await call?

for my demo I need the transaction hash instantly without waiting for callback of sync call. Here my code: aggiungiAllaBlockChain: async(u,n,c,e) => { try { const web3 = new Web3(App....
0
votes
1answer
13 views

How can the contract move funds from a user wallet to a contract address

We are creating a system where every month some ethers shall be transferred from user wallet to a contract wallet. We are focusing on creating a dapp too, so a user will initiate this request and once ...
1
vote
1answer
32 views

Automatically register number into Kovan test net with signed transaction (Infura API + NodeJS)

I have a very simple Smart Contract deployed using remix.ethereum which is: pragma solidity ^ 0.6.0; contract primerContrato { uint storeddata; function set(uint x) public{ storeddata = x; } ...
2
votes
2answers
114 views

web3.eth.sendSignedTransaction is not returning promise or promised event emiter

I am testing whether transactions that I'm signing offline are accepted by the Kovan network. I'm submitting the transactions using Web3.js (web3@1.20) as follows: I connect to my Open Ethereum 3.0.1 ...
1
vote
1answer
53 views

How to send signed transaction to blockchain from different account

I have user's private key to sign a erc20-token transfer transaction in my DAPP. Now I want to send this transaction from different account so that 2nd account pay the gas fee. Is it possible through ...
1
vote
0answers
28 views

In Web3, why is simply signing transactions with private key more secure than unlocking the account and using sendTransaction?

In Can anybody Point out the Difference between Web3.eth.sendTransaction and web3.eth.signTransaction?, the author of https://ethereum.stackexchange.com/a/73705/61096 mentions how unlocking an account ...
0
votes
1answer
149 views

web3js: Can I send a signed Transaction without wait the result?

Commonly, I dow const receipt = await web3.eth.sendSignedTransaction(web3, signed_transaction); console.log("tx_hash:", receipt.transactionHash); console.log("gas_used:", receipt.gasUsed); console....