Linked Questions

0 votes
2 answers
1k views

How to sign a transaction automatically? [duplicate]

An api will call the smart contract function. It should sign the transaction on its own instead of human intervention. I think raw transaction can work here. Are there any other options? Any help is ...
Shubham Chadokar's user avatar
0 votes
2 answers
1k views

how to call deployed smartcontract with sendRawTransaction [duplicate]

with this code i want to call my token smartcontract's transfer function. as per my knowledge i have to add this ".transfer(address,amount)" to data field. am i correct? also i am using web3 0.20. in ...
Akshay Pilankar's user avatar
0 votes
2 answers
81 views

how to call smartcontract with eth.sendRawTranasction() [duplicate]

i want to call my erc20 token smartcontract with eth.raw transaction. suppose i want to call .transfer("0x0",500) and send with web3.eth.rawTranscation so where can i add this call function? rawTx : {...
Akshay Pilankar's user avatar
20 votes
5 answers
7k views

Is there any safe way to send money from a cold wallet, using an untrusted computer?

You have 2 computers. One is 100% offline and, thus, trusted. Other is online. Private keys are stored on the offline computer and the online computer has no access to it. Is there any way to sign a ...
MaiaVictor's user avatar
  • 3,177
16 votes
5 answers
9k views

Using web3 to sign a transaction without connecting to geth

Is it possible to use the web3.js library in a client's browser to let them generate an address and sign a transaction without them connecting to an ethereum node?
Max's user avatar
  • 171
14 votes
2 answers
6k views

How can I sign a transaction using c#?

I want to create a signed transaction using C#, which will later be used by Nethereum via JSON-RPC to call eth_sendRawTransaction. I have the raw transaction and the private key, now how do I sign ...
Ori Marron's user avatar
6 votes
3 answers
10k views

Signing a raw transaction in Go

I need to sign an offline transaction in golang. I have the following, which is a slight modification of this answer to a similar question: import "github.com/ethereum/go-ethereum/core/types" import "...
ethereum_alex's user avatar
3 votes
1 answer
7k views

How to use sendrawtransaction properly [duplicate]

web3 = Web3(Web3.HTTPProvider("https://mainnet.infura.io/root@123", request_kwargs={'timeout': 60})) when I used this then sendTransaction is not working . I have to use sendRawTransaction . I want ...
Tushar Subhra Bose's user avatar
4 votes
1 answer
6k views

My geth node is taking ages to sync, can I still send ether?

It looks like I have to sync my blockchain at least until the block when my account was funded. Because as of right now the balance for my address is still zero. I'm runnig geth version 1.4.4-stable-...
Bilthon's user avatar
  • 277
4 votes
2 answers
3k views

How to unlockAccount account using private key instead of password

I am working with https://github.com/ethereum/wiki/wiki/JSON-RPC api + curl . And implementing custom api using this php library: https://github.com/Achse/geth-jsonrpc-php-client below method is ...
Yogesh Karodiya's user avatar
3 votes
2 answers
4k views

Please provide PHP example for eth_sendRawTransaction

I wish to have a PHP script use Infura's endpoint to call eth_sendRawTransaction. I have a PHP script which uses curl to call functions through Infura's endpoint, like eth_getBalance. I use ...
Tester's user avatar
  • 313
6 votes
2 answers
1k views

Broadcast another account's signed transaction to the Ethereum Network

Is there a way to broadcast another account's transaction to the Ethereum network using Geth? This question really won't make sense unless I describe my set-up. 1) Device A has a private key. It ...
nick carraway's user avatar
1 vote
3 answers
879 views

How could I write "sendrawtransaction" in Python?

Since I am using web3 = Web3(HTTPProvider('https://mainnet.infura.io/root@123')) That's why I have to use sendrawtransaction for ether transaction . Now what is the process of write ...
Tushar Subhra Bose's user avatar
1 vote
1 answer
974 views

How to sign offline with geth?

I have installed geth on an offline-computer and created a account with ./geth account new. Than I have copied (USB-Stick) the resulting file from the offline-computers keystore/ to an online-computer,...
lanti's user avatar
  • 163
4 votes
2 answers
711 views

Sign transaction on ARM microcontroller

Is it possible to sign transaction on ARM Microcontroller and then somehow broadcast it? I have read about ethereumjs-tx, but how to implement it without any OS on board? UDPADE: I have found how to ...
aleebek's user avatar
  • 127

15 30 50 per page